From 4f42fa82ac2a17464137fa794f829689187ed0d6 Mon Sep 17 00:00:00 2001 From: Mason Payne Date: Thu, 7 Nov 2024 22:20:11 -0700 Subject: [PATCH] add minio update script --- update_minio.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 update_minio.sh 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