add minio update script

This commit is contained in:
2024-11-07 22:20:11 -07:00
parent 16f09bebca
commit 4f42fa82ac

15
update_minio.sh Normal file
View File

@ -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."