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
+10
View File
@@ -19,6 +19,8 @@ $STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y apt-transport-https
$STD apt-get install -y gnupg
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
msg_ok "Installed Dependencies"
msg_info "Installing Eclipse Temurin JRE"
@@ -26,6 +28,8 @@ wget -qO- https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --d
echo "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/adoptium.gpg] https://packages.adoptium.net/artifactory/deb bookworm main" >/etc/apt/sources.list.d/adoptium.list
$STD apt-get update
$STD apt-get install -y temurin-17-jre
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
msg_ok "Installed Eclipse Temurin JRE"
if ! grep -q -m1 'avx[^ ]*' /proc/cpuinfo; then
@@ -39,12 +43,16 @@ if ! grep -q -m1 'avx[^ ]*' /proc/cpuinfo; then
echo "deb [signed-by=/usr/share/keyrings/mongodb-server-4.4.gpg] https://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main" >/etc/apt/sources.list.d/mongodb-org-4.4.list
$STD apt-get update
$STD apt-get install -y mongodb-org
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
else
msg_info "Installing MongoDB 7.0"
wget -qO- https://www.mongodb.org/static/pgp/server-7.0.asc | gpg --dearmor >/usr/share/keyrings/mongodb-server-7.0.gpg
echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] http://repo.mongodb.org/apt/debian bookworm/mongodb-org/7.0 main" >/etc/apt/sources.list.d/mongodb-org-7.0.list
$STD apt-get update
$STD apt-get install -y mongodb-org
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
fi
msg_ok "Installed MongoDB"
@@ -53,6 +61,8 @@ wget -qO /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ui.com/unifi/unifi-rep
echo "deb [ arch=amd64 signed-by=/etc/apt/trusted.gpg.d/unifi-repo.gpg] https://www.ui.com/downloads/unifi/debian stable ubiquiti" >/etc/apt/sources.list.d/100-ubnt-unifi.list
$STD apt-get update
$STD apt-get install -y unifi
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
msg_ok "Installed UniFi Network Server"
motd_ssh