下载minio

wget https://dl.minio.io/server/minio/release/linux-amd64/minio
[root@localhost tools]# chmod +x minio
[root@localhost tools]# mkdir -p /home/minio/data
[root@localhost local]# ./minio server /home/minio/data
Endpoint:  http://10.76.14.122:9000  http://127.0.0.1:9000    
AccessKey: xxxx
SecretKey: xxxx

Browser Access:
   http://10.76.14.122:9000  http://127.0.0.1:9000    

Command-line Access: https://docs.min.io/docs/minio-client-quickstart-guide
   $ mc config host add myminio http://10.76.14.122:9000 xxxx xx

Object API (Amazon S3 compatible):
   Go:         https://docs.min.io/docs/golang-client-quickstart-guide
   Java:       https://docs.min.io/docs/java-client-quickstart-guide
   Python:     https://docs.min.io/docs/python-client-quickstart-guide
   JavaScript: https://docs.min.io/docs/javascript-client-quickstart-guide
   .NET:       https://docs.min.io/docs/dotnet-client-quickstart-guide

MinIO Server的配置文件默认路径是 ~/.minio/config.json
访问http://localhost:9000/minio/login
文档https://docs.min.io/

设置账号密码

export MINIO_ACCESS_KEY=data
export MINIO_SECRET_KEY=data@2019
./minio server /home/data/draw

修改端口

nohup /data/minio server --address 0.0.0.0:9999 /data/md > /data/minio.log 2>&1 &
Logo

更多推荐