diff --git a/update_minio.sh b/update_minio.sh new file mode 100644 index 0000000..593af5c --- /dev/null +++ b/update_minio.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# Exit immediately if a command exits with a non-zero status. +set -e + +# Download and install MinIO server +wget https://dl.min.io/server/minio/release/linux-amd64/minio -O /usr/local/bin/minio + +# Make the MinIO binary executable +chmod +x /usr/local/bin/minio + +# Restart the MinIO service +sudo systemctl restart minio + +echo "MinIO server has been updated successfully." \ No newline at end of file