下载二进制文件mc
https://dl.min.io/client/mc/release/linux-amd64/mc
chmod +x mc
修改默认配置(保留我们自己需要的配置就可以了)
vi /root/.mc/config.json
{
"version": "10",
"aliases": {
"myminio": {
"url": "https://10.17.70.6:9000",
"accessKey": "minioadmin",
"secretKey": "minioadmin",
"api": "S3v4",
"path": "auto"
}
}
}
查看相关命令
./mc --help