How to Install MinIO on Ubuntu 22.04

To Install Minio On Ubuntu 22.04

Introduction

The MinIO object storage system is a free and open-source solution that runs on industry-standard hardware and offers high performance.

Procedure

Step 1: Check the OS version by using the below command

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:    22.04
Codename:    jammy

Step 2: Download the package by using wget command

root@linuxhelp:~# wget https://dl.minio.io/server/minio/release/linux-amd64/minio
--2023-07-08 21:52:28--  https://dl.minio.io/server/minio/release/linux-amd64/minio
Resolving dl.minio.io (dl.minio.io)... 138.68.11.125, 178.128.69.202
Connecting to dl.minio.io (dl.minio.io)|138.68.11.125|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 99635200 (95M) [application/octet-stream]
Saving to: ‘minio’

minio                     100%[=====================================>]  95.02M  2.05MB/s    in 90s     
2023-07-08 21:53:59 (1.05 MB/s) - ‘minio’ saved [99635200/99635200]

Step 3: List the files by using the below command

root@linuxhelp:~# ll
total 97344
drwx------  4 root root     4096 Jul  8 21:52 ./
drwxr-xr-x 20 root root     4096 Jul  8 00:13 ../
-rw-------  1 root root       53 Jul  7 19:34 .bash_history
-rw-r--r--  1 root root     3106 Oct 15  2021 .bashrc
drwx------  2 root root     4096 Jul  7 19:52 .cache/
-rw-------  1 root root       20 Jul  7 19:58 .lesshst
-rw-r--r--  1 root root 99635200 Jul  7 12:58 minio
-rw-r--r--  1 root root      161 Jul  9  2019 .profile
drwx------  5 root root     4096 Jul  8 00:22 snap/
-rw-------  1 root root     1313 Jul  7 19:52 .viminfo
-rw-------  1 root root      110 Jul  7 19:54 .Xauthority

Step 4: Change the permission of the downloaded file by using the below command

root@linuxhelp:~# chmod +x minio
root@linuxhelp:~# ll
total 97344
drwx------  4 root root     4096 Jul  8 21:52 ./
drwxr-xr-x 20 root root     4096 Jul  8 00:13 ../
-rw-------  1 root root       53 Jul  7 19:34 .bash_history
-rw-r--r--  1 root root     3106 Oct 15  2021 .bashrc
drwx------  2 root root     4096 Jul  7 19:52 .cache/
-rw-------  1 root root       20 Jul  7 19:58 .lesshst
-rwxr-xr-x  1 root root 99635200 Jul  7 12:58 minio*
-rw-r--r--  1 root root      161 Jul  9  2019 .profile
drwx------  5 root root     4096 Jul  8 00:22 snap/
-rw-------  1 root root     1313 Jul  7 19:52 .viminfo
-rw-------  1 root root      110 Jul  7 19:54 .Xauthority

Step 5: Install minIO by running the below script

root@linuxhelp:~# ./minio server /minioap
Formatting 1st pool, 1 set(s), 1 drives per set.
WARNING: Host local has more than 0 drives of set. A host failure will result in data becoming unavailable.
WARNING: Detected default credentials 'minioadmin:minioadmin', we recommend that you change these values with 'MINIO_ROOT_USER' and 'MINIO_ROOT_PASSWORD' environment variables
MinIO Object Storage Server
Copyright: 2015-2023 MinIO, Inc.
License: GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>
Version: RELEASE.2023-07-07T07-13-57Z (go1.19.10 linux/amd64)
Status:         1 Online, 0 Offline.
S3-API: http://192.168.6.113:9000  http://127.0.0.1:9000     
RootUser: minioadmin
RootPass: minioadmin
Console: http://192.168.6.113:33157 http://127.0.0.1:33157   
RootUser: minioadmin
RootPass: minioadmin
Command-line: https://min.io/docs/minio/linux/reference/minio-mc.html#quickstart
   $ mc alias set myminio http://192.168.6.113:9000 minioadmin minioadmin
Documentation: https://min.io/docs/minio/linux/index.html
Warning: The standard parity is set to 0. This can lead to data loss.

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to Install Minio on Ubuntu 22.04 . Your feedback is much welcome.

FAQ
Q
Is Object name restrictions on MinIO?
A
Object names that contain characters `^*|" are unsupported on Windows and other file systems which do not support filenames with these characters.
Q
List of Amazon S3 Object API's not supported on MinIO?
A
ObjectACL (Use bucket policies instead)
ObjectTorrent
ObjectVersions
Q
How to give the executable permission for MinIO file?
A
By using the following command:
# chmod +x minio
Q
What is MinIO Server on Ubuntu?
A
MinIO is a cloud storage server released under Apache License v2, compatible with Amazon S3. MinIO is best suited for storing unstructured data such as photos, videos, log files, backups and container / VM images. Size of an object can range from a few KBs to a maximum of 5TB. It is really so simple to install MinIO Server on Ubuntu 16.04.
Q
How to download the MinIO Server on Ubuntu?
A
use of the wget command:
# wget https://dl.minio.io/server/minio/release/linux-amd64/minio