From f3d2bf9d91f2efa7d937e798edb8ed468df9d6b4 Mon Sep 17 00:00:00 2001 From: Enrico Ludwig Date: Sun, 15 Dec 2024 15:26:10 +0100 Subject: [PATCH] Updated README --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a83de4a..1c5c627 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,23 @@ How to run: -`bash <(wget -qO- https://git.zion-networks.de/ZionNetworks/zabbix-scripts/raw/branch/main/agent2_autoinstall.sh)` \ No newline at end of file +`wget -qO- https://git.zion-networks.de/ZionNetworks/zabbix-scripts/raw/branch/main/agent2_autoinstall.sh | sudo bash` + +If you prefer to first download the script and not running it as root directly: + +1. Download the script: + ```bash + wget -O agent2_autoinstall.sh https://git.zion-networks.de/ZionNetworks/zabbix-scripts/raw/branch/main/agent2_autoinstall.sh + ``` + +2. Make the script executable: + ```bash + chmod +x agent2_autoinstall.sh + ``` + +3. Run the script with root privileges: + ```bash + sudo ./agent2_autoinstall.sh + ``` + +> Note that root permissions are required in order to install the required packages and adjust the configuration. \ No newline at end of file