MinIO is an open-source, high-performance, distributed object storage server compatible with Amazon S3 APIs. It's designed for large-scale data infrastructures, making it ideal for cloud-native applications. This guide will walk you through the steps to install MinIO on a Debian server.
Before you begin, ensure you have:
For optimal performance and scalability, consider deploying MinIO on Hostomy's cloud servers. Hostomy offers high-performance cloud solutions with features like NVMe storage and 1 Gbps network ports. Learn more at Hostomy Cloud Servers.
Begin by updating your system's package index and upgrading existing packages:
sudo apt update && sudo apt upgrade -y
wget https://dl.min.io/server/minio/release/linux-amd64/minio
/usr/local/bin
:chmod +x minio sudo mv minio /usr/local/bin/
For security purposes, create a dedicated user to run the MinIO service:
sudo useradd -r minio-user -s /sbin/nologin
sudo mkdir /usr/local/share/minio sudo mkdir /etc/minio
minio-user
:sudo chown minio-user:minio-user /usr/local/share/minio sudo chown minio-user:minio-user /etc/minio
To manage MinIO as a service, create a systemd service file:
sudo nano /etc/systemd/system/minio.service
Add the following content:
[Unit] Description=MinIO Documentation=https://docs.min.io Wants=network-online.target After=network-online.target [Service] User=minio-user Group=minio-user ExecStart=/usr/local/bin/minio server /usr/local/share/minio Restart=always RestartSec=5 LimitNOFILE=65536 [Install] WantedBy=multi-user.target
Save and exit the editor.
sudo systemctl daemon-reload
sudo systemctl start minio
sudo systemctl enable minio
If you have a firewall enabled, allow traffic on MinIO's default port (9000):
sudo ufw allow 9000
MinIO's web interface is accessible at http://your-server-ip:9000
. Upon first access, you'll be prompted to enter the Access Key and Secret Key. By default, these are set to minioadmin
for both. For enhanced security, it's crucial to change these credentials immediately.
You've successfully installed and configured MinIO on your Debian server. This setup provides a robust, S3-compatible object storage solution suitable for various applications. For scalable and high-performance hosting solutions, consider deploying MinIO on Hostomy's cloud servers.