Minio Linux environment installation
Download
Mirror download address: http://dltest.minio.org.cn/server/minio/release/linux-amd64/archive/
Resource pack download address (matches with literature): https://download.csdn.net/download/scdncby/87769604
Install
- Upload the rpm installation package to the server
- switch root user
su root
- install command
rpm -ivh minio-20221029062133.0.0.x86_64.rpm
- Test run command
minio server /opt/minio --console-address ":9001"
-
Edit the minio launcher (User and Group attributes updated to root)
vim /etc/systemd/system/minio.service
-
Set startup parameters
# 设置数据存储地址 MINIO_VOLUMES="/opt/miniodata/data" # 通讯端口和管理端口 MINIO_OPTS="--address :9000 --console-address :9001" # 账号,至少8位数 MINIO_ACCESS_KEY=minioadmin # 密码,至少8位数 MINIO_SECRET_KEY=minioadmin
-
Load parameter settings
systemctl daemon-reload
-
Set up autostart
systemctl enable minio
-
operation command
# 启动 systemctl start minio # 启动并指定日志存储位置 systemctl restart minio >> /home/minio/logs/minio.log 2>&1 & # 重启 systemctl restart minio # 停止 systemctl stop minio # 查看状态 systemctl status minio
- start state - stop
-
Startup status - running
-
Access address http://10.138.1.22:9001/login