下载Linux版本
下载地址:https://dl.min.io/server/minio/release/linux-amd64/minio
运行命令
minio server /var/services/homes/wangxianfeng/soft/minio/data
默认访问地址:
http://192.168.2.8:9000
默认用户名和密码
RootUser: minioadmin
RootPass: minioadmin
修改默认用户名和密码
export MINIO_ROOT_USER=minio
export MINIO_ROOT_PASSWORD=Xianfeng99
./minio server /var/services/homes/wangxianfeng/soft/minio/data
- 启动脚本后台运行
export MINIO_ROOT_USER=minio
export MINIO_ROOT_PASSWORD=Xianfeng99
nohup /var/services/homes/wangxianfeng/soft/minio/minio server /var/services/homes/wangxianfeng/soft/minio/data > nohup.out 2>&1 &
- 停止脚本
ps -ef | grep "minio" | grep -v grep | grep $LOGNAME | awk '{print $2}'|while read minioid
do
kill $minioid
done
文章评论
http://qianke.aiuyo.com