How To Install Minio Server on CentOS 7

To Install Minio Server on CentOS 7

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 so simple to install Minio Server on CentOS 7


Installing Minio Server

It is really essential to download the latest and stable installation package for Minio server.

[root@linuxhelp opt]# wget https://dl.minio.io/server/minio/release/linux-amd64/minio
--2017-12-12 06:24:05--  https://dl.minio.io/server/minio/release/linux-amd64/minio
Resolving dl.minio.io (dl.minio.io)... 162.243.132.171
Connecting to dl.minio.io (dl.minio.io)|162.243.132.171|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21919008 (21M) [application/octet-stream]
Saving to: ‘ minio’ 

100%[======================================> ] 2,19,19,008  915KB/s   in 29s    

2017-12-12 06:24:35 (744 KB/s) - ‘ minio’  saved [21919008/21919008]

Once it is done, you need to give execute permission to the downloaded package, and for that you need to run the following command.

[root@linuxhelp opt]# chmod +x minio


You can now execute minio server using following command. You will get the AcessKey and SecretKey in the output.

[root@linuxhelp opt]# ./minio server /mnt/data
Created minio configuration file successfully at /root/.minio
Endpoint:  http://192.168.7.239:9000  http://127.0.0.1:9000
AccessKey: VBD9VRC73LFFZSU4LNR0 
SecretKey: ady1PrY3NVGHV9Vg4ofhUo718uavnCWtR7+5JrIl 

Browser Access:
   http://192.168.7.239:9000  http://127.0.0.1:9000

Command-line Access: https://docs.minio.io/docs/minio-client-quickstart-guide
   $ mc config host add myminio http://192.168.7.239:9000 VBD9VRC73LFFZSU4LNR0 ady1PrY3NVGHV9Vg4ofhUo718uavnCWtR7+5JrIl

Object API (Amazon S3 compatible):
   Go:         https://docs.minio.io/docs/golang-client-quickstart-guide
   Java:       https://docs.minio.io/docs/java-client-quickstart-guide
   Python:     https://docs.minio.io/docs/python-client-quickstart-guide
   JavaScript: https://docs.minio.io/docs/javascript-client-quickstart-guide
   .NET:       https://docs.minio.io/docs/dotnet-client-quickstart-guide

Drive Capacity: 14 GiB Free, 18 GiB Total

Once it is done, you shall open your browser and give url as http://localhost:9000, the Minio browser now appears. It will ask access and secret key, give them and click enter.

Minio browser


With this the installation of Minio server on CentOS comes to an end.


Tag : CentOS
FAQ
Q
What is Minio Server logg?
A
Minio server stored all its configuration data in ${HOME}/.minio/config.json file by default.For all releases beyond minio.RELEASE.2017-08-05T00-00-53Z, the configuration data will be migrated to the Minio's backend directory. All configuration changes can be made using mc admin config get/set commands. Following sections provide a detailed explanation of each field and how to customize them.
Q
How To download Minio Server package on CentOS?
A
Execute the following command:
# wget https://dl.minio.io/server/minio/release/linux-amd64/minio
Q
What is Minio Server?
A
To Install Minio Server on CentOS 7
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.
Q
How to give the execute permission for Minio Server?
A
Use the following command:
# chmod +x minio
Q
What are the minio server requirements?
A
You'll need a minimum of (n/2 + 1) Quorum disks to create new objects though. For example, an 8-node distributed Minio setup with 1 disk per node would continue serving files, even if up to 4 disks are offline. But, you'll need at least 5 disks online to create new objects.