ubuntu minio 单机多磁盘

下载字节版minio
配置成服务:
https://github.com/minio/minio-service

mv minio /usr/local/bin/

cat <<EOT >> /etc/default/minio
# Volume to be used for MinIO server.

MINIO_VOLUMES="/mnt/disk{1...5}"
# Use if you want to run MinIO on a custom port.

MINIO_OPTS="--address :9199 --console-address :9001"
# Root user for the server.

MINIO_ROOT_USER=admin
# Root secret for the server.

MINIO_ROOT_PASSWORD=66666666666666666
EOT

nano /etc/systemd/system/minio.service 

systemctl daemon-reload
systemctl start minio.service
journalctl | grep minio

注意磁盘权限 程序权限

posted @ 2022-06-10 16:45  ChasingDreams  阅读(515)  评论(0编辑  收藏  举报