minio官网
https://min.io/download#/linux
官网启动
wget https://dl.min.io/server/minio/release/linux-amd64/minio
chmod +x minio
MINIO_ROOT_USER=admin MINIO_ROOT_PASSWORD=password ./minio server /mnt/data --console-address ":9001"
手动配置minio服务
1. Linux服务器执行命令,查看当前系统
lsb_release -a
2. 执行对应版本的minIo下载命令
wget https://dl.min.io/server/minio/release/linux-amd64/minio
基于Linux系统下centos7版本,各位博友可以自行根据自己的系统版本下载相应的minIo版本包
3. 设置开机自启动
vim /etc/systemd/system/minio.service
[Unit]
Description=Minio Service
[Service]
Environment="MINIO_ROOT_USER=admin"
Environment="MINIO_ROOT_PASSWORD=123456789"
ExecStart=/home/tools/minio/minio server /home/tools/minio/data --console-address "内网IP:9001" --address "内网IP:9000"
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s QUIT $MAINPID
StandardOutput=/home/tools/minio/logs/minio.log
PrivateTmp=true
[Install]
WantedBy=multi-user.target
加载服务文件
systemctl daemon-reload
设置开机自启动
systemctl enable minio.service
启动minio
systemctl start minio.service
访问:ip:9001
标签:minio,--,server,centos7,systemctl,搭建,ROOT,MINIO From: https://www.cnblogs.com/chuanghongmeng/p/17762463.html