Last active
April 4, 2022 02:57
-
-
Save icarrr/e24f38a4b4bf98b4459a9d5d8838fca1 to your computer and use it in GitHub Desktop.
Revisions
-
icarrr renamed this gist
Apr 4, 2022 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
icarrr revised this gist
Apr 4, 2022 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ # Install MinIO -
icarrr created this gist
Oct 24, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ #!/bin/bash set -e wget https://dl.min.io/server/minio/release/linux-amd64/minio sudo chmod +x minio sudo mv minio /usr/local/bin sudo useradd -r minio-user -s /sbin/nologin sudo chown minio-user:minio-user /usr/local/bin/minio sudo mkdir /usr/local/share/minio sudo chown minio-user:minio-user /usr/local/share/minio sudo mkdir /etc/minio sudo bash -c "cat << 'EOF' > /etc/default/minio MINIO_VOLUMES=\"/usr/local/share/minio/\" MINIO_OPTS=\"-C /etc/minio --address 0.0.0.0:9090 --console-address 0.0.0.0:19090\" MINIO_ROOT_USER=\"xminioadmin\" MINIO_ROOT_PASSWORD=\"xminioadmin\" EOF" sudo chown minio-user:minio-user /etc/minio -R curl -O https://raw.githubusercontent.com/minio/minio-service/master/linux-systemd/minio.service sudo mv minio.service /etc/systemd/system sudo systemctl daemon-reload sudo systemctl start minio systemctl status minio