Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

Fix ami linux docker installation (#387)

Ankit Nayan556914f808be
diff --git a/deploy/install.sh b/deploy/install.sh
index 7310595965..3de04af457 100755
--- a/deploy/install.sh
+++ b/deploy/install.sh
@@ -160,8 +160,9 @@ install_docker() {
echo
echo "Amazon Linux detected ... "
echo
- sudo yum install docker
- sudo service docker start
+ # sudo yum install docker
+ # sudo service docker start
+ sudo amazon-linux-extras install docker
else
yum_cmd="sudo yum --assumeyes --quiet"
@@ -313,28 +314,30 @@ check_os
SIGNOZ_INSTALLATION_ID=$(curl -s 'https://api64.ipify.org')
-echo ""
+# echo ""
-echo -e "👉 ${RED}Two ways to go forward\n"
-echo -e "${RED}1) ClickHouse as database (default)\n"
-echo -e "${RED}2) Kafka + Druid as datastore \n"
-read -p "⚙️ Enter your preference (1/2):" choice_setup
-
-while [[ $choice_setup != "1" && $choice_setup != "2" && $choice_setup != "" ]]
-do
- # echo $choice_setup
- echo -e "\n❌ ${CYAN}Please enter either 1 or 2"
- read -p "⚙️ Enter your preference (1/2): " choice_setup
- # echo $choice_setup
-done
-
-if [[ $choice_setup == "1" || $choice_setup == "" ]];then
- setup_type='clickhouse'
-else
- setup_type='druid'
-fi
+# echo -e "👉 ${RED}Two ways to go forward\n"
+# echo -e "${RED}1) ClickHouse as database (default)\n"
+# echo -e "${RED}2) Kafka + Druid as datastore \n"
+# read -p "⚙️ Enter your preference (1/2):" choice_setup
+
+# while [[ $choice_setup != "1" && $choice_setup != "2" && $choice_setup != "" ]]
+# do
+# # echo $choice_setup
+# echo -e "\n❌ ${CYAN}Please enter either 1 or 2"
+# read -p "⚙️ Enter your preference (1/2): " choice_setup
+# # echo $choice_setup
+# done
+
+# if [[ $choice_setup == "1" || $choice_setup == "" ]];then
+# setup_type='clickhouse'
+# else
+# setup_type='druid'
+# fi
+
+setup_type='clickhouse'
-echo -e "\n✅ ${CYAN}You have chosen: ${setup_type} setup\n"
+# echo -e "\n✅ ${CYAN}You have chosen: ${setup_type} setup\n"
# Run bye if failure happens
trap bye EXIT