From cfa3b6476475679d10bca09a5008a193d3ba211b Mon Sep 17 00:00:00 2001 From: tremor021 Date: Mon, 15 Sep 2025 10:28:57 +0200 Subject: [PATCH] Update SigNoz --- install/signoz-install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install/signoz-install.sh b/install/signoz-install.sh index c7baa750..212fec38 100644 --- a/install/signoz-install.sh +++ b/install/signoz-install.sh @@ -30,12 +30,13 @@ $STD apt-get install -y clickhouse-server clickhouse-client msg_ok "Setup ClickHouse" msg_info "Setting up Zookeeper" -curl -fsSL "https://dlcdn.apache.org/zookeeper/zookeeper-3.8.4/apache-zookeeper-3.8.4-bin.tar.gz" -o "$HOME/zookeeper.tar.gz" +curl -fsSL "https://dlcdn.apache.org/zookeeper/current/$(curl -fsSL https://dlcdn.apache.org/zookeeper/current/ | grep -o 'apache-zookeeper-[0-9.]\+-bin\.tar\.gz' | head -n1)" -o ~/zookeeper.tar.gz + tar -xzf "$HOME/zookeeper.tar.gz" -C "$HOME" mkdir -p /opt/zookeeper mkdir -p /var/lib/zookeeper mkdir -p /var/log/zookeeper -cp -r ~/apache-zookeeper-3.8.4-bin/* /opt/zookeeper +cp -r ~/apache-zookeeper-*-bin/* /opt/zookeeper cat </opt/zookeeper/conf/zoo.cfg tickTime=2000 @@ -258,7 +259,7 @@ customize msg_info "Cleaning up" rm -rf ~/zookeeper.tar.gz -rm -rf ~/apache-zookeeper-3.8.4-bin +rm -rf ~/apache-zookeeper-*-bin $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned"