port BC named cts

This commit is contained in:
Sam
2025-01-02 21:48:22 +10:00
parent 9afdcc793b
commit 060dad5633
12 changed files with 13 additions and 25 deletions

View File

@@ -28,6 +28,7 @@ $STD apt-get install -y \
python3-pip \
openssh-server \
wget
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"

View File

@@ -36,6 +36,7 @@ $STD apt-get install -y \
python3-ldap \
python3-msgpack \
python3-regex
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
msg_ok "Installed Python Dependencies"
msg_info "Setting up Node.js Repository"

View File

@@ -38,6 +38,7 @@ $STD apt-get install -y \
git \
openssh-server \
wget
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
msg_ok "Installed Dependencies"
msg_info "Installing yq"
@@ -69,6 +70,7 @@ $STD ./configure --enable-optimizations
$STD make altinstall
cd ~
$STD update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.12 1
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
msg_ok "Setup Python 3"
msg_info "Setting up Node.js Repository"

View File

@@ -25,9 +25,7 @@ msg_info "Updating Python3"
$STD apt-get install -y \
python3 \
python3-dev \
python3-pip \
openssh-server \
wget
python3-pip
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
msg_ok "Updated Python3"

View File

@@ -27,7 +27,7 @@ if systemctl is-active systemd-resolved > /dev/null 2>&1; then
fi
mkdir /opt/blocky
RELEASE=$(curl -s https://api.github.com/repos/0xERR0R/blocky/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
wget -qO- https://github.com/0xERR0R/blocky/releases/download/v${RELEASE}/blocky_v${RELEASE}_Linux_x86_64.tar.gz | tar -xzf - -C /opt/blocky/
wget -qO- https://github.com/0xERR0R/blocky/releases/download/v${RELEASE}/blocky_v${RELEASE}_Linux_arm64.tar.gz | tar -xzf - -C /opt/blocky/
cat <<EOF >/opt/blocky/config.yml
upstream:

View File

@@ -29,8 +29,6 @@ wget -qO- https://nginx.org/keys/nginx_signing.key | gpg --dearmor >/usr/share/k
echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] http://nginx.org/packages/debian $(lsb_release -cs) nginx" >/etc/apt/sources.list.d/nginx.list
$STD apt-get update
$STD apt-get install -y nginx=1.26.2*
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
msg_ok "Installed Nginx"
RELEASE=$(curl -s https://api.github.com/repos/bunkerity/bunkerweb/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
@@ -40,8 +38,6 @@ echo "deb [signed-by=/etc/apt/keyrings/bunkerity_bunkerweb-archive-keyring.gpg]
$STD apt-get update
export UI_WIZARD=1
$STD apt-get install -y bunkerweb=${RELEASE}
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
cat <<EOF >/etc/apt/preferences.d/bunkerweb
Package: bunkerweb
Pin: version ${RELEASE}

View File

@@ -24,8 +24,6 @@ curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmo
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' >/etc/apt/sources.list.d/caddy-stable.list
$STD apt-get update
$STD apt-get install -y caddy
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
msg_ok "Installed Caddy"
motd_ssh

View File

@@ -31,8 +31,8 @@ msg_ok "Installed Python Dependencies"
msg_info "Installing Kepubify"
mkdir -p /opt/kepubify
cd /opt/kepubify
curl -fsSLO https://github.com/pgaskin/kepubify/releases/latest/download/kepubify-linux-64bit &>/dev/null
chmod +x kepubify-linux-64bit
curl -fsSLO https://github.com/pgaskin/kepubify/releases/latest/download/kepubify-linux-arm64 &>/dev/null
chmod +x kepubify-linux-arm64
msg_ok "Installed Kepubify"
msg_info "Installing Calibre-Web"

View File

@@ -68,8 +68,6 @@ msg_ok "Set up Node.js Repository"
msg_info "Installing Node.js"
$STD apt-get update
$STD apt-get install -y nodejs
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
msg_ok "Installed Node.js"
msg_info "Installing Change Detection"
@@ -103,9 +101,7 @@ $STD apt-get install -y \
msttcorefonts \
fonts-roboto \
fonts-thai-tlwg \
fonts-wqy-zenhei \
openssh-server \
wget
fonts-wqy-zenhei
msg_ok "Installed Font Packages"
msg_info "Installing X11 Packages"
@@ -122,9 +118,7 @@ $STD apt-get install -y \
libxrandr2 \
libxrender1 \
libxss1 \
libxtst6 \
openssh-server \
wget
libxtst6
msg_ok "Installed X11 Packages"
msg_info "Creating Services"

View File

@@ -27,8 +27,7 @@ if [[ "$CTTYPE" == "0" ]]; then
msg_info "Setting Up Hardware Acceleration"
$STD apt-get -y install \
va-driver-all \
ocl-icd-libopencl1 \
intel-opencl-icd
ocl-icd-libopencl1
chgrp video /dev/dri
chmod 755 /dev/dri
chmod 660 /dev/dri/*

View File

@@ -5,6 +5,7 @@
# License: MIT
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# ! DOES NOT SUPPORT ARM64 !
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
@@ -25,7 +26,7 @@ msg_ok "Installed Dependencies"
msg_info "Install Checkmk"
RELEASE=$(curl -fsSL https://api.github.com/repos/checkmk/checkmk/tags | grep "name" | awk '{print substr($2, 3, length($2)-4) }' | grep -v "*-rc" | tail -n +2 | head -n 1)
wget -q https://download.checkmk.com/checkmk/${RELEASE}/check-mk-raw-${RELEASE}_0.bookworm_amd64.deb -O /opt/checkmk.deb
wget -q https://download.checkmk.com/checkmk/v2.3.0p23/check-mk-raw-v2.3.0p23_0.bookworm_arm64.deb -O /opt/checkmk.deb
$STD apt-get install -y /opt/checkmk.deb
$STD apt-get install -y openssh-server
$STD apt-get install -y wget

View File

@@ -28,8 +28,6 @@ curl -fsSL https://pkg.cloudflare.com/cloudflare-main.gpg >/usr/share/keyrings/c
echo "deb [signed-by=/usr/share/keyrings/cloudflare-main.gpg] https://pkg.cloudflare.com/cloudflared $VERSION main" >/etc/apt/sources.list.d/cloudflared.list
$STD apt-get update
$STD apt-get install -y cloudflared
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
msg_ok "Installed Cloudflared"
read -r -p "Would you like to configure cloudflared as a DNS-over-HTTPS (DoH) proxy? <y/N> " prompt