Skip to content

Instantly share code, notes, and snippets.

@brainstorm
Last active May 2, 2023 05:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brainstorm/744126bae824892a44449a8aaeeef88c to your computer and use it in GitHub Desktop.
Save brainstorm/744126bae824892a44449a8aaeeef88c to your computer and use it in GitHub Desktop.
minio quickstart
% brew install minio
% brew install
% minio server /tmp
ERROR Unable to use the drive /tmp: drive is not directory or mountpoint: Invalid arguments specified
% minio server /tmp/foo
% export AWS_SECRET_ACCESS_KEY=minioadmin
% export AWS_ACCESS_KEY_ID=minioadmin
% aws s3 mb --endpoint-url http://192.168.1.109:9000/ s3://bucket
make_bucket: bucket
% aws s3 cp --endpoint-url http://192.168.1.109:9000/ tmp/test.txt s3://bucket/
upload: tmp/test.txt to s3://bucket/test.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment