You are on page 1of 4

MinIO Installation on RHEL

Requirements:-

1. Port 9000, 9001 should be allowed on firewall

Download and Install the MinIO Server rpm file


MinIO rpm can be downloaded from the below mentioned link.

https://dl.min.io/server/minio/release/linux-amd64/archive/minio-20240101163633.0.0-1.x86_64.rpm

# wget https://dl.min.io/server/minio/release/linux-amd64/archive/minio-20240101163633.0.0-1.x86_64.rpm

Install the rpm using command rpm -ivh

# rpm -ivh minio-20240101163633.0.0-1.x86_64.rpm

Check the systemd Service file

Check this file /usr/lib/systemd/system/minio.service


The minio.service file runs as the minio-user User and Group by default.
To create the user and group run the following commands
# groupadd -r minio-user
# useradd -M -r -g minio-user minio-user

Create a directory which will be used as Minio volume.


# mkdir /minio-data

# chown -R minio-user:minio-user /minio-data/

# vi /usr/lib/systemd/system/minio.service
Create the Environment Variable File

Create an environment variable file /etc/default/minio.

Replace the default username and password.

Here we have provided - admin/Dev0p$@dm1n

Start the MinIO Service

# systemctl start minio.service


# systemctl status minio.service
S3-API: http://192.168.31.87:9000 http://192.168.122.1:9000 http://127.0.0.1:9000

Console: http://192.168.31.87:37949 http://192.168.122.1:37949 http://127.0.0.1:37949

Access the Minio Console from any Browser

http://192.168.31.87:9000
Now we will create a bucket named as ‘test’ by clicking on ‘Create a Bucket’

Test bucket is created as shown below.

Now let’s verify, the test directory is automatically created on the server under location /mnt/data
which is defined as MinIO volume.

You might also like