play1 / rc.local
browserphp's picture
Create rc.local
4518cee verified
raw
history blame contribute delete
275 Bytes
nohup minio server ./data --address :3000 --console-address :9002 >/dev/null 2>&1 &
sleep 3
mc alias set minio http://127.0.0.1:3000 minioadmin {{minio_pass}}
mc mb minio/bucket1
mc admin user add minio user1 {{minio_pass}}
mc admin policy attach minio readwrite --user user1