User Tools

Site Tools


amazon-s3:minio:minio-installation-on-centos

This is an old revision of the document!


Minio installation (server and client) on centos

Minio server installation

cd ~
wget https://dl.min.io/server/minio/release/linux-amd64/minio
chmod +x minio
sudo mv minio /usr/local/bin/
mkdir /data
sudo vi /etc/systemd/system/minio.service
[Unit]
Description=MinIO
Documentation=https://docs.min.io
Wants=network-online.target
After=network-online.target
AssertFileIsExecutable=/usr/local/bin/minio
 
[Service]
WorkingDirectory=/usr/local/
 
User=minio-user
Group=minio-user
 
EnvironmentFile=-/etc/default/minio
ExecStart=/usr/local/bin/minio server /data --console-address ":9001"
 
Restart=always
LimitNOFILE=65536
 
[Install]
WantedBy=multi-user.targe
sudo useradd -r minio-user -s /sbin/nologin
sudo chown minio-user:minio-user /data
sudo systemctl daemon-reload
sudo systemctl start minio
sudo systemctl enable minio
sudo systemctl status minio

Now minio server should be available at: http://your-server-ip:9001

amazon-s3/minio/minio-installation-on-centos.1727108691.txt.gz · Last modified: 2024/09/23 19:24 by odefta