This commit is contained in:
@@ -23,35 +23,23 @@ wget https://dl.min.io/client/mc/release/linux-amd64/mc && chmod 777 mc && mv mc
|
|||||||
> ```
|
> ```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mc alias set minio minio https://localhost:9000 MINIO_ACCESS_KEY MINIO_SECRET_KEY
|
mc alias set minio https://localhost:9000 MINIO_ACCESS_KEY MINIO_SECRET_KEY
|
||||||
```
|
```
|
||||||
|
|
||||||
> 配置格式
|
## MC 使用基础命令(已改为最新版)
|
||||||
>
|
|
||||||
> ```bash
|
|
||||||
> mc config host add <命名> <Minio地址> <AccessKey 或 账号> <SecretKey 或 密码>
|
|
||||||
> ```
|
|
||||||
|
|
||||||
## MC 使用基础命令
|
|
||||||
|
|
||||||
- 查看主机配置信息
|
- 查看主机配置信息
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mc config host list minio
|
mc alias list
|
||||||
```
|
```
|
||||||
|
|
||||||
- 删除主机信息
|
- 删除主机信息
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mc config host remove minio
|
mc alias remove minio
|
||||||
```
|
```
|
||||||
|
|
||||||
> 可使用如下命令查看主机列表
|
|
||||||
>
|
|
||||||
> ```bash
|
|
||||||
> mc config host list
|
|
||||||
> ```
|
|
||||||
|
|
||||||
- 查看存储文件
|
- 查看存储文件
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user