create
This commit is contained in:
10
roles/minio/files/MinioStanAlone/create_bucket.sh
Executable file
10
roles/minio/files/MinioStanAlone/create_bucket.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
bucket_name=openbucket
|
||||
|
||||
#用户名密码改为实际的值
|
||||
./mc config host add myminio http://127.0.0.1:9000 minio 1234567890
|
||||
|
||||
./mc mb myminio/$bucket_name
|
||||
./mc policy public myminio/$bucket_name
|
||||
|
||||
Reference in New Issue
Block a user