Add wget and openssh dependencies

This commit is contained in:
Sam
2025-01-02 12:33:33 +10:00
parent e9f30734a3
commit d729c3e272
201 changed files with 797 additions and 194 deletions
+8
View File
@@ -20,6 +20,8 @@ $STD apt-get install -y mc
$STD apt-get install -y lsb-base
$STD apt-get install -y lsb-release
$STD apt-get install -y gnupg2
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
msg_ok "Installed Dependencies"
msg_info "Setting up InfluxDB Repository"
@@ -38,8 +40,12 @@ msg_info "Installing InfluxDB"
$STD apt-get update
if [[ $INFLUX == "2" ]]; then
$STD apt-get install -y influxdb2
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
else
$STD apt-get install -y influxdb
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
wget -q https://dl.influxdata.com/chronograf/releases/chronograf_1.10.1_amd64.deb
$STD dpkg -i chronograf_1.10.1_amd64.deb
fi
@@ -50,6 +56,8 @@ read -r -p "Would you like to add Telegraf? <y/N> " prompt
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
msg_info "Installing Telegraf"
$STD apt-get install -y telegraf
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
msg_ok "Installed Telegraf"
fi