Linux

MinIO Single Node Singe Disk Deployment on Linux (CentOS/RHEL or Ubuntu) Using a Script

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.

Dineshreddy Kayithi

Rooted in a solid academic foundation with a Bachelor's Degree in Information Technology, my career has been deeply entrenched in designing, deploying, and managing enterprise-grade infrastructure across virtualization, cloud-native, and containerized environments. Industry certifications from VMware, AWS, Microsoft, and Kubernetes validate my hands-on expertise in architecting scalable, resilient systems spanning hypervisors, public/hybrid cloud platforms, and container orchestration frameworks. I'm driven by a relentless pursuit of emerging technologies — translating them into production-ready solutions that solve complex operational challenges.

View Comments

Share
Published by
Dineshreddy Kayithi

Recent Posts

Red Hat OpenStack Services on OpenShift (RHOSO)

Red Hat OpenStack Services on OpenShift (RHOSO) provides the foundation to build a private or public…

3 days ago

Kubernetes Cluster Deployment

Kubernetes (often shortened to “K8s”) is an open-source system for automating the deployment, scaling, and…

2 weeks ago

Ceph cluster on a single machine

Ceph is an open-source, distributed storage platform that provides object, block, and file storage in…

2 weeks ago

vSphere to OpenShift VM Migration

Prerequisites Red Hat OpenShift cluster deployed and operational You can refer to my earlier post…

1 month ago

Installing OpenShift 4.21 in an air-gapped on-premises/BareMetal environment using Agent-based deployment

Agent-Based Installation The Agent-based installation method provides the flexibility to boot your on-premise servers in…

3 months ago

OpenShift Virtualization Configuration, Secondary VM Network Setup, and Live Migration configuration

You can check the earlier post regarding cluster setup and ODF setup https://kdinesh.in/deployment-of-openshift-4-20-with-using-the-assistant-installer/ https://kdinesh.in/openshiftodf/ Login…

4 months ago