push various script changes done during merge

This commit is contained in:
Sam Heinz
2025-04-10 23:30:42 +10:00
parent 1649439cf7
commit 04742407be
150 changed files with 103 additions and 690 deletions
-7
View File
@@ -13,13 +13,6 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing AdGuard Home" msg_info "Installing AdGuard Home"
$STD tar zxvf <(curl -fsSL https://static.adtidy.org/adguardhome/release/AdGuardHome_linux_arm64.tar.gz) -C /opt $STD tar zxvf <(curl -fsSL https://static.adtidy.org/adguardhome/release/AdGuardHome_linux_arm64.tar.gz) -C /opt
msg_ok "Installed AdGuard Home" msg_ok "Installed AdGuard Home"
+1 -3
View File
@@ -21,9 +21,7 @@ $STD apt-get install -y \
libgdal-dev \ libgdal-dev \
git \ git \
python3-venv \ python3-venv \
python3-pip \ python3-pip
openssh-server \
wget
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
+1 -8
View File
@@ -14,14 +14,7 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apk add \ $STD apk add gpg
newt \
curl \
openssh \
nano \
mc \
gpg
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Gitea" msg_info "Installing Gitea"
-9
View File
@@ -13,15 +13,6 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies"
$STD apk add newt
$STD apk add curl
$STD apk add openssh
$STD apk add nano
$STD apk add mc
$STD apk add openssh
msg_ok "Installed Dependencies"
msg_info "Installing Grafana" msg_info "Installing Grafana"
$STD apk add grafana $STD apk add grafana
$STD sed -i '/http_addr/s/127.0.0.1/0.0.0.0/g' /etc/conf.d/grafana $STD sed -i '/http_addr/s/127.0.0.1/0.0.0.0/g' /etc/conf.d/grafana
-9
View File
@@ -13,14 +13,5 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies"
$STD apk add newt
$STD apk add curl
$STD apk add openssh
$STD apk add nano
$STD apk add mc
$STD apk add openssh
msg_ok "Installed Dependencies"
motd_ssh motd_ssh
customize customize
-3
View File
@@ -15,9 +15,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apk add \ $STD apk add \
curl \
mc \
openssh \
nginx \ nginx \
unzip unzip
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
-5
View File
@@ -14,14 +14,9 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apk add newt
$STD apk add curl
$STD apk add openssl $STD apk add openssl
$STD apk add openssh
$STD apk add nano
$STD apk add mc $STD apk add mc
$STD apk add nginx $STD apk add nginx
$STD apk add openssh
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing PHP/Redis" msg_info "Installing PHP/Redis"
+1 -8
View File
@@ -14,14 +14,7 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apk add \ $STD apk add gpg
newt \
curl \
openssh \
nano \
mc \
gpg
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Redis" msg_info "Installing Redis"
-7
View File
@@ -14,14 +14,7 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apk add newt
$STD apk add curl
$STD apk add openssl
$STD apk add openssh
$STD apk add nano
$STD apk add mc
$STD apk add argon2 $STD apk add argon2
$STD apk add openssh
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Alpine-Vaultwarden" msg_info "Installing Alpine-Vaultwarden"
-5
View File
@@ -15,11 +15,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apk add \ $STD apk add \
newt \
curl \
openssh \
nano \
mc \
gpg \ gpg \
iptables \ iptables \
openrc openrc
-9
View File
@@ -13,15 +13,6 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies"
$STD apk add newt
$STD apk add curl
$STD apk add openssh
$STD apk add nano
$STD apk add mc
$STD apk add openssh
msg_ok "Installed Dependencies"
msg_info "Installing Alpine-Zigbee2MQTT" msg_info "Installing Alpine-Zigbee2MQTT"
$STD apk add zigbee2mqtt $STD apk add zigbee2mqtt
mkdir -p /root/.z2m mkdir -p /root/.z2m
-2
View File
@@ -16,8 +16,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y apt-transport-https $STD apt-get install -y apt-transport-https
$STD apt-get install -y gnupg $STD apt-get install -y gnupg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Apache CouchDB" msg_info "Installing Apache CouchDB"
+1 -3
View File
@@ -36,9 +36,7 @@ $STD apt-get install -y \
libavutil-dev \ libavutil-dev \
libavformat-dev \ libavformat-dev \
mariadb-server \ mariadb-server \
default-jdk \ default-jdk
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setup Apache Tomcat" msg_info "Setup Apache Tomcat"
-7
View File
@@ -13,13 +13,6 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing Apt-Cacher NG" msg_info "Installing Apt-Cacher NG"
DEBIAN_FRONTEND=noninteractive $STD apt-get -o Dpkg::Options::="--force-confold" install -y apt-cacher-ng DEBIAN_FRONTEND=noninteractive $STD apt-get -o Dpkg::Options::="--force-confold" install -y apt-cacher-ng
sed -i 's/# PassThroughPattern: .* # this would allow CONNECT to everything/PassThroughPattern: .*/' /etc/apt-cacher-ng/acng.conf sed -i 's/# PassThroughPattern: .* # this would allow CONNECT to everything/PassThroughPattern: .*/' /etc/apt-cacher-ng/acng.conf
+1 -3
View File
@@ -22,9 +22,7 @@ $STD apt-get install -y \
libsasl2-dev \ libsasl2-dev \
procps \ procps \
dnsutils \ dnsutils \
ripgrep \ ripgrep
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Python Dependencies" msg_info "Installing Python Dependencies"
-8
View File
@@ -13,14 +13,6 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing Aria2" msg_info "Installing Aria2"
$STD apt-get install -y aria2 $STD apt-get install -y aria2
msg_ok "Installed Aria2" msg_ok "Installed Aria2"
-3
View File
@@ -15,11 +15,8 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y gnupg $STD apt-get install -y gnupg
$STD apt-get install -y mc
$STD apt-get install -y wget
$STD apt-get install -y ffmpeg $STD apt-get install -y ffmpeg
$STD apt-get install -y git $STD apt-get install -y git
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Node.js" msg_info "Installing Node.js"
+3 -3
View File
@@ -15,8 +15,8 @@ update_os
msg_info "Installing Authelia" msg_info "Installing Authelia"
RELEASE=$(curl -fsSL https://api.github.com/repos/authelia/authelia/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') RELEASE=$(curl -fsSL https://api.github.com/repos/authelia/authelia/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
curl -fsSL "https://github.com/authelia/authelia/releases/download/${RELEASE}/authelia_${RELEASE}_amd64.deb" -o $(basename "https://github.com/authelia/authelia/releases/download/${RELEASE}/authelia_${RELEASE}_amd64.deb") curl -fsSL "https://github.com/authelia/authelia/releases/download/${RELEASE}/authelia_${RELEASE}_arm64.deb" -o $(basename "https://github.com/authelia/authelia/releases/download/${RELEASE}/authelia_${RELEASE}_arm64.deb")
$STD dpkg -i "authelia_${RELEASE}_amd64.deb" $STD dpkg -i "authelia_${RELEASE}_arm64.deb"
msg_ok "Install Authelia completed" msg_ok "Install Authelia completed"
read -p "Enter your domain (ex. example.com): " DOMAIN read -p "Enter your domain (ex. example.com): " DOMAIN
@@ -72,7 +72,7 @@ motd_ssh
customize customize
msg_info "Cleaning up" msg_info "Cleaning up"
rm -f "authelia_${RELEASE}_amd64.deb" rm -f "authelia_${RELEASE}_arm64.deb"
$STD apt-get -y autoremove $STD apt-get -y autoremove
$STD apt-get -y autoclean $STD apt-get -y autoclean
msg_ok "Cleaned" msg_ok "Cleaned"
-8
View File
@@ -13,14 +13,6 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Setup Python3" msg_info "Setup Python3"
$STD apt-get install -y \ $STD apt-get install -y \
python3 \ python3 \
-5
View File
@@ -18,15 +18,10 @@ $STD apt-get install -y \
unzip \ unzip \
mariadb-server \ mariadb-server \
apache2 \ apache2 \
curl \
sudo \
php8.2-{mbstring,gd,fpm,curl,intl,ldap,tidy,bz2,mysql,zip,xml} \ php8.2-{mbstring,gd,fpm,curl,intl,ldap,tidy,bz2,mysql,zip,xml} \
composer \ composer \
libapache2-mod-php \ libapache2-mod-php \
make \ make \
mc \
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Database" msg_info "Setting up Database"
+1 -3
View File
@@ -16,9 +16,7 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y gpg $STD apt-get install -y gpg
$STD apt-get install -y apt-transport-https $STD apt-get install -y apt-transport-https
$STD apt-get install -y lsb-release $STD apt-get install -y lsb-release
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Nginx" msg_info "Installing Nginx"
+1 -2
View File
@@ -14,8 +14,7 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y gnupg
gnupg
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"
-2
View File
@@ -16,8 +16,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y imagemagick $STD apt-get install -y imagemagick
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Python Dependencies" msg_info "Installing Python Dependencies"
-8
View File
@@ -13,14 +13,6 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing CasaOS (Patience)" msg_info "Installing CasaOS (Patience)"
DOCKER_CONFIG_PATH='/etc/docker/daemon.json' DOCKER_CONFIG_PATH='/etc/docker/daemon.json'
mkdir -p $(dirname $DOCKER_CONFIG_PATH) mkdir -p $(dirname $DOCKER_CONFIG_PATH)
+1 -3
View File
@@ -41,9 +41,7 @@ $STD apt-get install -y \
xdg-utils \ xdg-utils \
xvfb \ xvfb \
ca-certificates \ ca-certificates \
gnupg \ gnupg
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setup Python3" msg_info "Setup Python3"
-2
View File
@@ -16,8 +16,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y chromium $STD apt-get install -y chromium
$STD apt-get install -y xvfb $STD apt-get install -y xvfb
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
if [[ "$CTTYPE" == "0" ]]; then if [[ "$CTTYPE" == "0" ]]; then
-8
View File
@@ -13,14 +13,6 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing Cloudflared" msg_info "Installing Cloudflared"
mkdir -p --mode=0755 /usr/share/keyrings mkdir -p --mode=0755 /usr/share/keyrings
VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)" VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
-8
View File
@@ -14,14 +14,6 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing Cockpit" msg_info "Installing Cockpit"
source /etc/os-release source /etc/os-release
echo "deb http://deb.debian.org/debian ${VERSION_CODENAME}-backports main" >/etc/apt/sources.list.d/backports.list echo "deb http://deb.debian.org/debian ${VERSION_CODENAME}-backports main" >/etc/apt/sources.list.d/backports.list
-5
View File
@@ -14,11 +14,6 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
$STD apt-get install -y rsync $STD apt-get install -y rsync
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
+1 -7
View File
@@ -14,13 +14,7 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y gnupg
curl \
sudo \
mc \
wget \
openssh-server \
gnupg
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"
-5
View File
@@ -14,12 +14,7 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y wget
$STD apt-get install -y gpg $STD apt-get install -y gpg
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"
-8
View File
@@ -13,14 +13,6 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
motd_ssh motd_ssh
customize customize
-7
View File
@@ -13,13 +13,6 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
get_latest_release() { get_latest_release() {
curl -fsSL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4 curl -fsSL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4
} }
+1 -3
View File
@@ -23,9 +23,7 @@ $STD add-apt-repository -y ppa:dotnet/backports
$STD apt-get install -y \ $STD apt-get install -y \
dotnet-sdk-9.0 \ dotnet-sdk-9.0 \
vsftpd \ vsftpd \
nginx \ nginx
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Configure Application" msg_info "Configure Application"
-8
View File
@@ -13,14 +13,6 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing EMQX" msg_info "Installing EMQX"
$STD bash <(curl -fsSL https://packagecloud.io/install/repositories/emqx/emqx/script.deb.sh) $STD bash <(curl -fsSL https://packagecloud.io/install/repositories/emqx/emqx/script.deb.sh)
$STD apt-get install -y emqx $STD apt-get install -y emqx
-2
View File
@@ -15,8 +15,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y git $STD apt-get install -y git
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setup Python3" msg_info "Setup Python3"
+1 -3
View File
@@ -17,9 +17,7 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y \
lsb-release \ lsb-release \
gpg \ gpg
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up evcc Repository" msg_info "Setting up evcc Repository"
-1
View File
@@ -16,7 +16,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y avahi-daemon $STD apt-get install -y avahi-daemon
$STD apt-get install -y gnupg2 $STD apt-get install -y gnupg2
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Fhem Repository" msg_info "Setting up Fhem Repository"
+3 -20
View File
@@ -21,27 +21,10 @@ $STD apt-get install -y \
imagemagick imagemagick
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
read -r -p "Do you need the intel-media-va-driver-non-free driver for HW encoding (Debian 12 only)? <y/N> " prompt
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
msg_info "Installing Intel Hardware Acceleration (non-free)"
cat <<EOF >/etc/apt/sources.list.d/non-free.list
deb http://deb.debian.org/debian bookworm non-free non-free-firmware msg_info "Installing Hardware Acceleration"
deb-src http://deb.debian.org/debian bookworm non-free non-free-firmware $STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,vainfo}
msg_ok "Installed and Set Up Hardware Acceleration"
deb http://deb.debian.org/debian-security bookworm-security non-free non-free-firmware
deb-src http://deb.debian.org/debian-security bookworm-security non-free non-free-firmware
deb http://deb.debian.org/debian bookworm-updates non-free non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates non-free non-free-firmware
EOF
$STD apt-get update
$STD apt-get -y install {intel-media-va-driver-non-free,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools}
else
msg_info "Installing Intel Hardware Acceleration"
$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools}
fi
msg_ok "Installed and Set Up Intel Hardware Acceleration"
msg_info "Installing ASP.NET Core Runtime" msg_info "Installing ASP.NET Core Runtime"
curl -fsSL https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -o packages-microsoft-prod.deb curl -fsSL https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -o packages-microsoft-prod.deb
-2
View File
@@ -15,8 +15,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y gpg $STD apt-get install -y gpg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Node.js" msg_info "Installing Node.js"
-6
View File
@@ -15,17 +15,11 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y \
curl \
git \
sudo \
mc \
apache2 \ apache2 \
php8.2-{apcu,cli,common,curl,gd,imap,ldap,mysql,xmlrpc,xml,mbstring,bcmath,intl,zip,redis,bz2,soap} \ php8.2-{apcu,cli,common,curl,gd,imap,ldap,mysql,xmlrpc,xml,mbstring,bcmath,intl,zip,redis,bz2,soap} \
php-cas \ php-cas \
libapache2-mod-php \ libapache2-mod-php \
mariadb-server \ mariadb-server \
wget \
openssh-server \
cron cron
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
+1 -1
View File
@@ -26,7 +26,7 @@ msg_ok "Installed Dependencies"
msg_info "Setting up Golang" msg_info "Setting up Golang"
set +o pipefail set +o pipefail
temp_file=$(mktemp) temp_file=$(mktemp)
golang_tarball=$(curl -s https://go.dev/dl/ | grep -oP 'go[\d\.]+\.linux-amd64\.tar\.gz' | head -n 1) golang_tarball=$(curl -s https://go.dev/dl/ | grep -oP 'go[\d\.]+\.linux-arm64\.tar\.gz' | head -n 1)
wget -q https://golang.org/dl/"$golang_tarball" -O "$temp_file" wget -q https://golang.org/dl/"$golang_tarball" -O "$temp_file"
tar -C /usr/local -xzf "$temp_file" tar -C /usr/local -xzf "$temp_file"
ln -sf /usr/local/go/bin/go /usr/local/bin/go ln -sf /usr/local/go/bin/go /usr/local/bin/go
-2
View File
@@ -17,8 +17,6 @@ msg_info "Installing Dependencies"
$STD apt-get install -y gnupg $STD apt-get install -y gnupg
$STD apt-get install -y apt-transport-https $STD apt-get install -y apt-transport-https
$STD apt-get install -y software-properties-common $STD apt-get install -y software-properties-common
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Grafana Repository" msg_info "Setting up Grafana Repository"
+1 -3
View File
@@ -19,9 +19,7 @@ $STD apt-get install -y \
gnupg \ gnupg \
ca-certificates \ ca-certificates \
unzip \ unzip \
python3.11-venv \ python3.11-venv
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Node.js" msg_info "Installing Node.js"
-2
View File
@@ -15,8 +15,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y apt-transport-https $STD apt-get install -y apt-transport-https
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing PHP8.2" msg_info "Installing PHP8.2"
+2 -2
View File
@@ -19,8 +19,8 @@ $STD apt-get install -y \
gnupg \ gnupg \
build-essential \ build-essential \
git git
curl -fsSL "http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb" -o $(basename "http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb") curl -fsSL "http://ports.ubuntu.com/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.24_arm64.deb" -o $(basename "http://ports.ubuntu.com/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.24_arm64.deb")
$STD dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb $STD dpkg -i libssl1.1_1.1.1f-1ubuntu2.24_arm64.deb
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"
-2
View File
@@ -16,9 +16,7 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y apt-transport-https $STD apt-get install -y apt-transport-https
$STD apt-get install -y composer $STD apt-get install -y composer
$STD apt-get install -y wget
$STD apt-get install -y php8.2-{bz2,curl,sqlite3,zip,xml} $STD apt-get install -y php8.2-{bz2,curl,sqlite3,zip,xml}
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
RELEASE=$(curl -fsSL "https://api.github.com/repos/linuxserver/Heimdall/releases/latest" | awk '/tag_name/{print $4;exit}' FS='[""]') RELEASE=$(curl -fsSL "https://api.github.com/repos/linuxserver/Heimdall/releases/latest" | awk '/tag_name/{print $4;exit}' FS='[""]')
+1 -3
View File
@@ -23,9 +23,7 @@ $STD apt-get install -y \
build-essential \ build-essential \
nginx \ nginx \
gettext \ gettext \
openssl \ openssl
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"
+1 -3
View File
@@ -45,9 +45,7 @@ $STD apt-get install -y \
libatlas-base-dev \ libatlas-base-dev \
software-properties-common \ software-properties-common \
libmariadb-dev \ libmariadb-dev \
pkg-config \ pkg-config
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setup Python3" msg_info "Setup Python3"
-8
View File
@@ -13,14 +13,6 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Setup Python3" msg_info "Setup Python3"
$STD apt-get install -y \ $STD apt-get install -y \
python3 \ python3 \
-2
View File
@@ -16,8 +16,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y avahi-daemon $STD apt-get install -y avahi-daemon
$STD apt-get install -y gnupg2 $STD apt-get install -y gnupg2
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Homebridge Repository" msg_info "Setting up Homebridge Repository"
-5
View File
@@ -14,13 +14,8 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y ca-certificates $STD apt-get install -y ca-certificates
$STD apt-get install -y wget
$STD apt-get install -y gpg $STD apt-get install -y gpg
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"
-2
View File
@@ -15,8 +15,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y pip $STD apt-get install -y pip
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Homer" msg_info "Installing Homer"
-2
View File
@@ -15,8 +15,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y gpg $STD apt-get install -y gpg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing HyperHDR" msg_info "Installing HyperHDR"
-2
View File
@@ -18,8 +18,6 @@ $STD apt-get install -y lsb-release
$STD apt-get install -y gpg $STD apt-get install -y gpg
$STD apt-get install -y apt-transport-https $STD apt-get install -y apt-transport-https
$STD apt-get install -y libpython3.11 $STD apt-get install -y libpython3.11
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Hyperion" msg_info "Installing Hyperion"
+1 -8
View File
@@ -13,14 +13,7 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies" # broken on arm64
$STD apt-get install -y \
curl \
mc \
sudo \
wget \
openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing InspIRCd" msg_info "Installing InspIRCd"
RELEASE=$(curl -fsSL https://api.github.com/repos/inspircd/inspircd/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') RELEASE=$(curl -fsSL https://api.github.com/repos/inspircd/inspircd/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
+1 -1
View File
@@ -16,7 +16,7 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y gnupg $STD apt-get install -y gnupg
temp_file=$(mktemp) temp_file=$(mktemp)
curl -fsSL "http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb" -o "$temp_file" curl -fsSL "http://ports.ubuntu.com/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.24_arm64.deb" -o "$temp_file"
$STD dpkg -i $temp_file $STD dpkg -i $temp_file
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
-2
View File
@@ -16,8 +16,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y ca-certificates $STD apt-get install -y ca-certificates
$STD apt-get install -y gnupg $STD apt-get install -y gnupg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"
-3
View File
@@ -15,9 +15,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y gpg $STD apt-get install -y gpg
$STD apt-get install -y mc
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting Up Hardware Acceleration" msg_info "Setting Up Hardware Acceleration"
-4
View File
@@ -14,13 +14,9 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y git $STD apt-get install -y git
$STD apt-get install -y ca-certificates $STD apt-get install -y ca-certificates
$STD apt-get install -y gpg $STD apt-get install -y gpg
$STD apt-get install -y openssh-server
$STD apt-get install -y build-essential $STD apt-get install -y build-essential
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
+1 -7
View File
@@ -13,13 +13,7 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y openjdk-17-jre
curl \
mc \
sudo \
openjdk-17-jre \
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setup Jenkins" msg_info "Setup Jenkins"
+2 -8
View File
@@ -14,18 +14,12 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y gnupg
curl \
sudo \
mc \
gnupg \
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing OpenJDK" msg_info "Installing OpenJDK"
curl -fsSL "https://packages.adoptium.net/artifactory/api/gpg/key/public" | gpg --dearmor >/etc/apt/trusted.gpg.d/adoptium.gpg curl -fsSL "https://packages.adoptium.net/artifactory/api/gpg/key/public" | gpg --dearmor >/etc/apt/trusted.gpg.d/adoptium.gpg
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 echo 'deb [arch=arm64 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 update
$STD apt-get install -y temurin-21-jre $STD apt-get install -y temurin-21-jre
msg_ok "Installed OpenJDK" msg_ok "Installed OpenJDK"
+1 -3
View File
@@ -21,9 +21,7 @@ $STD apt-get install -y \
expect \ expect \
composer \ composer \
mariadb-server \ mariadb-server \
lsb-release \ lsb-release
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Adding PHP8.4 Repository" msg_info "Adding PHP8.4 Repository"
+1 -7
View File
@@ -14,13 +14,7 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y openjdk-17-jre
curl \
mc \
sudo \
openjdk-17-jre \
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Komga" msg_info "Installing Komga"
+1 -7
View File
@@ -14,13 +14,7 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y ca-certificates
curl \
sudo \
mc \
ca-certificates \
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setup Docker Repository" msg_info "Setup Docker Repository"
+1 -3
View File
@@ -20,9 +20,7 @@ $STD apt-get install -y \
libpng-dev \ libpng-dev \
libjpeg-dev \ libjpeg-dev \
libtiff-dev \ libtiff-dev \
imagemagick \ imagemagick
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setup Python3" msg_info "Setup Python3"
+1 -3
View File
@@ -21,9 +21,7 @@ $STD apt-get install -y \
postgresql \ postgresql \
build-essential \ build-essential \
cargo \ cargo \
gnupg \ gnupg
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"
+1 -7
View File
@@ -15,14 +15,8 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y \
curl \
sudo \
wget \
mc \
zip \ zip \
jq \ jq
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing LubeLogger" msg_info "Installing LubeLogger"
-2
View File
@@ -19,8 +19,6 @@ $STD apt-get install -y g++
$STD apt-get install -y gcc $STD apt-get install -y gcc
$STD apt-get install -y ca-certificates $STD apt-get install -y ca-certificates
$STD apt-get install -y gnupg $STD apt-get install -y gnupg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"
+1 -7
View File
@@ -14,13 +14,7 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y gnupg
curl \
sudo \
mc \
gnupg \
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"
-4
View File
@@ -14,11 +14,7 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y gnupg $STD apt-get install -y gnupg
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing MariaDB" msg_info "Installing MariaDB"
-2
View File
@@ -16,8 +16,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y gpg $STD apt-get install -y gpg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"
-5
View File
@@ -15,14 +15,9 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y gpg $STD apt-get install -y gpg
$STD apt-get install -y git-core $STD apt-get install -y git-core
$STD apt-get install -y mediainfo $STD apt-get install -y mediainfo
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
cat <<EOF >/etc/apt/sources.list.d/non-free.list cat <<EOF >/etc/apt/sources.list.d/non-free.list
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
EOF EOF
+1 -2
View File
@@ -14,8 +14,7 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y gnupg
gnupg
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setup ${APPLICATION}" msg_info "Setup ${APPLICATION}"
+1 -1
View File
@@ -39,7 +39,7 @@ msg_ok "Installed pnpm"
msg_info "Installing Golang" msg_info "Installing Golang"
set +o pipefail set +o pipefail
temp_file=$(mktemp) temp_file=$(mktemp)
golang_tarball=$(curl -fsSL https://go.dev/dl/ | grep -oP 'go[\d\.]+\.linux-amd64\.tar\.gz' | head -n 1) golang_tarball=$(curl -fsSL https://go.dev/dl/ | grep -oP 'go[\d\.]+\.linux-arm64\.tar\.gz' | head -n 1)
curl -fsSL "https://golang.org/dl/${golang_tarball}" -o "$temp_file" curl -fsSL "https://golang.org/dl/${golang_tarball}" -o "$temp_file"
tar -C /usr/local -xzf "$temp_file" tar -C /usr/local -xzf "$temp_file"
ln -sf /usr/local/go/bin/go /usr/local/bin/go ln -sf /usr/local/go/bin/go /usr/local/bin/go
-2
View File
@@ -16,8 +16,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y ca-certificates $STD apt-get install -y ca-certificates
$STD apt-get install -y gnupg $STD apt-get install -y gnupg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"
+1 -4
View File
@@ -26,10 +26,7 @@ $STD apt-get install -y --no-install-recommends \
git \ git \
make \ make \
gnupg \ gnupg \
ca-certificates \ ca-certificates
mc \
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setup Python3" msg_info "Setup Python3"
-5
View File
@@ -22,11 +22,6 @@ fi
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y gnupg $STD apt-get install -y gnupg
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
read -p "Do you want to install MongoDB 8.0 instead of 7.0? [y/N]: " install_mongodb_8 read -p "Do you want to install MongoDB 8.0 instead of 7.0? [y/N]: " install_mongodb_8
-2
View File
@@ -16,8 +16,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y git $STD apt-get install -y git
$STD apt-get install -y cifs-utils $STD apt-get install -y cifs-utils
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setup Python3" msg_info "Setup Python3"
-2
View File
@@ -15,8 +15,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y gpg $STD apt-get install -y gpg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Mosquitto MQTT Broker" msg_info "Installing Mosquitto MQTT Broker"
+1 -7
View File
@@ -14,13 +14,7 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y jq
curl \
sudo \
mc \
jq \
wget \
openssh-server
echo "deb http://deb.debian.org/debian bookworm non-free non-free-firmware" > /etc/apt/sources.list.d/non-free.list echo "deb http://deb.debian.org/debian bookworm non-free non-free-firmware" > /etc/apt/sources.list.d/non-free.list
$STD apt-get update $STD apt-get update
$STD apt-get install -y unrar $STD apt-get install -y unrar
+1 -4
View File
@@ -17,10 +17,7 @@ msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y \
build-essential \ build-essential \
gpg \ gpg \
ca-certificates \ ca-certificates
mc \
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"
+1 -5
View File
@@ -17,11 +17,7 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y \
lsb-release \ lsb-release \
curl \ gnupg
gnupg \
mc \
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
RELEASE_REPO="mysql-8.0" RELEASE_REPO="mysql-8.0"
+1 -3
View File
@@ -24,9 +24,7 @@ $STD apt-get install -y \
libffi-dev \ libffi-dev \
libpq-dev \ libpq-dev \
libssl-dev \ libssl-dev \
zlib1g-dev \ zlib1g-dev
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Python" msg_info "Installing Python"
-9
View File
@@ -13,15 +13,6 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
curl \
sudo \
mc \
wget \
openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing NextCloudPi (Patience)" msg_info "Installing NextCloudPi (Patience)"
bash <(curl -fsSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh) >/dev/null 2>&1 bash <(curl -fsSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh) >/dev/null 2>&1
msg_ok "Installed NextCloudPi" msg_ok "Installed NextCloudPi"
+1 -4
View File
@@ -24,10 +24,7 @@ $STD apt-get install -y \
libdvbv5-0 \ libdvbv5-0 \
dtv-scan-tables \ dtv-scan-tables \
libc6-dev \ libc6-dev \
ffmpeg \ ffmpeg
mc \
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setup NextPVR (Patience)" msg_info "Setup NextPVR (Patience)"
-2
View File
@@ -15,8 +15,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y gpg $STD apt-get install -y gpg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Notifiarr" msg_info "Installing Notifiarr"
+1 -1
View File
@@ -31,7 +31,7 @@ get_latest_release() {
DOCKER_COMPOSE_LATEST_VERSION=$(get_latest_release "docker/compose") DOCKER_COMPOSE_LATEST_VERSION=$(get_latest_release "docker/compose")
DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker} DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
mkdir -p $DOCKER_CONFIG/cli-plugins mkdir -p $DOCKER_CONFIG/cli-plugins
curl -fsSL https://github.com/docker/compose/releases/download/$DOCKER_COMPOSE_LATEST_VERSION/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose curl -fsSL https://github.com/docker/compose/releases/download/$DOCKER_COMPOSE_LATEST_VERSION/docker-compose-linux-aarch64 -o ~/.docker/cli-plugins/docker-compose
chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose
msg_ok "Installed Docker & Compose" msg_ok "Installed Docker & Compose"
+4 -4
View File
@@ -29,10 +29,10 @@ cd /tmp
BASE_URL="https://updates.networkoptix.com/default/index.html" BASE_URL="https://updates.networkoptix.com/default/index.html"
RELEASE=$(curl -fsSL "$BASE_URL" | grep -oP '(?<=<b>)[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+(?=</b>)' | head -n 1) RELEASE=$(curl -fsSL "$BASE_URL" | grep -oP '(?<=<b>)[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+(?=</b>)' | head -n 1)
DETAIL_PAGE=$(curl -fsSL "$BASE_URL#note_$RELEASE") DETAIL_PAGE=$(curl -fsSL "$BASE_URL#note_$RELEASE")
DOWNLOAD_URL=$(echo "$DETAIL_PAGE" | grep -oP "https://updates.networkoptix.com/default/$RELEASE/linux/nxwitness-server-[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+-linux_x64\.deb" | head -n 1) DOWNLOAD_URL=$(echo "$DETAIL_PAGE" | grep -oP "https://updates.networkoptix.com/default/$RELEASE/arm/nxwitness-server-[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+-linux_arm64\.deb" | head -n 1)
curl -fsSL "$DOWNLOAD_URL" -o ""nxwitness-server-$RELEASE-linux_x64.deb"" curl -fsSL "$DOWNLOAD_URL" -o ""nxwitness-server-$RELEASE-linux_arm64.deb""
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
$STD dpkg -i nxwitness-server-$RELEASE-linux_x64.deb $STD dpkg -i nxwitness-server-$RELEASE-linux_arm64.deb
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
msg_ok "Setup Nx Witness" msg_ok "Setup Nx Witness"
@@ -40,7 +40,7 @@ motd_ssh
customize customize
msg_info "Cleaning up" msg_info "Cleaning up"
rm -f /tmp/nxwitness-server-$RELEASE-linux_x64.deb rm -f /tmp/nxwitness-server-$RELEASE-linux_arm64.deb
$STD apt-get -y autoremove $STD apt-get -y autoremove
$STD apt-get -y autoclean $STD apt-get -y autoclean
msg_ok "Cleaned" msg_ok "Cleaned"
-2
View File
@@ -15,8 +15,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y gpg $STD apt-get install -y gpg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing OpenMediaVault (Patience)" msg_info "Installing OpenMediaVault (Patience)"
+1 -3
View File
@@ -17,9 +17,7 @@ msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y \
default-jdk \ default-jdk \
git \ git \
git-lfs \ git-lfs
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing OneDev" msg_info "Installing OneDev"
+4 -6
View File
@@ -18,9 +18,7 @@ msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y \
gpg \ gpg \
git \ git \
ffmpeg \ ffmpeg
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setup Python3" msg_info "Setup Python3"
@@ -61,9 +59,9 @@ msg_ok "Installed Open WebUI"
read -r -p "Would you like to add Ollama? <y/N> " prompt read -r -p "Would you like to add Ollama? <y/N> " prompt
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
msg_info "Installing Ollama" msg_info "Installing Ollama"
curl -fsSLO https://ollama.com/download/ollama-linux-amd64.tgz curl -fsSLO https://ollama.com/download/ollama-linux-arm64.tgz
tar -C /usr -xzf ollama-linux-amd64.tgz tar -C /usr -xzf ollama-linux-arm64.tgz
rm -rf ollama-linux-amd64.tgz rm -rf ollama-linux-arm64.tgz
cat <<EOF >/etc/systemd/system/ollama.service cat <<EOF >/etc/systemd/system/ollama.service
[Unit] [Unit]
Description=Ollama Service Description=Ollama Service
+1 -3
View File
@@ -22,9 +22,7 @@ $STD apt-get install -y \
php-{opcache,curl,gd,mbstring,xml,bcmath,intl,zip,xsl,pgsql} \ php-{opcache,curl,gd,mbstring,xml,bcmath,intl,zip,xsl,pgsql} \
libapache2-mod-php \ libapache2-mod-php \
composer \ composer \
postgresql \ postgresql
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up PHP" msg_info "Setting up PHP"
-2
View File
@@ -16,8 +16,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y gpg $STD apt-get install -y gpg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Node.js" msg_info "Installing Node.js"
-5
View File
@@ -15,11 +15,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y gnupg $STD apt-get install -y gnupg
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing MongoDB 4.4" msg_info "Installing MongoDB 4.4"
+1 -3
View File
@@ -18,9 +18,7 @@ $STD apt-get install -y \
apache2 \ apache2 \
gpg \ gpg \
ca-certificates \ ca-certificates \
git \ git
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"
+1 -6
View File
@@ -15,16 +15,11 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y \
curl \
sudo \
mc \
mariadb-server \ mariadb-server \
apache2 \ apache2 \
libapache2-mod-php \ libapache2-mod-php \
php8.2 php8.2-{fpm,curl,cli,mysql,gd,intl,imap,apcu,pspell,tidy,xmlrpc,mbstring,gmp,xml,ldap,common,snmp} \ php8.2 php8.2-{fpm,curl,cli,mysql,gd,intl,imap,apcu,pspell,tidy,xmlrpc,mbstring,gmp,xml,ldap,common,snmp} \
php-pear \ php-pear
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up MariaDB" msg_info "Setting up MariaDB"
+1 -3
View File
@@ -28,9 +28,7 @@ $STD apt-get -y install \
nmap \ nmap \
aria2 \ aria2 \
wakeonlan \ wakeonlan \
wget \ cron
cron \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing PHP Dependencies" msg_info "Installing PHP Dependencies"
+1 -7
View File
@@ -14,13 +14,7 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y ufw
curl \
sudo \
mc \
ufw \
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Pi-hole" msg_info "Installing Pi-hole"
+1 -3
View File
@@ -17,9 +17,7 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y \
git \ git \
gnupg \ gnupg
wget \
openssh-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"

Some files were not shown because too many files have changed in this diff Show More