Skip to content

Instantly share code, notes, and snippets.

@vpanton
Created January 4, 2019 14:05
Show Gist options
  • Save vpanton/f5e187f3e1ccb8ee77f1cc849932e407 to your computer and use it in GitHub Desktop.
Save vpanton/f5e187f3e1ccb8ee77f1cc849932e407 to your computer and use it in GitHub Desktop.
minio
cd /etc/systemd/system/; curl -O https://raw.githubusercontent.com/minio/minio-service/master/linux-systemd/minio.service )
adduser --system --no-create-home --group --disabled-login --shell=/bin/false minio-user
systemctl enable minio.service
$ cat <<EOT >> /etc/default/minio
# Volume to be used for Minio server.
MINIO_VOLUMES="/tmp/minio/"
# Use if you want to run Minio on a custom port.
MINIO_OPTS="--address :9199"
# Access Key of the server.
MINIO_ACCESS_KEY=Server-Access-Key
# Secret key of the server.
MINIO_SECRET_KEY=Server-Secret-Key
EOT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment