minio安装记录

2021-03-20 1521点热度 0人点赞 1条评论

下载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
  1. 启动脚本后台运行
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 &
  1. 停止脚本
ps -ef | grep "minio" | grep -v grep | grep $LOGNAME | awk '{print $2}'|while read minioid
do
  kill $minioid
done

王显锋

激情工作,快乐生活!

文章评论