add minio update script
This commit is contained in:
15
update_minio.sh
Normal file
15
update_minio.sh
Normal 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."
|
Reference in New Issue
Block a user