创建bucket脚本

This commit is contained in:
zhangchengwei
2019-05-09 15:25:36 +08:00
parent ee9c0fe269
commit 9ea9e88567
2 changed files with 23 additions and 0 deletions

5
create_bucket.sh Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
./mc config host add myminio http://127.0.0.1:9000 minio 1234567890
./mc mb myminio/testbucket2
./mc policy public myminio/testbucket2