更新Minio工具Mc最新命令使用方式笔记
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2025-08-25 20:19:27 +08:00
parent 1a4027ce52
commit a9821e9a38

View File

@@ -16,8 +16,14 @@ wget https://dl.min.io/client/mc/release/linux-amd64/mc && chmod 777 mc && mv mc
**配置 MC**
> 新版已弃用此命令,本文后续 `mc config` 都默认需要改为 `mc alias` ****
>
> ```bash
> mc config host add minio https://localhost:9000 MINIO_ACCESS_KEY MINIO_SECRET_KEY
> ```
```bash
mc config host add minio https://localhost:9000 MINIO_ACCESS_KEY MINIO_SECRET_KEY
mc alias set minio minio https://localhost:9000 MINIO_ACCESS_KEY MINIO_SECRET_KEY
```
> 配置格式