This commit is contained in:
@@ -16,8 +16,14 @@ wget https://dl.min.io/client/mc/release/linux-amd64/mc && chmod 777 mc && mv mc
|
|||||||
|
|
||||||
**配置 MC**
|
**配置 MC**
|
||||||
|
|
||||||
|
> 新版已弃用此命令,本文后续 `mc config` 都默认需要改为 `mc alias` **!!!**
|
||||||
|
>
|
||||||
|
> ```bash
|
||||||
|
> mc config host add minio https://localhost:9000 MINIO_ACCESS_KEY MINIO_SECRET_KEY
|
||||||
|
> ```
|
||||||
|
|
||||||
```bash
|
```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
|
||||||
```
|
```
|
||||||
|
|
||||||
> 配置格式
|
> 配置格式
|
||||||
|
Reference in New Issue
Block a user