A few days back, I posted a post about – how to deploy a minio single node on Linux and take Kubernetes backup using Velero and minio.

Manually deploy Single node Minio on Linux – https://kdinesh.in/minio/

Kubernetes backup using Velero and minio – https://kdinesh.in/k8sbackup/

Deployment Requirements : – OS – CentOS/RHEL or Ubuntu, One Raw disk for Minio, Internet access.

I am using Centos Stream9. I deployed it on vSphere. Attached is an additional disk(sdb) for minio.

Install Git.

Centos/RHEL – $ dnf install git -y

Ubuntu – $ apt install git -y

Clone Git Repo – https://github.com/Dineshk1205/minio

$ git clone https://github.com/Dineshk1205/minio

Switch to minio directory – $ cd minio/

Assign Execute permission to minio.sh file – $ chmod +x minio.sh

Run File – $ ./minio.sh (Note :- run script as a root user .Mounting a new disk/device required root privileges)

Enter Raw Drive/Disk name – /dev/sdb (Please refer 1st screenshot; the device name is /dev/sdb. Use the lsblk command to check the device/disk name). After entering the disk name, press TAB, select ok, and press Enter.

Enter the MinIO root user name (Used for UI login). After entering the user name, press TAB, select ok, and press Enter.

Enter the MinIO root user Password. After entering the Password, press TAB, select ok, and press Enter.

Deployed start. It may take approx. 5 to 10 minutes (Based on your environment, time may vary)

Once the deployment is completed, you get MINIO deployment completed information on the screen. You can access the MinIO dashboard using the URL – http://IP/FQDN:9000

Login Using the MinIO root username and password.

Click on the Create a Bucket option.

Enter Bucket name (EX: Openstack). Click on the Create Bucket option.

Go to the Access Keys Section and click the Create Access Key option.

Enter the Access Key name, and the secret key is automatically generated (you can also create your secret key). Click on the Create option.

You can download the Access Key.