forked from forkanization/Proxmox-arm64
@@ -28,7 +28,6 @@ $STD apt-get install -y \
|
|||||||
python3-pip \
|
python3-pip \
|
||||||
openssh-server \
|
openssh-server \
|
||||||
wget
|
wget
|
||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Setting up Node.js Repository"
|
msg_info "Setting up Node.js Repository"
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ $STD apt-get install -y \
|
|||||||
python3-ldap \
|
python3-ldap \
|
||||||
python3-msgpack \
|
python3-msgpack \
|
||||||
python3-regex
|
python3-regex
|
||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
|
||||||
msg_ok "Installed Python Dependencies"
|
msg_ok "Installed Python Dependencies"
|
||||||
|
|
||||||
msg_info "Setting up Node.js Repository"
|
msg_info "Setting up Node.js Repository"
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ $STD apt-get install -y \
|
|||||||
git \
|
git \
|
||||||
openssh-server \
|
openssh-server \
|
||||||
wget
|
wget
|
||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing yq"
|
msg_info "Installing yq"
|
||||||
@@ -70,7 +69,6 @@ $STD ./configure --enable-optimizations
|
|||||||
$STD make altinstall
|
$STD make altinstall
|
||||||
cd ~
|
cd ~
|
||||||
$STD update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.12 1
|
$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_ok "Setup Python 3"
|
||||||
|
|
||||||
msg_info "Setting up Node.js Repository"
|
msg_info "Setting up Node.js Repository"
|
||||||
|
|||||||
@@ -25,7 +25,9 @@ msg_info "Updating Python3"
|
|||||||
$STD apt-get install -y \
|
$STD apt-get install -y \
|
||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-pip
|
python3-pip \
|
||||||
|
openssh-server \
|
||||||
|
wget
|
||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||||
msg_ok "Updated Python3"
|
msg_ok "Updated Python3"
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ if systemctl is-active systemd-resolved > /dev/null 2>&1; then
|
|||||||
fi
|
fi
|
||||||
mkdir /opt/blocky
|
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) }')
|
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_arm64.tar.gz | tar -xzf - -C /opt/blocky/
|
wget -qO- https://github.com/0xERR0R/blocky/releases/download/v${RELEASE}/blocky_v${RELEASE}_Linux_x86_64.tar.gz | tar -xzf - -C /opt/blocky/
|
||||||
|
|
||||||
cat <<EOF >/opt/blocky/config.yml
|
cat <<EOF >/opt/blocky/config.yml
|
||||||
upstream:
|
upstream:
|
||||||
|
|||||||
@@ -29,6 +29,8 @@ 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
|
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 update
|
||||||
$STD apt-get install -y nginx=1.26.2*
|
$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"
|
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) }')
|
RELEASE=$(curl -s https://api.github.com/repos/bunkerity/bunkerweb/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||||
@@ -38,6 +40,8 @@ echo "deb [signed-by=/etc/apt/keyrings/bunkerity_bunkerweb-archive-keyring.gpg]
|
|||||||
$STD apt-get update
|
$STD apt-get update
|
||||||
export UI_WIZARD=1
|
export UI_WIZARD=1
|
||||||
$STD apt-get install -y bunkerweb=${RELEASE}
|
$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
|
cat <<EOF >/etc/apt/preferences.d/bunkerweb
|
||||||
Package: bunkerweb
|
Package: bunkerweb
|
||||||
Pin: version ${RELEASE}
|
Pin: version ${RELEASE}
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ 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
|
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 update
|
||||||
$STD apt-get install -y caddy
|
$STD apt-get install -y caddy
|
||||||
|
$STD apt-get install -y openssh-server
|
||||||
|
$STD apt-get install -y wget
|
||||||
msg_ok "Installed Caddy"
|
msg_ok "Installed Caddy"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
|
|||||||
@@ -31,8 +31,8 @@ msg_ok "Installed Python Dependencies"
|
|||||||
msg_info "Installing Kepubify"
|
msg_info "Installing Kepubify"
|
||||||
mkdir -p /opt/kepubify
|
mkdir -p /opt/kepubify
|
||||||
cd /opt/kepubify
|
cd /opt/kepubify
|
||||||
curl -fsSLO https://github.com/pgaskin/kepubify/releases/latest/download/kepubify-linux-arm64 &>/dev/null
|
curl -fsSLO https://github.com/pgaskin/kepubify/releases/latest/download/kepubify-linux-64bit &>/dev/null
|
||||||
chmod +x kepubify-linux-arm64
|
chmod +x kepubify-linux-64bit
|
||||||
msg_ok "Installed Kepubify"
|
msg_ok "Installed Kepubify"
|
||||||
|
|
||||||
msg_info "Installing Calibre-Web"
|
msg_info "Installing Calibre-Web"
|
||||||
|
|||||||
@@ -68,6 +68,8 @@ msg_ok "Set up Node.js Repository"
|
|||||||
msg_info "Installing Node.js"
|
msg_info "Installing Node.js"
|
||||||
$STD apt-get update
|
$STD apt-get update
|
||||||
$STD apt-get install -y nodejs
|
$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_ok "Installed Node.js"
|
||||||
|
|
||||||
msg_info "Installing Change Detection"
|
msg_info "Installing Change Detection"
|
||||||
@@ -101,7 +103,9 @@ $STD apt-get install -y \
|
|||||||
msttcorefonts \
|
msttcorefonts \
|
||||||
fonts-roboto \
|
fonts-roboto \
|
||||||
fonts-thai-tlwg \
|
fonts-thai-tlwg \
|
||||||
fonts-wqy-zenhei
|
fonts-wqy-zenhei \
|
||||||
|
openssh-server \
|
||||||
|
wget
|
||||||
msg_ok "Installed Font Packages"
|
msg_ok "Installed Font Packages"
|
||||||
|
|
||||||
msg_info "Installing X11 Packages"
|
msg_info "Installing X11 Packages"
|
||||||
@@ -118,7 +122,9 @@ $STD apt-get install -y \
|
|||||||
libxrandr2 \
|
libxrandr2 \
|
||||||
libxrender1 \
|
libxrender1 \
|
||||||
libxss1 \
|
libxss1 \
|
||||||
libxtst6
|
libxtst6 \
|
||||||
|
openssh-server \
|
||||||
|
wget
|
||||||
msg_ok "Installed X11 Packages"
|
msg_ok "Installed X11 Packages"
|
||||||
|
|
||||||
msg_info "Creating Services"
|
msg_info "Creating Services"
|
||||||
|
|||||||
@@ -27,7 +27,8 @@ if [[ "$CTTYPE" == "0" ]]; then
|
|||||||
msg_info "Setting Up Hardware Acceleration"
|
msg_info "Setting Up Hardware Acceleration"
|
||||||
$STD apt-get -y install \
|
$STD apt-get -y install \
|
||||||
va-driver-all \
|
va-driver-all \
|
||||||
ocl-icd-libopencl1
|
ocl-icd-libopencl1 \
|
||||||
|
intel-opencl-icd
|
||||||
chgrp video /dev/dri
|
chgrp video /dev/dri
|
||||||
chmod 755 /dev/dri
|
chmod 755 /dev/dri
|
||||||
chmod 660 /dev/dri/*
|
chmod 660 /dev/dri/*
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
# License: MIT
|
# License: MIT
|
||||||
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
|
||||||
# ! DOES NOT SUPPORT ARM64 !
|
|
||||||
|
|
||||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||||
color
|
color
|
||||||
@@ -26,7 +25,7 @@ msg_ok "Installed Dependencies"
|
|||||||
|
|
||||||
msg_info "Install Checkmk"
|
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)
|
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/v2.3.0p23/check-mk-raw-v2.3.0p23_0.bookworm_arm64.deb -O /opt/checkmk.deb
|
wget -q https://download.checkmk.com/checkmk/${RELEASE}/check-mk-raw-${RELEASE}_0.bookworm_amd64.deb -O /opt/checkmk.deb
|
||||||
$STD apt-get install -y /opt/checkmk.deb
|
$STD apt-get install -y /opt/checkmk.deb
|
||||||
$STD apt-get install -y openssh-server
|
$STD apt-get install -y openssh-server
|
||||||
$STD apt-get install -y wget
|
$STD apt-get install -y wget
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ 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
|
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 update
|
||||||
$STD apt-get install -y cloudflared
|
$STD apt-get install -y cloudflared
|
||||||
|
$STD apt-get install -y openssh-server
|
||||||
|
$STD apt-get install -y wget
|
||||||
msg_ok "Installed Cloudflared"
|
msg_ok "Installed Cloudflared"
|
||||||
|
|
||||||
read -r -p "Would you like to configure cloudflared as a DNS-over-HTTPS (DoH) proxy? <y/N> " prompt
|
read -r -p "Would you like to configure cloudflared as a DNS-over-HTTPS (DoH) proxy? <y/N> " prompt
|
||||||
|
|||||||
Reference in New Issue
Block a user