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

View File

@@ -13,13 +13,6 @@ setting_up_container
network_check
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"
$STD tar zxvf <(curl -fsSL https://static.adtidy.org/adguardhome/release/AdGuardHome_linux_arm64.tar.gz) -C /opt
msg_ok "Installed AdGuard Home"

View File

@@ -21,9 +21,7 @@ $STD apt-get install -y \
libgdal-dev \
git \
python3-venv \
python3-pip \
openssh-server \
wget
python3-pip
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
msg_ok "Installed Dependencies"

View File

@@ -14,14 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apk add \
newt \
curl \
openssh \
nano \
mc \
gpg
$STD apk add gpg
msg_ok "Installed Dependencies"
msg_info "Installing Gitea"

View File

@@ -13,15 +13,6 @@ setting_up_container
network_check
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"
$STD apk add grafana
$STD sed -i '/http_addr/s/127.0.0.1/0.0.0.0/g' /etc/conf.d/grafana

View File

@@ -13,14 +13,5 @@ setting_up_container
network_check
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
customize

View File

@@ -15,9 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apk add \
curl \
mc \
openssh \
nginx \
unzip
msg_ok "Installed Dependencies"

View File

@@ -14,14 +14,9 @@ network_check
update_os
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 nginx
$STD apk add openssh
msg_ok "Installed Dependencies"
msg_info "Installing PHP/Redis"

View File

@@ -14,14 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apk add \
newt \
curl \
openssh \
nano \
mc \
gpg
$STD apk add gpg
msg_ok "Installed Dependencies"
msg_info "Installing Redis"

View File

@@ -14,14 +14,7 @@ network_check
update_os
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 openssh
msg_ok "Installed Dependencies"
msg_info "Installing Alpine-Vaultwarden"

View File

@@ -15,11 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apk add \
newt \
curl \
openssh \
nano \
mc \
gpg \
iptables \
openrc

View File

@@ -13,15 +13,6 @@ setting_up_container
network_check
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"
$STD apk add zigbee2mqtt
mkdir -p /root/.z2m

View File

@@ -16,8 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y apt-transport-https
$STD apt-get install -y gnupg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing Apache CouchDB"

View File

@@ -36,9 +36,7 @@ $STD apt-get install -y \
libavutil-dev \
libavformat-dev \
mariadb-server \
default-jdk \
wget \
openssh-server
default-jdk
msg_ok "Installed Dependencies"
msg_info "Setup Apache Tomcat"

View File

@@ -13,13 +13,6 @@ setting_up_container
network_check
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"
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

View File

@@ -22,9 +22,7 @@ $STD apt-get install -y \
libsasl2-dev \
procps \
dnsutils \
ripgrep \
wget \
openssh-server
ripgrep
msg_ok "Installed Dependencies"
msg_info "Installing Python Dependencies"

View File

@@ -13,14 +13,6 @@ setting_up_container
network_check
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"
$STD apt-get install -y aria2
msg_ok "Installed Aria2"

View File

@@ -15,11 +15,8 @@ update_os
msg_info "Installing Dependencies"
$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 git
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing Node.js"

View File

@@ -15,8 +15,8 @@ update_os
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) }')
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")
$STD dpkg -i "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}_arm64.deb"
msg_ok "Install Authelia completed"
read -p "Enter your domain (ex. example.com): " DOMAIN
@@ -72,7 +72,7 @@ motd_ssh
customize
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 autoclean
msg_ok "Cleaned"

View File

@@ -13,14 +13,6 @@ setting_up_container
network_check
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"
$STD apt-get install -y \
python3 \

View File

@@ -18,15 +18,10 @@ $STD apt-get install -y \
unzip \
mariadb-server \
apache2 \
curl \
sudo \
php8.2-{mbstring,gd,fpm,curl,intl,ldap,tidy,bz2,mysql,zip,xml} \
composer \
libapache2-mod-php \
make \
mc \
wget \
openssh-server
msg_ok "Installed Dependencies"
msg_info "Setting up Database"

View File

@@ -17,8 +17,6 @@ msg_info "Installing Dependencies"
$STD apt-get install -y gpg
$STD apt-get install -y apt-transport-https
$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_info "Installing Nginx"

View File

@@ -14,8 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
gnupg
$STD apt-get install -y gnupg
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"

View File

@@ -16,8 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y imagemagick
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing Python Dependencies"

View File

@@ -13,14 +13,6 @@ setting_up_container
network_check
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)"
DOCKER_CONFIG_PATH='/etc/docker/daemon.json'
mkdir -p $(dirname $DOCKER_CONFIG_PATH)

View File

@@ -41,9 +41,7 @@ $STD apt-get install -y \
xdg-utils \
xvfb \
ca-certificates \
gnupg \
wget \
openssh-server
gnupg
msg_ok "Installed Dependencies"
msg_info "Setup Python3"

View File

@@ -16,8 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y chromium
$STD apt-get install -y xvfb
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
if [[ "$CTTYPE" == "0" ]]; then

View File

@@ -13,14 +13,6 @@ setting_up_container
network_check
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"
mkdir -p --mode=0755 /usr/share/keyrings
VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"

View File

@@ -14,14 +14,6 @@ setting_up_container
network_check
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"
source /etc/os-release
echo "deb http://deb.debian.org/debian ${VERSION_CODENAME}-backports main" >/etc/apt/sources.list.d/backports.list

View File

@@ -14,11 +14,6 @@ network_check
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
$STD apt-get install -y rsync
msg_ok "Installed Dependencies"

View File

@@ -14,13 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
curl \
sudo \
mc \
wget \
openssh-server \
gnupg
$STD apt-get install -y gnupg
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"

View File

@@ -14,12 +14,7 @@ network_check
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 gpg
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"

View File

@@ -13,14 +13,6 @@ setting_up_container
network_check
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
customize

View File

@@ -13,13 +13,6 @@ setting_up_container
network_check
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() {
curl -fsSL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4
}

View File

@@ -23,9 +23,7 @@ $STD add-apt-repository -y ppa:dotnet/backports
$STD apt-get install -y \
dotnet-sdk-9.0 \
vsftpd \
nginx \
wget \
openssh-server
nginx
msg_ok "Installed Dependencies"
msg_info "Configure Application"

View File

@@ -13,14 +13,6 @@ setting_up_container
network_check
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"
$STD bash <(curl -fsSL https://packagecloud.io/install/repositories/emqx/emqx/script.deb.sh)
$STD apt-get install -y emqx

View File

@@ -15,8 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y git
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Setup Python3"

View File

@@ -17,9 +17,7 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
lsb-release \
gpg \
wget \
openssh-server
gpg
msg_ok "Installed Dependencies"
msg_info "Setting up evcc Repository"

View File

@@ -16,7 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y avahi-daemon
$STD apt-get install -y gnupg2
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Setting up Fhem Repository"

View File

@@ -21,27 +21,10 @@ $STD apt-get install -y \
imagemagick
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
deb-src http://deb.debian.org/debian bookworm non-free non-free-firmware
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 Hardware Acceleration"
$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,vainfo}
msg_ok "Installed and Set Up Hardware Acceleration"
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

View File

@@ -15,8 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing Node.js"

View File

@@ -15,17 +15,11 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
curl \
git \
sudo \
mc \
apache2 \
php8.2-{apcu,cli,common,curl,gd,imap,ldap,mysql,xmlrpc,xml,mbstring,bcmath,intl,zip,redis,bz2,soap} \
php-cas \
libapache2-mod-php \
mariadb-server \
wget \
openssh-server \
cron
msg_ok "Installed Dependencies"

View File

@@ -26,7 +26,7 @@ msg_ok "Installed Dependencies"
msg_info "Setting up Golang"
set +o pipefail
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"
tar -C /usr/local -xzf "$temp_file"
ln -sf /usr/local/go/bin/go /usr/local/bin/go

View File

@@ -17,8 +17,6 @@ msg_info "Installing Dependencies"
$STD apt-get install -y gnupg
$STD apt-get install -y apt-transport-https
$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_info "Setting up Grafana Repository"

View File

@@ -19,9 +19,7 @@ $STD apt-get install -y \
gnupg \
ca-certificates \
unzip \
python3.11-venv \
wget \
openssh-server
python3.11-venv
msg_ok "Installed Dependencies"
msg_info "Installing Node.js"

View File

@@ -15,8 +15,6 @@ update_os
msg_info "Installing Dependencies"
$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_info "Installing PHP8.2"

View File

@@ -19,8 +19,8 @@ $STD apt-get install -y \
gnupg \
build-essential \
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")
$STD dpkg -i 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.24_arm64.deb
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"

View File

@@ -16,9 +16,7 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y apt-transport-https
$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 openssh-server
msg_ok "Installed Dependencies"
RELEASE=$(curl -fsSL "https://api.github.com/repos/linuxserver/Heimdall/releases/latest" | awk '/tag_name/{print $4;exit}' FS='[""]')

View File

@@ -23,9 +23,7 @@ $STD apt-get install -y \
build-essential \
nginx \
gettext \
openssl \
wget \
openssh-server
openssl
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"

View File

@@ -45,9 +45,7 @@ $STD apt-get install -y \
libatlas-base-dev \
software-properties-common \
libmariadb-dev \
pkg-config \
wget \
openssh-server
pkg-config
msg_ok "Installed Dependencies"
msg_info "Setup Python3"

View File

@@ -13,14 +13,6 @@ setting_up_container
network_check
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"
$STD apt-get install -y \
python3 \

View File

@@ -16,8 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y avahi-daemon
$STD apt-get install -y gnupg2
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Setting up Homebridge Repository"

View File

@@ -14,13 +14,8 @@ network_check
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 ca-certificates
$STD apt-get install -y wget
$STD apt-get install -y gpg
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"

View File

@@ -15,8 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y pip
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing Homer"

View File

@@ -15,8 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing HyperHDR"

View File

@@ -18,8 +18,6 @@ $STD apt-get install -y lsb-release
$STD apt-get install -y gpg
$STD apt-get install -y apt-transport-https
$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_info "Installing Hyperion"

View File

@@ -13,14 +13,7 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
curl \
mc \
sudo \
wget \
openssh-server
msg_ok "Installed Dependencies"
# broken on arm64
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) }')

View File

@@ -16,7 +16,7 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gnupg
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
msg_ok "Installed Dependencies"

View File

@@ -16,8 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y ca-certificates
$STD apt-get install -y gnupg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"

View File

@@ -15,9 +15,6 @@ update_os
msg_info "Installing Dependencies"
$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_info "Setting Up Hardware Acceleration"

View File

@@ -14,13 +14,9 @@ network_check
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 git
$STD apt-get install -y ca-certificates
$STD apt-get install -y gpg
$STD apt-get install -y openssh-server
$STD apt-get install -y build-essential
msg_ok "Installed Dependencies"

View File

@@ -13,13 +13,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
curl \
mc \
sudo \
openjdk-17-jre \
wget \
openssh-server
$STD apt-get install -y openjdk-17-jre
msg_ok "Installed Dependencies"
msg_info "Setup Jenkins"

View File

@@ -14,18 +14,12 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
curl \
sudo \
mc \
gnupg \
wget \
openssh-server
$STD apt-get install -y gnupg
msg_ok "Installed Dependencies"
msg_info "Installing OpenJDK"
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 install -y temurin-21-jre
msg_ok "Installed OpenJDK"

View File

@@ -21,9 +21,7 @@ $STD apt-get install -y \
expect \
composer \
mariadb-server \
lsb-release \
wget \
openssh-server
lsb-release
msg_ok "Installed Dependencies"
msg_info "Adding PHP8.4 Repository"

View File

@@ -14,13 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
curl \
mc \
sudo \
openjdk-17-jre \
wget \
openssh-server
$STD apt-get install -y openjdk-17-jre
msg_ok "Installed Dependencies"
msg_info "Installing Komga"

View File

@@ -14,13 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
curl \
sudo \
mc \
ca-certificates \
wget \
openssh-server
$STD apt-get install -y ca-certificates
msg_ok "Installed Dependencies"
msg_info "Setup Docker Repository"

View File

@@ -20,9 +20,7 @@ $STD apt-get install -y \
libpng-dev \
libjpeg-dev \
libtiff-dev \
imagemagick \
wget \
openssh-server
imagemagick
msg_ok "Installed Dependencies"
msg_info "Setup Python3"

View File

@@ -21,9 +21,7 @@ $STD apt-get install -y \
postgresql \
build-essential \
cargo \
gnupg \
wget \
openssh-server
gnupg
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"

View File

@@ -15,14 +15,8 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
curl \
sudo \
wget \
mc \
zip \
jq \
wget \
openssh-server
jq
msg_ok "Installed Dependencies"
msg_info "Installing LubeLogger"

View File

@@ -19,8 +19,6 @@ $STD apt-get install -y g++
$STD apt-get install -y gcc
$STD apt-get install -y ca-certificates
$STD apt-get install -y gnupg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"

View File

@@ -14,13 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
curl \
sudo \
mc \
gnupg \
wget \
openssh-server
$STD apt-get install -y gnupg
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"

View File

@@ -14,11 +14,7 @@ network_check
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 gnupg
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing MariaDB"

View File

@@ -16,8 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"

View File

@@ -15,14 +15,9 @@ network_check
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 gpg
$STD apt-get install -y git-core
$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
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
EOF

View File

@@ -14,8 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
gnupg
$STD apt-get install -y gnupg
msg_ok "Installed Dependencies"
msg_info "Setup ${APPLICATION}"

View File

@@ -39,7 +39,7 @@ msg_ok "Installed pnpm"
msg_info "Installing Golang"
set +o pipefail
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"
tar -C /usr/local -xzf "$temp_file"
ln -sf /usr/local/go/bin/go /usr/local/bin/go

View File

@@ -16,8 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y ca-certificates
$STD apt-get install -y gnupg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"

View File

@@ -26,10 +26,7 @@ $STD apt-get install -y --no-install-recommends \
git \
make \
gnupg \
ca-certificates \
mc \
wget \
openssh-server
ca-certificates
msg_ok "Installed Dependencies"
msg_info "Setup Python3"

View File

@@ -22,11 +22,6 @@ fi
msg_info "Installing Dependencies"
$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"
read -p "Do you want to install MongoDB 8.0 instead of 7.0? [y/N]: " install_mongodb_8

View File

@@ -16,8 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y git
$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_info "Setup Python3"

View File

@@ -15,8 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing Mosquitto MQTT Broker"

View File

@@ -14,13 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
curl \
sudo \
mc \
jq \
wget \
openssh-server
$STD apt-get install -y jq
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 install -y unrar

View File

@@ -17,10 +17,7 @@ msg_info "Installing Dependencies"
$STD apt-get install -y \
build-essential \
gpg \
ca-certificates \
mc \
wget \
openssh-server
ca-certificates
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"

View File

@@ -17,11 +17,7 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
lsb-release \
curl \
gnupg \
mc \
wget \
openssh-server
gnupg
msg_ok "Installed Dependencies"
RELEASE_REPO="mysql-8.0"

View File

@@ -24,9 +24,7 @@ $STD apt-get install -y \
libffi-dev \
libpq-dev \
libssl-dev \
zlib1g-dev \
wget \
openssh-server
zlib1g-dev
msg_ok "Installed Dependencies"
msg_info "Installing Python"

View File

@@ -13,15 +13,6 @@ setting_up_container
network_check
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)"
bash <(curl -fsSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh) >/dev/null 2>&1
msg_ok "Installed NextCloudPi"

View File

@@ -24,10 +24,7 @@ $STD apt-get install -y \
libdvbv5-0 \
dtv-scan-tables \
libc6-dev \
ffmpeg \
mc \
wget \
openssh-server
ffmpeg
msg_ok "Installed Dependencies"
msg_info "Setup NextPVR (Patience)"

View File

@@ -15,8 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing Notifiarr"

View File

@@ -31,7 +31,7 @@ get_latest_release() {
DOCKER_COMPOSE_LATEST_VERSION=$(get_latest_release "docker/compose")
DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
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
msg_ok "Installed Docker & Compose"

View File

@@ -29,10 +29,10 @@ cd /tmp
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)
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)
curl -fsSL "$DOWNLOAD_URL" -o ""nxwitness-server-$RELEASE-linux_x64.deb""
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_arm64.deb""
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
msg_ok "Setup Nx Witness"
@@ -40,7 +40,7 @@ motd_ssh
customize
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 autoclean
msg_ok "Cleaned"

View File

@@ -15,8 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing OpenMediaVault (Patience)"

View File

@@ -17,9 +17,7 @@ msg_info "Installing Dependencies"
$STD apt-get install -y \
default-jdk \
git \
git-lfs \
wget \
openssh-server
git-lfs
msg_ok "Installed Dependencies"
msg_info "Installing OneDev"

View File

@@ -18,9 +18,7 @@ msg_info "Installing Dependencies"
$STD apt-get install -y \
gpg \
git \
ffmpeg \
wget \
openssh-server
ffmpeg
msg_ok "Installed Dependencies"
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
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
msg_info "Installing Ollama"
curl -fsSLO https://ollama.com/download/ollama-linux-amd64.tgz
tar -C /usr -xzf ollama-linux-amd64.tgz
rm -rf ollama-linux-amd64.tgz
curl -fsSLO https://ollama.com/download/ollama-linux-arm64.tgz
tar -C /usr -xzf ollama-linux-arm64.tgz
rm -rf ollama-linux-arm64.tgz
cat <<EOF >/etc/systemd/system/ollama.service
[Unit]
Description=Ollama Service

View File

@@ -22,9 +22,7 @@ $STD apt-get install -y \
php-{opcache,curl,gd,mbstring,xml,bcmath,intl,zip,xsl,pgsql} \
libapache2-mod-php \
composer \
postgresql \
wget \
openssh-server
postgresql
msg_ok "Installed Dependencies"
msg_info "Setting up PHP"

View File

@@ -16,8 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
msg_ok "Installed Dependencies"
msg_info "Installing Node.js"

View File

@@ -15,11 +15,6 @@ update_os
msg_info "Installing Dependencies"
$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_info "Installing MongoDB 4.4"

View File

@@ -18,9 +18,7 @@ $STD apt-get install -y \
apache2 \
gpg \
ca-certificates \
git \
wget \
openssh-server
git
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"

View File

@@ -15,16 +15,11 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
curl \
sudo \
mc \
mariadb-server \
apache2 \
libapache2-mod-php \
php8.2 php8.2-{fpm,curl,cli,mysql,gd,intl,imap,apcu,pspell,tidy,xmlrpc,mbstring,gmp,xml,ldap,common,snmp} \
php-pear \
wget \
openssh-server
php-pear
msg_ok "Installed Dependencies"
msg_info "Setting up MariaDB"

View File

@@ -28,9 +28,7 @@ $STD apt-get -y install \
nmap \
aria2 \
wakeonlan \
wget \
cron \
openssh-server
cron
msg_ok "Installed Dependencies"
msg_info "Installing PHP Dependencies"

View File

@@ -14,13 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
curl \
sudo \
mc \
ufw \
wget \
openssh-server
$STD apt-get install -y ufw
msg_ok "Installed Dependencies"
msg_info "Installing Pi-hole"

View File

@@ -17,9 +17,7 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
git \
gnupg \
wget \
openssh-server
gnupg
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"

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