How To Install MINIO On Centos 7.6
Installation OF MINIO On Centos 7.6
Installation Process
Download the minio using the following command
[root@linuxhelp ~]# wget https://dl.minio.io/server/minio/release/linux-amd64/minio
--2019-11-23 05:41:11-- 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: 43855872 (42M) [application/octet-stream]
Saving to: ‘minio’
100%[===========================================================>] 43,855,872 282KB/s in 2m 12s
2019-11-23 05:43:24 (325 KB/s) - ‘minio’ saved [43855872/43855872]
Set the permission for minio
[root@linuxhelp ~]# chmod -R 777 minio
Set the ownership for minio
[root@linuxhelp ~]# chown -R root:root minio
Move the minio to the following directory
[root@linuxhelp ~]# mv minio /usr/local/bin
Create a user for minio
[root@linuxhelp ~]# adduser minio-user
Create a directory
[root@linuxhelp ~]# mkdir /tmp/minio
Set the ownership for the minio directory
[root@linuxhelp ~]# chown -R minio-user:minio-user /tmp/minio/
Configure the minio
[root@linuxhelp ~]# vim /etc/default/minio
MINIO_VOLUMES="/tmp/minio/"
MINIO_OPTS="—address 192.168.7.228 :9000"
Configure the minio service enter into following directory
[root@linuxhelp ~]# cd /etc/systemd/system
[root@linuxhelp system]# vim minio.service
[Unit]
Description=Minio
Documentation=https://docs.minio.io
Wants=network-online.target
After=network-online.target
AssertFileIsExecutable=/usr/local/bin/minio
[Service]
WorkingDirectory=/usr/local/
User=minio-user
Group=minio-user
PermissionsStartOnly=true
EnvironmentFile=-/etc/default/minio
ExecStartPre=/bin/bash -c "[ -n \"${MINIO_VOLUMES}\" ] || echo \"Variable MINIO_VOLUMES not set in /etc/default/minio\""
ExecStart=/usr/local/bin/minio server $MINIO_OPTS $MINIO_VOLUMES
StandardOutput=journal
StandardError=inherit
#Specifies the maximum file descriptor number that can be opened by this process
LimitNOFILE=65536
#Disable timeout logic and wait until process is stopped
TimeoutStopSec=0
#SIGTERM signal is used to stop Minio
KillSignal=SIGTERM
SendSIGKILL=no
SuccessExitStatus=0
[Install]
WantedBy=multi-user.target
Now start the minio service
[root@linuxhelp system]# systemctl start minio.service
Enable the minio service
[root@linuxhelp system]# systemctl enable minio.service
Created symlink from /etc/systemd/system/multi-user.target.wants/minio.service to /etc/systemd/system/minio.service.
Open the browser and Enter the ip and port number
[root@linuxhelp system]# cd /tmp/minio/.minio.sys/config/
[root@linuxhelp config]# ls -la
total 4
drwxr-xr-x 3 minio-user minio-user 36 Nov 23 05:47 .
drwxr-xr-x 5 minio-user minio-user 67 Nov 23 05:47 ..
-rw-r--r-- 1 minio-user minio-user 3750 Nov 23 05:47 config.json
drwxr-xr-x 2 minio-user minio-user 25 Nov 23 05:47 iam
View the config.json You will get the key for minio
[root@linuxhelp config]# vim config.json
This Is the method to install minio on centos 7.6 and the tutorial comes to an end here
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. The following sections provide a detailed explanation of each field and how to customize them.
Q
What is the s3 bucket?
A
An Amazon S3 bucket is a public cloud storage resource available in Amazon Web Services' (AWS) Simple Storage Service (S3), an object storage offering. Amazon S3 buckets, which are similar to file folders, store objects, which consist of data and its descriptive metadata.
Q
How to give the executable permission for Minio file?
A
By using the following command:
# chmod +x minio
# chmod +x minio
Q
What are the features of Minio?
A
The features of Minio are as follows,
Amazon S3 Compatible
Data Protection
Highly Available
Lambda Compute
Amazon S3 Compatible
Data Protection
Highly Available
Lambda Compute
Q
What is minio server?
A
Minio is an object storage server released under Apache License v2.0. It is compatible with Amazon S3 cloud storage service. It is best suited for storing unstructured data such as photos, videos, log files, backups and container / VM images.