How to install Minio and configure on Ubuntu 21.04

To Install Minio and Configure on Ubuntu 21.04

Introduction:

Minio is open-source object storage that performs at a higher rate and it is usually written in Go. The primitive purpose of minio is to store unstructured data and is designed to be minimal and scalable. It is also compatible with Amazon S3 and best suited for evaluation.

Installation Procedure:

Step1: Checking the OS version

linuxhelp@linuxhelp:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 21.04
Release:	21.04
Codename:	hirsute

Step2: Log in as root user by using following command

linuxhelp@linuxhelp:~$ sudo -s
[sudo] password for linuxhelp: 

Step3: Changing to the Home directory by using following command

root@linuxhelp:/home/linuxhelp# cd ~

Step4: Downloading the Minio by using following link

root@linuxhelp:~# wget https://dl.minio.io/server/minio/release/linux-amd64/minio
--2021-10-20 22:38:41--  https://dl.minio.io/server/minio/release/linux-amd64/minio
Resolving dl.minio.io (dl.minio.io)... 178.128.69.202
Connecting to dl.minio.io (dl.minio.io)|178.128.69.202|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 91947008 (88M) [application/octet-stream]
Saving to: ‘minio’

minio                            100%[==========================================================>]  87.69M  2.77MB/s    in 3m 4s   

2021-10-20 22:41:46 (488 KB/s) - ‘minio’ saved [91947008/91947008]

Step5: Long listing the downloaded files

root@linuxhelp:~# ls -la
total 89824
drwx------  4 root root     4096 Oct 20 22:38 .
drwxr-xr-x 20 root root     4096 Sep  8 16:50 ..
-rw-------  1 root root      687 Oct 20 22:11 .bash_history
-rw-r--r--  1 root root     3106 Aug 15  2019 .bashrc
drwx------  2 root root     4096 Apr 20  2021 .cache
-rw-r--r--  1 root root 91947008 Oct 13 06:06 minio
-rw-r--r--  1 root root      161 Sep 16  2020 .profile
drwxr-xr-x  3 root root     4096 Sep  8 17:00 snap
-rw-r--r--  1 root root       17 Oct 20 22:11 .vimrc

Step6: Giving the execution permission for Minio file

root@linuxhelp:~# chmod +x minio

Step7 : Long listing to view the permissions

root@linuxhelp:~# ls -la
total 89824
drwx------  4 root root     4096 Oct 20 22:38 .
drwxr-xr-x 20 root root     4096 Sep  8 16:50 ..
-rw-------  1 root root      687 Oct 20 22:11 .bash_history
-rw-r--r--  1 root root     3106 Aug 15  2019 .bashrc
drwx------  2 root root     4096 Apr 20  2021 .cache
-rwxr-xr-x  1 root root 91947008 Oct 13 06:06 minio
-rw-r--r--  1 root root      161 Sep 16  2020 .profile
drwxr-xr-x  3 root root     4096 Sep  8 17:00 snap
-rw-r--r--  1 root root       17 Oct 20 22:11 .vimrc

Step8: Installing the Minio by using following commands

root@linuxhelp:~# ./minio server /minio
API: http://192.168.6.117:9000  http://127.0.0.1:9000     
RootUser: minioadmin
RootPass: minioadmin
Console: http://192.168.6.117:39261 http://127.0.0.1:39261   
RootUser: minioadmin
RootPass: minioadmin
Command-line: https://docs.min.io/docs/minio-client-quickstart-guide
   $ mc alias set myminio http://192.168.6.117:9000 minioadminminioadmin

Documentation: https://docs.min.io

WARNING: Console endpoint is listening on a dynamic port (39261), please use --console-address ":PORT" to choose a static port.
WARNING: Detected default credentials 'minioadmin:minioadmin', we recommend that you change these values with 'MINIO_ROOT_USER' and 'MINIO_ROOT_PASSWORD' environment variables

Step9: Access Minio Login page by using IP address with phone number

Step10: Minio Dashboard Page

With this minio installation on ubuntu 21.04 comes to end.

FAQ
Q
What is the usage of Minio Client SDK?
A
It's major purpose is to execute bucket and object operations that is available to any of the Amazon S3 compatible cloud storage service.
Q
What is the use of Minio Client?
A
The alternate source of UNIX commands is been provided and it also holds up the file system and Amazon S3 compatible cloud storage service.
Q
What are the components of the Minio Storage stack?
A
Minio storage stacks have three components, which are MinIO Server, MinIO Client, and MinIO Client SDK
Q
What is the use of Deploying Minio on Kubernetes?
A
Minio usually performs at a high rate and while deploying on Kubernetes it provides a cloud-native environment.
Q
What is mean by Minio?
A
Minio is an open-source object storage server, which has the fastest serves that perform high and it is widely used to store unstructured data.