diff --git a/install/2fauth-install.sh b/install/2fauth-install.sh index af312890..2a16c080 100644 --- a/install/2fauth-install.sh +++ b/install/2fauth-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: jkrgr0 # License: MIT # Source: https://docs.2fauth.app/ @@ -24,8 +24,8 @@ $STD apt-get install -y \ composer \ php8.2-{bcmath,common,ctype,curl,fileinfo,fpm,gd,mbstring,mysql,xml,cli} \ mariadb-server \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" # Template: MySQL Database diff --git a/install/5etools-install.sh b/install/5etools-install.sh new file mode 100644 index 00000000..88cba94c --- /dev/null +++ b/install/5etools-install.sh @@ -0,0 +1,85 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2025 community-scripts ORG +# Author: TheRealVira +# License: MIT +# Source: https://5e.tools/ + +# Import Functions und Setup +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt-get install -y \ + curl \ + mc \ + sudo \ + git \ + gpg \ + ca-certificates \ + apache2 \ + wget \ + openssh-server +msg_ok "Installed Dependencies" + +msg_info "Setting up Node.js Repository" +mkdir -p /etc/apt/keyrings +curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg +echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list +msg_ok "Set up Node.js Repository" + +msg_info "Installing Node.js" +$STD apt-get update +$STD apt-get install -y nodejs +msg_ok "Installed Node.js" + +# Setup App +msg_info "Set up 5etools Base" +cd /opt +RELEASE=$(curl -s https://api.github.com/repos/5etools-mirror-3/5etools-src/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') +wget -q "https://github.com/5etools-mirror-3/5etools-src/archive/refs/tags/${RELEASE}.zip" +unzip -q "${RELEASE}.zip" +mv "5etools-src-${RELEASE:1}" /opt/5etools +cd /opt/5etools +$STD npm install +$STD npm run build +echo "${RELEASE}" >"/opt/5etools_version.txt" +msg_ok "Set up 5etools Base" + +msg_info "Set up 5etools Image" +cd /opt +IMG_RELEASE=$(curl -s https://api.github.com/repos/5etools-mirror-2/5etools-img/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') +curl -sSL "https://github.com/5etools-mirror-2/5etools-img/archive/refs/tags/${IMG_RELEASE}.zip" > "${IMG_RELEASE}.zip" +unzip -q "${IMG_RELEASE}.zip" +mv "5etools-img-${IMG_RELEASE:1}" /opt/5etools/img +echo "${IMG_RELEASE}" >"/opt/5etools_IMG_version.txt" +msg_ok "Set up 5etools Image" + +msg_info "Creating Service" +cat <> /etc/apache2/apache2.conf + + SetHandler server-status + Order deny,allow + Allow from all + +EOF +rm -rf /var/www/html +ln -s "/opt/5etools" /var/www/html +chown -R www-data: "/opt/5etools" +chmod -R 755 "/opt/5etools" +msg_ok "Created Service" + +msg_info "Cleaning up" +rm -rf /opt/${IMG_RELEASE}.zip +rm -rf /opt/${RELEASE}.zip +$STD apt-get -y autoremove +$STD apt-get -y autoclean +msg_ok "Cleaned" + +motd_ssh +customize diff --git a/install/actualbudget-install.sh b/install/actualbudget-install.sh index d8f0010d..4141f4d8 100644 --- a/install/actualbudget-install.sh +++ b/install/actualbudget-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -14,15 +14,12 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ - curl \ - sudo \ - mc \ - gpg \ - git \ - build-essential \ - openssh-server \ - wget +$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 +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" diff --git a/install/adguard-install.sh b/install/adguard-install.sh index c8b0d18f..85ddf25d 100644 --- a/install/adguard-install.sh +++ b/install/adguard-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,7 +18,6 @@ $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 -$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing AdGuard Home" diff --git a/install/adventurelog-install.sh b/install/adventurelog-install.sh index da29afa9..f4913880 100644 --- a/install/adventurelog-install.sh +++ b/install/adventurelog-install.sh @@ -4,7 +4,7 @@ # Author: tteck # Co-Author: MickLesk (Canbiz) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE # Source: https://github.com/seanmorley15/AdventureLog source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" @@ -25,10 +25,7 @@ $STD apt-get install -y \ libgdal-dev \ git \ python3-venv \ - python3-pip \ - openssh-server \ - wget -rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED + python3-pip msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" diff --git a/install/agentdvr-install.sh b/install/agentdvr-install.sh index 7b82cdbf..a9150138 100644 --- a/install/agentdvr-install.sh +++ b/install/agentdvr-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -23,8 +23,8 @@ $STD apt-get install -y alsa-utils $STD apt-get install -y libxext-dev $STD apt-get install -y fontconfig $STD apt-get install -y libva-drm2 -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing AgentDVR" diff --git a/install/alpine-docker-install.sh b/install/alpine-docker-install.sh index c0cb7654..5456c141 100644 --- a/install/alpine-docker-install.sh +++ b/install/alpine-docker-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -68,7 +68,7 @@ if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then msg_info "Installing Docker Compose $DOCKER_COMPOSE_LATEST_VERSION" DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker} mkdir -p $DOCKER_CONFIG/cli-plugins - curl -sSL https://github.com/docker/compose/releases/download/$DOCKER_COMPOSE_LATEST_VERSION/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose + curl -sSL 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 $DOCKER_COMPOSE_LATEST_VERSION" fi diff --git a/install/alpine-grafana-install.sh b/install/alpine-grafana-install.sh index 6a5643e7..84fb6def 100644 --- a/install/alpine-grafana-install.sh +++ b/install/alpine-grafana-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color diff --git a/install/alpine-install.sh b/install/alpine-install.sh index 8587a488..f23b8d60 100644 --- a/install/alpine-install.sh +++ b/install/alpine-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color diff --git a/install/alpine-nextcloud-install.sh b/install/alpine-nextcloud-install.sh index 1037d588..59fdcaf9 100644 --- a/install/alpine-nextcloud-install.sh +++ b/install/alpine-nextcloud-install.sh @@ -1,9 +1,9 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color diff --git a/install/alpine-vaultwarden-install.sh b/install/alpine-vaultwarden-install.sh index 0bed6151..c6d27f5d 100644 --- a/install/alpine-vaultwarden-install.sh +++ b/install/alpine-vaultwarden-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/install/alpine-zigbee2mqtt-install.sh b/install/alpine-zigbee2mqtt-install.sh index c96c13b3..2acfb194 100644 --- a/install/alpine-zigbee2mqtt-install.sh +++ b/install/alpine-zigbee2mqtt-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color diff --git a/install/apache-cassandra-install.sh b/install/apache-cassandra-install.sh index dbfe055e..3fdd964e 100644 --- a/install/apache-cassandra-install.sh +++ b/install/apache-cassandra-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,18 +19,15 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y apt-transport-https $STD apt-get install -y gpg -$STD apt-get install -y openssh-server $STD apt-get install -y wget -$STD apk add openssh +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Eclipse Temurin (Patience)" wget -qO- 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-11-jdk -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed Eclipse Temurin" msg_info "Installing Apache Cassandra" @@ -38,8 +35,6 @@ wget -qO- https://downloads.apache.org/cassandra/KEYS | gpg --dearmor >/etc/apt/ echo "deb https://debian.cassandra.apache.org 41x main" >/etc/apt/sources.list.d/cassandra.sources.list $STD apt-get update $STD apt-get install -y cassandra cassandra-tools -$STD apt-get install -y openssh-server -$STD apt-get install -y wget sed -i -e 's/^rpc_address: localhost/#rpc_address: localhost/g' -e 's/^# rpc_interface: eth1/rpc_interface: eth0/g' /etc/cassandra/cassandra.yaml msg_ok "Installed Apache Cassandra" diff --git a/install/apache-couchdb-install.sh b/install/apache-couchdb-install.sh index 7a963f6a..ffdbef21 100644 --- a/install/apache-couchdb-install.sh +++ b/install/apache-couchdb-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,8 +19,8 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y apt-transport-https $STD apt-get install -y gnupg -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Apache CouchDB" diff --git a/install/apache-guacamole-install.sh b/install/apache-guacamole-install.sh index 3038fc40..057f3104 100644 --- a/install/apache-guacamole-install.sh +++ b/install/apache-guacamole-install.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#Copyright (c) 2021-2024 community-scripts ORG +#Copyright (c) 2021-2025 community-scripts ORG # Author: Michel Roegl-Brunner (michelroegl-brunner) | MickLesk (CanbiZ) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -14,32 +14,32 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ - build-essential \ - curl \ - jq \ - libcairo2-dev \ - libturbojpeg0 \ - libpng-dev \ - libtool-bin \ - libossp-uuid-dev \ - libvncserver-dev \ - freerdp2-dev \ - libssh2-1-dev \ - libtelnet-dev \ - libwebsockets-dev \ - libpulse-dev \ - libvorbis-dev \ - libwebp-dev \ - libssl-dev \ - libpango1.0-dev \ - libswscale-dev \ - libavcodec-dev \ - libavutil-dev \ - libavformat-dev \ - mariadb-server \ - default-jdk \ - openssh-server \ - wget + build-essential \ + curl \ + jq \ + libcairo2-dev \ + libturbojpeg0 \ + libpng-dev \ + libtool-bin \ + libossp-uuid-dev \ + libvncserver-dev \ + freerdp2-dev \ + libssh2-1-dev \ + libtelnet-dev \ + libwebsockets-dev \ + libpulse-dev \ + libvorbis-dev \ + libwebp-dev \ + libssl-dev \ + libpango1.0-dev \ + libswscale-dev \ + libavcodec-dev \ + libavutil-dev \ + libavformat-dev \ + mariadb-server \ + default-jdk \ + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setup Apache Tomcat" @@ -128,7 +128,21 @@ Restart=always [Install] WantedBy=multi-user.target EOF -systemctl -q enable --now tomcat guacd mysql +cat </etc/systemd/system/guacd.service +[Unit] +Description=Guacamole Proxy Daemon (guacd) +After=mysql.service tomcat.service +Requires=mysql.service tomcat.service +[Service] +Type=forking +ExecStart=/etc/init.d/guacd start +ExecStop=/etc/init.d/guacd stop +ExecReload=/etc/init.d/guacd restart +PIDFile=/var/run/guacd.pid +[Install] +WantedBy=multi-user.target +EOF +systemctl -q enable --now mysql tomcat guacd msg_ok "Setup Service" motd_ssh diff --git a/install/apt-cacher-ng-install.sh b/install/apt-cacher-ng-install.sh index c1245f3e..b5150ec3 100644 --- a/install/apt-cacher-ng-install.sh +++ b/install/apt-cacher-ng-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,7 +18,6 @@ $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 -$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Apt-Cacher NG" diff --git a/install/archivebox-install.sh b/install/archivebox-install.sh index 27d739f7..7c97f615 100644 --- a/install/archivebox-install.sh +++ b/install/archivebox-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -26,8 +26,8 @@ $STD apt-get install -y \ procps \ dnsutils \ ripgrep \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Installing Python Dependencies" @@ -35,7 +35,7 @@ $STD apt-get install -y \ python3-pip \ python3-ldap \ python3-msgpack \ - python3-regex + python3-regex rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Installed Python Dependencies" @@ -48,18 +48,16 @@ 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 Playright/Chromium" -$STD pip install playwright -$STD playwright install --with-deps chromium -msg_ok "Installed Playright/Chromium" +msg_info "Installing Playwright" +$STD pip install playwright +$STD playwright install-deps chromium +msg_ok "Installed Playwright" -msg_info "Installing ArchiveBox" +msg_info "Installing Chromium and ArchiveBox" mkdir -p /opt/archivebox/{data,.npm,.cache,.local} -$STD adduser --system --shell /bin/bash --gecos 'Archive Box User' --group --disabled-password archivebox +$STD adduser --system --shell /bin/bash --gecos 'Archive Box User' --group --disabled-password --home /home/archivebox archivebox chown -R archivebox:archivebox /opt/archivebox/{data,.npm,.cache,.local} chmod -R 755 /opt/archivebox/data $STD pip install archivebox @@ -68,6 +66,7 @@ expect < " prompt if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then msg_info "Installing AriaNG" - $STD apt-get install -y nginx -$STD apt-get install -y openssh-server -$STD apt-get install -y wget + $STD apt-get install -y nginx + $STD apt-get install -y unzip systemctl disable -q --now nginx wget -q "$(curl -s https://api.github.com/repos/mayswind/ariang/releases/latest | grep download | grep AllInOne.zip | cut -d\" -f4)" $STD unzip AriaNg-*-AllInOne.zip -d /var/www @@ -99,4 +98,4 @@ msg_info "Cleaning up" rm AriaNg-*-AllInOne.zip $STD apt-get -y autoremove $STD apt-get -y autoclean -msg_ok "Cleaned" \ No newline at end of file +msg_ok "Cleaned" diff --git a/install/audiobookshelf-install.sh b/install/audiobookshelf-install.sh index 7e7ca0d3..d7acf941 100644 --- a/install/audiobookshelf-install.sh +++ b/install/audiobookshelf-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color diff --git a/install/authentik-install.sh b/install/authentik-install.sh index b7f6f994..beb9c2dc 100644 --- a/install/authentik-install.sh +++ b/install/authentik-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: remz1337 # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -36,22 +36,21 @@ $STD apt-get install -y \ libmaxminddb0 \ python3-pip \ git \ - openssh-server \ - wget -rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Installing yq" cd /tmp YQ_LATEST="$(wget -qO- "https://api.github.com/repos/mikefarah/yq/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")')" -wget -q "https://github.com/mikefarah/yq/releases/download/${YQ_LATEST}/yq_linux_arm64" -qO /usr/bin/yq +wget -q "https://github.com/mikefarah/yq/releases/download/${YQ_LATEST}/yq_linux_amd64" -qO /usr/bin/yq chmod +x /usr/bin/yq msg_ok "Installed yq" msg_info "Installing GeoIP" cd /tmp GEOIP_RELEASE=$(curl -s https://api.github.com/repos/maxmind/geoipupdate/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') -wget -qO geoipupdate.deb https://github.com/maxmind/geoipupdate/releases/download/v${GEOIP_RELEASE}/geoipupdate_${GEOIP_RELEASE}_linux_arm64.deb +wget -qO geoipupdate.deb https://github.com/maxmind/geoipupdate/releases/download/v${GEOIP_RELEASE}/geoipupdate_${GEOIP_RELEASE}_linux_amd64.deb $STD dpkg -i geoipupdate.deb cat </etc/GeoIP.conf #GEOIPUPDATE_EDITION_IDS="GeoLite2-City GeoLite2-ASN" @@ -70,7 +69,6 @@ $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" @@ -87,7 +85,7 @@ msg_ok "Installed Node.js" msg_info "Installing Golang" cd /tmp set +o pipefail -GO_RELEASE=$(curl -s https://go.dev/dl/ | grep -o -m 1 "go.*\linux-arm64.tar.gz") +GO_RELEASE=$(curl -s https://go.dev/dl/ | grep -o -m 1 "go.*\linux-amd64.tar.gz") wget -q https://golang.org/dl/${GO_RELEASE} tar -xzf ${GO_RELEASE} -C /usr/local ln -s /usr/local/go/bin/go /usr/bin/go diff --git a/install/autobrr-install.sh b/install/autobrr-install.sh index 25fdd81c..52a09616 100644 --- a/install/autobrr-install.sh +++ b/install/autobrr-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,12 +17,12 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Autobrr" -wget -q $(curl -s https://api.github.com/repos/autobrr/autobrr/releases/latest | grep download | grep linux_arm64 | cut -d\" -f4) +wget -q $(curl -s https://api.github.com/repos/autobrr/autobrr/releases/latest | grep download | grep linux_arm64.tar.gz | cut -d\" -f4) tar -C /usr/local/bin -xzf autobrr*.tar.gz rm -rf autobrr*.tar.gz mkdir -p /root/.config/autobrr diff --git a/install/bazarr-install.sh b/install/bazarr-install.sh old mode 100755 new mode 100644 index 77ab879b..7ae07552 --- a/install/bazarr-install.sh +++ b/install/bazarr-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,15 +17,15 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Updating Python3" $STD apt-get install -y \ python3 \ python3-dev \ - python3-pip + python3-pip rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Updated Python3" diff --git a/install/blocky-install.sh b/install/blocky-install.sh index 01da0580..b9ae01ca 100644 --- a/install/blocky-install.sh +++ b/install/blocky-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -17,8 +17,8 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Blocky" @@ -30,241 +30,46 @@ RELEASE=$(curl -s https://api.github.com/repos/0xERR0R/blocky/releases/latest | wget -qO- https://github.com/0xERR0R/blocky/releases/download/v${RELEASE}/blocky_v${RELEASE}_Linux_arm64.tar.gz | tar -xzf - -C /opt/blocky/ cat </opt/blocky/config.yml -upstream: - # these external DNS resolvers will be used. Blocky picks 2 random resolvers from the list for each query - # format for resolver: [net:]host:[port][/path]. net could be empty (default, shortcut for tcp+udp), tcp+udp, tcp, udp, tcp-tls or https (DoH). If port is empty, default port will be used (53 for udp and tcp, 853 for tcp-tls, 443 for https (Doh)) - # this configuration is mandatory, please define at least one external DNS resolver - default: - # example for tcp+udp IPv4 server (https://digitalcourage.de/) - #- 5.9.164.112 - # Cloudflare - - 1.1.1.1 - # example for DNS-over-TLS server (DoT) - #- tcp-tls:fdns1.dismail.de:853 - # example for DNS-over-HTTPS (DoH) - #- https://dns.digitale-gesellschaft.ch/dns-query - # optional: use client name (with wildcard support: * - sequence of any characters, [0-9] - range) - # or single ip address / client subnet as CIDR notation - #laptop*: - #- 123.123.123.123 - -# optional: timeout to query the upstream resolver. Default: 2s -#upstreamTimeout: 2s - -# optional: If true, blocky will fail to start unless at least one upstream server per group is reachable. Default: false -#startVerifyUpstream: true +# configuration documentation: https://0xerr0r.github.io/blocky/latest/configuration/ -# optional: Determines how blocky will create outgoing connections. This impacts both upstreams, and lists. -# accepted: dual, v4, v6 -# default: dual -#connectIPVersion: dual - -# optional: custom IP address(es) for domain name (with all sub-domains). Multiple addresses must be separated by a comma -# example: query "printer.lan" or "my.printer.lan" will return 192.168.178.3 -#customDNS: - #customTTL: 1h - # optional: if true (default), return empty result for unmapped query types (for example TXT, MX or AAAA if only IPv4 address is defined). - # if false, queries with unmapped types will be forwarded to the upstream resolver - #filterUnmappedTypes: true - # optional: replace domain in the query with other domain before resolver lookup in the mapping - #rewrite: - #example.com: printer.lan - #mapping: - #printer.lan: 192.168.178.3,2001:0db8:85a3:08d3:1319:8a2e:0370:7344 - -# optional: definition, which DNS resolver(s) should be used for queries to the domain (with all sub-domains). Multiple resolvers must be separated by a comma -# Example: Query client.fritz.box will ask DNS server 192.168.178.1. This is necessary for local network, to resolve clients by host name -#conditional: - # optional: if false (default), return empty result if after rewrite, the mapped resolver returned an empty answer. If true, the original query will be sent to the upstream resolver - # Example: The query "blog.example.com" will be rewritten to "blog.fritz.box" and also redirected to the resolver at 192.168.178.1. If not found and if was set to , the original query "blog.example.com" will be sent upstream. - # Usage: One usecase when having split DNS for internal and external (internet facing) users, but not all subdomains are listed in the internal domain. - #fallbackUpstream: false - # optional: replace domain in the query with other domain before resolver lookup in the mapping - #rewrite: - #example.com: fritz.box - #mapping: - #fritz.box: 192.168.178.1 - #lan.net: 192.168.178.1,192.168.178.2 +upstreams: + groups: + # these external DNS resolvers will be used. Blocky picks 2 random resolvers from the list for each query + # format for resolver: [net:]host:[port][/path]. net could be empty (default, shortcut for tcp+udp), tcp+udp, tcp, udp, tcp-tls or https (DoH). If port is empty, default port will be used (53 for udp and tcp, 853 for tcp-tls, 443 for https (Doh)) + # this configuration is mandatory, please define at least one external DNS resolver + default: + # Cloudflare + - 1.1.1.1 + # Quad9 DNS-over-TLS server (DoT) + - tcp-tls:dns.quad9.net -# optional: use black and white lists to block queries (for example ads, trackers, adult pages etc.) +# optional: use allow/denylists to block queries (for example ads, trackers, adult pages etc.) blocking: - # definition of blacklist groups. Can be external link (http/https) or local file - blackLists: + # definition of denylist groups. Can be external link (http/https) or local file + denylists: ads: - - https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt - https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts - - http://sysctl.org/cameleon/hosts - - https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt - - | - # inline definition with YAML literal block scalar style - # hosts format - someadsdomain.com - special: - - https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts - # definition of whitelist groups. Attention: if the same group has black and whitelists, whitelists will be used to disable particular blacklist entries. If a group has only whitelist entries -> this means only domains from this list are allowed, all other domains will be blocked - whiteLists: - ads: - - whitelist.txt - - | - # inline definition with YAML literal block scalar style - # hosts format - whitelistdomain.com - # this is a regex - /^banners?[_.-]/ # definition: which groups should be applied for which client clientGroupsBlock: # default will be used, if no special definition for a client name exists default: - ads - - special - # use client name (with wildcard support: * - sequence of any characters, [0-9] - range) - # or single ip address / client subnet as CIDR notation - #laptop*: - #- ads - #192.168.178.1/24: - #- special - # which response will be sent, if query is blocked: - # zeroIp: 0.0.0.0 will be returned (default) - # nxDomain: return NXDOMAIN as return code - # comma separated list of destination IP addresses (for example: 192.100.100.15, 2001:0db8:85a3:08d3:1319:8a2e:0370:7344). Should contain ipv4 and ipv6 to cover all query types. Useful with running web server on this address to display the "blocked" page. - blockType: zeroIp - # optional: TTL for answers to blocked domains - # default: 6h - blockTTL: 1m - # optional: automatically list refresh period (in duration format). Default: 4h. - # Negative value -> deactivate automatically refresh. - # 0 value -> use default - refreshPeriod: 4h - # optional: timeout for list download (each url). Default: 60s. Use large values for big lists or slow internet connections - downloadTimeout: 4m - # optional: Download attempt timeout. Default: 60s - downloadAttempts: 5 - # optional: Time between the download attempts. Default: 1s - downloadCooldown: 10s - # optional: if failOnError, application startup will fail if at least one list can't be downloaded / opened. Default: blocking - #startStrategy: failOnError - -# optional: configuration for caching of DNS responses -caching: - # duration how long a response must be cached (min value). - # If <=0, use response's TTL, if >0 use this value, if TTL is smaller - # Default: 0 - minTime: 5m - # duration how long a response must be cached (max value). - # If <0, do not cache responses - # If 0, use TTL - # If > 0, use this value, if TTL is greater - # Default: 0 - maxTime: 30m - # Max number of cache entries (responses) to be kept in cache (soft limit). Useful on systems with limited amount of RAM. - # Default (0): unlimited - maxItemsCount: 0 - # if true, will preload DNS results for often used queries (default: names queried more than 5 times in a 2-hour time window) - # this improves the response time for often used queries, but significantly increases external traffic - # default: false - prefetching: true - # prefetch track time window (in duration format) - # default: 120 - prefetchExpires: 2h - # name queries threshold for prefetch - # default: 5 - prefetchThreshold: 5 - # Max number of domains to be kept in cache for prefetching (soft limit). Useful on systems with limited amount of RAM. - # Default (0): unlimited - #prefetchMaxItemsCount: 0 - -# optional: configuration of client name resolution -clientLookup: - # optional: this DNS resolver will be used to perform reverse DNS lookup (typically local router) - #upstream: 192.168.178.1 - # optional: some routers return multiple names for client (host name and user defined name). Define which single name should be used. - # Example: take second name if present, if not take first name - #singleNameOrder: - #- 2 - #- 1 - # optional: custom mapping of client name to IP addresses. Useful if reverse DNS does not work properly or just to have custom client names. - #clients: - #laptop: - #- 192.168.178.29 -# optional: configuration for prometheus metrics endpoint -prometheus: - # enabled if true - #enable: true - # url path, optional (default '/metrics') - #path: /metrics # optional: write query information (question, answer, client, duration etc.) to daily csv file queryLog: # optional one of: mysql, postgresql, csv, csv-client. If empty, log to console - #type: mysql - # directory (should be mounted as volume in docker) for csv, db connection string for mysql/postgresql - #target: db_user:db_password@tcp(db_host_or_ip:3306)/db_name?charset=utf8mb4&parseTime=True&loc=Local - #postgresql target: postgres://user:password@db_host_or_ip:5432/db_name - # if > 0, deletes log files which are older than ... days - #logRetentionDays: 7 - # optional: Max attempts to create specific query log writer, default: 3 - #creationAttempts: 1 - # optional: Time between the creation attempts, default: 2s - #creationCooldown: 2s - -# optional: Blocky can synchronize its cache and blocking state between multiple instances through redis. -redis: - # Server address and port - #address: redis:6379 - # Password if necessary - #password: passwd - # Database, default: 0 - #database: 2 - # Connection is required for blocky to start. Default: false - #required: true - # Max connection attempts, default: 3 - #connectionAttempts: 10 - # Time between the connection attempts, default: 1s - #connectionCooldown: 3s - -# optional: DNS listener port(s) and bind ip address(es), default 53 (UDP and TCP). Example: 53, :53, "127.0.0.1:5353,[::1]:5353" -port: 553 -# optional: Port(s) and bind ip address(es) for DoT (DNS-over-TLS) listener. Example: 853, 127.0.0.1:853 -#tlsPort: 853 -# optional: HTTPS listener port(s) and bind ip address(es), default empty = no http listener. If > 0, will be used for prometheus metrics, pprof, REST API, DoH... Example: 443, :443, 127.0.0.1:443 -#httpPort: 4000 -#httpsPort: 443 -# optional: Mininal TLS version that the DoH and DoT server will use -#minTlsServeVersion: 1.3 -# if https port > 0: path to cert and key file for SSL encryption. if not set, self-signed certificate will be generated -#certFile: server.crt -#keyFile: server.key -# optional: use this DNS server to resolve blacklist urls and upstream DNS servers. Useful if no DNS resolver is configured and blocky needs to resolve a host name. Format net:IP:port, net must be udp or tcp -#bootstrapDns: tcp+udp:1.1.1.1 - -filtering: -# optional: drop all queries with following query types. Default: empty - #queryTypes: - #- AAAA - -# optional: if path defined, use this file for query resolution (A, AAAA and rDNS). Default: empty -hostsFile: - # optional: Path to hosts file (e.g. /etc/hosts on Linux) - #filePath: /etc/hosts - # optional: TTL, default: 1h - #hostsTTL: 60m - # optional: Time between hosts file refresh, default: 1h - #refreshPeriod: 30m - # optional: Whether loopback hosts addresses (127.0.0.0/8 and ::1) should be filtered or not, default: false - #filterLoopback: true -# optional: Log level (one from debug, info, warn, error). Default: info -#logLevel: info -# optional: Log format (text or json). Default: text -#logFormat: text -# optional: log timestamps. Default: true -#logTimestamp: true -# optional: obfuscate log output (replace all alphanumeric characters with *) for user sensitive data like request domains or responses to increase privacy. Default: false -#logPrivacy: false - -# optional: add EDE error codes to dns response -#ede: - # enabled if true, Default: false - #enable: true + type: + +# optional: use these DNS servers to resolve denylist urls and upstream DNS servers. It is useful if no system DNS resolver is configured, and/or to encrypt the bootstrap queries. +bootstrapDns: + - upstream: tcp-tls:one.one.one.one + ips: + - 1.1.1.1 + +# optional: logging configuration +log: + # optional: Log level (one from trace, debug, info, warn, error). Default: info + level: info EOF msg_ok "Installed Blocky" diff --git a/install/bookstack-install.sh b/install/bookstack-install.sh index 5b8bd465..618d3765 100644 --- a/install/bookstack-install.sh +++ b/install/bookstack-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (Canbiz) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -25,8 +25,8 @@ $STD apt-get install -y \ libapache2-mod-php \ make \ mc \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Database" diff --git a/install/bunkerweb-install.sh b/install/bunkerweb-install.sh index 90bac87b..0ce1a8ee 100644 --- a/install/bunkerweb-install.sh +++ b/install/bunkerweb-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color diff --git a/install/caddy-install.sh b/install/caddy-install.sh index baec2808..5f1b6da3 100644 --- a/install/caddy-install.sh +++ b/install/caddy-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -14,9 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y {debian-keyring,debian-archive-keyring,apt-transport-https,gpg,curl,sudo,mc} -$STD apt-get install -y openssh-server -$STD apt-get install -y wget +$STD apt-get install -y {debian-keyring,debian-archive-keyring,apt-transport-https,gpg,curl,sudo,mc,wget,openssh-server} msg_ok "Installed Dependencies" msg_info "Installing Caddy" diff --git a/install/calibre-web-install.sh b/install/calibre-web-install.sh index e0763a01..21e214a9 100644 --- a/install/calibre-web-install.sh +++ b/install/calibre-web-install.sh @@ -4,7 +4,7 @@ # Author: tteck (tteckster) # Co-Author: remz1337 # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,8 +19,8 @@ $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y imagemagick -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Python Dependencies" @@ -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-arm64 &>/dev/null -chmod +x kepubify-linux-arm64 +curl -fsSLO https://github.com/pgaskin/kepubify/releases/latest/download/kepubify-linux-64bit &>/dev/null +chmod +x kepubify-linux-64bit msg_ok "Installed Kepubify" msg_info "Installing Calibre-Web" diff --git a/install/casaos-install.sh b/install/casaos-install.sh index 3270173b..dc20b4b4 100644 --- a/install/casaos-install.sh +++ b/install/casaos-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,8 +17,8 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing CasaOS (Patience)" diff --git a/install/changedetection-install.sh b/install/changedetection-install.sh index 9f64bd98..c34132d8 100644 --- a/install/changedetection-install.sh +++ b/install/changedetection-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -45,17 +45,15 @@ $STD apt-get install -y \ xvfb \ ca-certificates \ gnupg \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" 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" @@ -92,16 +90,14 @@ $STD apt-get install -y \ libfontconfig1 \ fonts-freefont-ttf \ fonts-gfs-neohellenic \ - fonts-indic \ - fonts-ipafont-gothic \ - fonts-kacst \ - fonts-liberation \ + fonts-indic fonts-ipafont-gothic \ + fonts-kacst fonts-liberation \ fonts-noto-cjk \ fonts-noto-color-emoji \ msttcorefonts \ fonts-roboto \ fonts-thai-tlwg \ - fonts-wqy-zenhei + fonts-wqy-zenhei msg_ok "Installed Font Packages" msg_info "Installing X11 Packages" @@ -118,7 +114,7 @@ $STD apt-get install -y \ libxrandr2 \ libxrender1 \ libxss1 \ - libxtst6 + libxtst6 msg_ok "Installed X11 Packages" msg_info "Creating Services" diff --git a/install/channels-install.sh b/install/channels-install.sh index 028b6b95..305ec452 100644 --- a/install/channels-install.sh +++ b/install/channels-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,8 +19,8 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y chromium $STD apt-get install -y xvfb -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" if [[ "$CTTYPE" == "0" ]]; then diff --git a/install/checkmk-install.sh b/install/checkmk-install.sh index e67a902e..f271815b 100644 --- a/install/checkmk-install.sh +++ b/install/checkmk-install.sh @@ -1,11 +1,10 @@ #!/usr/bin/env bash -#Copyright (c) 2021-2024 community-scripts ORG +#Copyright (c) 2021-2025 community-scripts ORG # Author: Michel Roegl-Brunner (michelroegl-brunner) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# ! DOES NOT SUPPORT ARM64 ! source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color @@ -20,16 +19,14 @@ $STD apt-get install -y \ curl \ sudo \ mc \ - openssh-server \ - wget + wget \ + openssh-server 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/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_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 echo "${RELEASE}" >"/opt/checkmk_version.txt" msg_ok "Installed Checkmk" diff --git a/install/cloudflared-install.sh b/install/cloudflared-install.sh index 851e0a55..b3927652 100644 --- a/install/cloudflared-install.sh +++ b/install/cloudflared-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,8 +17,8 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Cloudflared" diff --git a/install/cockpit-install.sh b/install/cockpit-install.sh index 7b869eb5..5dc1de23 100644 --- a/install/cockpit-install.sh +++ b/install/cockpit-install.sh @@ -4,7 +4,7 @@ # Author: tteck # Co-Author: havardthom # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE # Source: https://github.com/cockpit-project/cockpit source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" @@ -19,8 +19,8 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Cockpit" diff --git a/install/commafeed-install.sh b/install/commafeed-install.sh index 7c81085c..759e5098 100644 --- a/install/commafeed-install.sh +++ b/install/commafeed-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,9 +17,9 @@ 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 rsync -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server +$STD apt-get install -y rsync msg_ok "Installed Dependencies" msg_info "Installing Azul Zulu" diff --git a/install/cronicle-install.sh b/install/cronicle-install.sh index 58447804..4a037737 100644 --- a/install/cronicle-install.sh +++ b/install/cronicle-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -21,8 +21,8 @@ $STD apt-get install -y git $STD apt-get install -y make $STD apt-get install -y g++ $STD apt-get install -y gcc -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Node.js" diff --git a/install/daemonsync-install.sh b/install/daemonsync-install.sh index 0d8952b8..67b88faf 100644 --- a/install/daemonsync-install.sh +++ b/install/daemonsync-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,13 +17,14 @@ 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 g++-multilib -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server +wget -qL http://ports.ubuntu.com/pool/universe/g/gcc-defaults/g++-multilib-arm-linux-gnueabi_9.3.0-1ubuntu2_arm64.deb +$STD dpkg -i g++-multilib-arm-linux-gnueabi_9.3.0-1ubuntu2_arm64.deb msg_ok "Installed Dependencies" msg_info "Installing Daemon Sync Server" -wget -qL https://github.com/community-scripts/ProxmoxVE/raw/main/misc/daemonsync_2.2.0.0059_amd64.deb +wget -qL https://github.com/tteck/Proxmox/raw/main/misc/daemonsync_2.2.0.0059_amd64.deb $STD dpkg -i daemonsync_2.2.0.0059_amd64.deb msg_ok "Installed Daemon Sync Server" diff --git a/install/dashy-install.sh b/install/dashy-install.sh index 72c3ea94..4acab667 100644 --- a/install/dashy-install.sh +++ b/install/dashy-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,9 +17,9 @@ 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 -$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -31,8 +31,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" RELEASE=$(curl -s https://api.github.com/repos/Lissy93/dashy/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') diff --git a/install/debian-install.sh b/install/debian-install.sh index d863fb3b..3bc16664 100644 --- a/install/debian-install.sh +++ b/install/debian-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,8 +17,8 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" motd_ssh diff --git a/install/deconz-install.sh b/install/deconz-install.sh index f34fecf6..4652b5e1 100644 --- a/install/deconz-install.sh +++ b/install/deconz-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,24 +17,21 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting Phoscon Repository" VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)" curl -fsSL http://phoscon.de/apt/deconz.pub.key >/etc/apt/trusted.gpg.d/deconz.pub.asc -echo "deb [arch=amd64] http://phoscon.de/apt/deconz $VERSION main" >/etc/apt/sources.list.d/deconz.list +echo "deb [arch=arm64] http://phoscon.de/apt/deconz $VERSION main" >/etc/apt/sources.list.d/deconz.list msg_ok "Setup Phoscon Repository" msg_info "Installing deConz" -libssl=$(curl -fsSL "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/" | grep -o 'libssl1\.1_1\.1\.1f-1ubuntu2\.2[^"]*amd64\.deb' | head -n1) -wget -qL http://security.ubuntu.com/ubuntu/pool/main/o/openssl/$libssl -$STD dpkg -i $libssl +wget -qL http://ports.ubuntu.com/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.22_arm64.deb +$STD dpkg -i libssl1.1_1.1.1f-1ubuntu2.22_arm64.deb $STD apt-get update $STD apt-get install -y deconz -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed deConz" msg_info "Creating Service" @@ -61,7 +58,7 @@ motd_ssh customize msg_info "Cleaning up" -rm -rf $libssl +rm -rf libssl1.1_1.1.1f-1ubuntu2.22_arm64.deb $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned" diff --git a/install/deluge-install.sh b/install/deluge-install.sh index dc3283cf..271af84d 100644 --- a/install/deluge-install.sh +++ b/install/deluge-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,16 +19,13 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y python3-libtorrent $STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed Dependencies" 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" diff --git a/install/docker-install.sh b/install/docker-install.sh index 3b2abefe..71113799 100644 --- a/install/docker-install.sh +++ b/install/docker-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color @@ -18,7 +18,6 @@ $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 -$STD apt-get install -y wget msg_ok "Installed Dependencies" get_latest_release() { @@ -65,6 +64,7 @@ else fi fi + motd_ssh customize diff --git a/install/dockge-install.sh b/install/dockge-install.sh index cc1ee0b5..b47f3a79 100644 --- a/install/dockge-install.sh +++ b/install/dockge-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color @@ -17,8 +17,8 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" get_latest_release() { @@ -38,7 +38,7 @@ msg_ok "Installed Docker $DOCKER_LATEST_VERSION" msg_info "Installing Docker Compose $DOCKER_COMPOSE_LATEST_VERSION" DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker} mkdir -p $DOCKER_CONFIG/cli-plugins -curl -sSL https://github.com/docker/compose/releases/download/$DOCKER_COMPOSE_LATEST_VERSION/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose +curl -sSL 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 $DOCKER_COMPOSE_LATEST_VERSION" diff --git a/install/emby-install.sh b/install/emby-install.sh index 88258632..26e95b32 100644 --- a/install/emby-install.sh +++ b/install/emby-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,12 +17,12 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting Up Hardware Acceleration" -$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools} +$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,vainfo} if [[ "$CTTYPE" == "0" ]]; then chgrp video /dev/dri chmod 755 /dev/dri @@ -35,8 +35,8 @@ msg_ok "Set Up Hardware Acceleration" LATEST=$(curl -sL https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep '"tag_name":' | cut -d'"' -f4) msg_info "Installing Emby" -wget -q https://github.com/MediaBrowser/Emby.Releases/releases/download/${LATEST}/emby-server-deb_${LATEST}_amd64.deb -$STD dpkg -i emby-server-deb_${LATEST}_amd64.deb +wget -q https://github.com/MediaBrowser/Emby.Releases/releases/download/${LATEST}/emby-server-deb_${LATEST}_arm64.deb +$STD dpkg -i emby-server-deb_${LATEST}_arm64.deb if [[ "$CTTYPE" == "0" ]]; then sed -i -e 's/^ssl-cert:x:104:$/render:x:104:root,emby/' -e 's/^render:x:108:root,emby$/ssl-cert:x:108:/' /etc/group else @@ -50,5 +50,5 @@ customize msg_info "Cleaning up" $STD apt-get -y autoremove $STD apt-get -y autoclean -rm emby-server-deb_${LATEST}_amd64.deb +rm emby-server-deb_${LATEST}_arm64.deb msg_ok "Cleaned" diff --git a/install/emqx-install.sh b/install/emqx-install.sh index a3619c8e..ebcdde17 100644 --- a/install/emqx-install.sh +++ b/install/emqx-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,15 +17,13 @@ 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 $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 -$STD apt-get install -y openssh-server -$STD apt-get install -y wget $STD systemctl enable --now emqx msg_ok "Installed EMQX" diff --git a/install/ersatztv-install.sh b/install/ersatztv-install.sh index 2aaf9d3d..2d156560 100644 --- a/install/ersatztv-install.sh +++ b/install/ersatztv-install.sh @@ -4,7 +4,7 @@ # Author: tteck # Co-Author: MickLesk (Canbiz) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE # Source: https://github.com/ErsatzTV/ErsatzTV source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" @@ -19,8 +19,9 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y ca-certificates +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing FFmpeg (Patience)" @@ -49,8 +50,8 @@ msg_ok "Set Up Hardware Acceleration" msg_info "Installing ErsatzTV" RELEASE=$(curl -s https://api.github.com/repos/ErsatzTV/ErsatzTV/releases | grep -oP '"tag_name": "\K[^"]+' | head -n 1) -wget -qO- "https://github.com/ErsatzTV/ErsatzTV/releases/download/${RELEASE}/ErsatzTV-${RELEASE}-linux-x64.tar.gz" | tar -xz -C /opt -mv "/opt/ErsatzTV-${RELEASE}-linux-x64" /opt/ErsatzTV +wget -qO- "https://github.com/ErsatzTV/ErsatzTV/releases/download/${RELEASE}/ErsatzTV-${RELEASE}-linux-arm64.tar.gz" | tar -xz -C /opt +mv "/opt/ErsatzTV-${RELEASE}-linux-arm64" /opt/ErsatzTV msg_ok "Installed ErsatzTV" msg_info "Creating Service" diff --git a/install/esphome-install.sh b/install/esphome-install.sh index c10d7172..b3068ae5 100644 --- a/install/esphome-install.sh +++ b/install/esphome-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color @@ -18,8 +18,8 @@ $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 openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Updating Python3" @@ -27,9 +27,7 @@ $STD apt-get install -y \ python3 \ python3-dev \ python3-pip \ - python3-venv \ - openssh-server \ - wget + python3-venv rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Updated Python3" diff --git a/install/evcc-install.sh b/install/evcc-install.sh index 91d7e7b7..0040dc95 100644 --- a/install/evcc-install.sh +++ b/install/evcc-install.sh @@ -4,7 +4,7 @@ # Author: tteck # Co-Author: MickLesk (Canbiz) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE # Source: https://github.com/evcc-io/evcc source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" @@ -22,8 +22,8 @@ $STD apt-get install -y \ mc \ lsb-release \ gpg \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setting up evcc Repository" diff --git a/install/fenrus-install.sh b/install/fenrus-install.sh index f80a539c..c58dfb37 100644 --- a/install/fenrus-install.sh +++ b/install/fenrus-install.sh @@ -4,7 +4,7 @@ # Author: tteck (tteckster) # Co-Author: Scorpoon # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE # Source: https://github.com/revenz/Fenrus @@ -22,22 +22,17 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y curl $STD apt-get install -y git -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing ASP.NET Core 7 SDK" -var_os=$(grep "^ID=" /etc/os-release | cut -d'=' -f2 | tr -d '"') -var_version=$(grep "^VERSION_ID=" /etc/os-release | cut -d'=' -f2 | tr -d '"') -if [ "${var_os}" = "debian" ]; then - wget -q "https://packages.microsoft.com/config/debian/$var_version/packages-microsoft-prod.deb" - $STD dpkg -i packages-microsoft-prod.deb - rm packages-microsoft-prod.deb -fi -$STD apt-get update -$STD apt-get install -y dotnet-sdk-7.0 -$STD apt-get install -y openssh-server -$STD apt-get install -y wget +curl -SL -o dotnet.tar.gz https://download.visualstudio.microsoft.com/download/pr/460f951f-0944-442b-8474-555e20394ca8/5fcf6b1845d87d772f919737b3dd5f55/dotnet-sdk-7.0.408-linux-arm64.tar.gz +curl -SL -o aspnet.tar.gz https://download.visualstudio.microsoft.com/download/pr/119db743-de75-4bfd-ac51-f2a2bfd1dd1b/4e96dcef933e3787a34691a86f8972cf/aspnetcore-runtime-7.0.18-linux-arm64.tar.gz +$STD mkdir -p /usr/share/dotnet +$STD tar -zxf dotnet.tar.gz -C /usr/share/dotnet +$STD tar -zxf aspnet.tar.gz -C /usr/share/dotnet +ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet msg_ok "Installed ASP.NET Core 7 SDK" msg_info "Installing ${APPLICATION}" diff --git a/install/fhem-install.sh b/install/fhem-install.sh index 9ffe683e..d16d4806 100644 --- a/install/fhem-install.sh +++ b/install/fhem-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -20,7 +20,6 @@ $STD apt-get install -y mc $STD apt-get install -y avahi-daemon $STD apt-get install -y gnupg2 $STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Setting up Fhem Repository" @@ -31,8 +30,6 @@ msg_ok "Set up Fhem Repository" msg_info "Installing Fhem" $STD apt-get update $STD apt-get install -y fhem -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_info "Installed Fhem" motd_ssh diff --git a/install/firefly-install.sh b/install/firefly-install.sh new file mode 100644 index 00000000..703d979e --- /dev/null +++ b/install/firefly-install.sh @@ -0,0 +1,103 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2025 community-scripts ORG +# Author: quantumryuu +# License: MIT +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt-get install -y \ + curl \ + mc \ + sudo \ + wget \ + openssh-server +curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg +echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ bookworm main" >/etc/apt/sources.list.d/php.list +$STD apt-get update +$STD apt-get install -y \ + apache2 \ + libapache2-mod-php8.4 \ + php8.4-{bcmath,cli,intl,curl,zip,gd,xml,mbstring,mysql} \ + mariadb-server \ + composer +msg_ok "Installed Dependencies" + +msg_info "Setting up database" +DB_NAME=firefly +DB_USER=firefly +DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13) +MYSQL_VERSION=$(mysql --version | grep -oP 'Distrib \K[0-9]+\.[0-9]+\.[0-9]+') +mysql -u root -e "CREATE DATABASE $DB_NAME;" +mysql -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED WITH mysql_native_password AS PASSWORD('$DB_PASS');" +mysql -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH PRIVILEGES;" +{ + echo "Firefly-Credentials" + echo "Firefly Database User: $DB_USER" + echo "Firefly Database Password: $DB_PASS" + echo "Firefly Database Name: $DB_NAME" +} >> ~/firefly.creds +msg_ok "Set up database" + +msg_info "Installing Firefly III (Patience)" +RELEASE=$(curl -s https://api.github.com/repos/firefly-iii/firefly-iii/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4)}') +cd /opt +wget -q "https://github.com/firefly-iii/firefly-iii/releases/download/v${RELEASE}/FireflyIII-v${RELEASE}.tar.gz" +mkdir -p /opt/firefly +tar -xzf FireflyIII-v${RELEASE}.tar.gz -C /opt/firefly +chown -R www-data:www-data /opt/firefly +chmod -R 775 /opt/firefly/storage +cd /opt/firefly +cp .env.example .env +sed -i "s/DB_HOST=.*/DB_HOST=localhost/" /opt/firefly/.env +sed -i "s/DB_PASSWORD=.*/DB_PASSWORD=$DB_PASS/" /opt/firefly/.env +echo "export COMPOSER_ALLOW_SUPERUSER=1" >> ~/.bashrc +source ~/.bashrc +$STD composer install --no-dev --no-plugins --no-interaction +$STD php artisan firefly:upgrade-database +$STD php artisan firefly:correct-database +$STD php artisan firefly:report-integrity +$STD php artisan firefly:laravel-passport-keys +echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt" +msg_ok "Installed Firefly III" + +msg_info "Creating Service" +cat </etc/apache2/sites-available/firefly.conf + + ServerAdmin webmaster@localhost + DocumentRoot /opt/firefly/public/ + + + Options FollowSymLinks + AllowOverride All + Require all granted + + + ErrorLog /var/log/apache2/error.log + CustomLog /var/log/apache2/access.log combined + + +EOF +$STD a2enmod php8.4 +$STD a2enmod rewrite +$STD a2ensite firefly.conf +$STD a2dissite 000-default.conf +$STD systemctl reload apache2 +msg_ok "Created Service" + +motd_ssh +customize + +msg_info "Cleaning up" +rm -rf /opt/FireflyIII-v${RELEASE}.tar.gz +$STD apt-get -y autoremove +$STD apt-get -y autoclean +msg_ok "Cleaned" diff --git a/install/flaresolverr-install.sh b/install/flaresolverr-install.sh index 680faf05..83897bc3 100644 --- a/install/flaresolverr-install.sh +++ b/install/flaresolverr-install.sh @@ -4,7 +4,7 @@ # Author: tteck (tteckster) # Co-Author: remz1337 # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -21,25 +21,33 @@ $STD apt-get install -y mc $STD apt-get install -y apt-transport-https $STD apt-get install -y gpg $STD apt-get install -y xvfb -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y git +$STD apt-get install -y openssh-server +$STD apt-get install -y chromium-common +$STD apt-mark hold chromium msg_ok "Installed Dependencies" -msg_info "Installing Chrome" -wget -qO- https://dl.google.com/linux/linux_signing_key.pub | gpg --dearmor -o /usr/share/keyrings/google-chrome.gpg -echo "deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list -$STD apt update -$STD apt install -y google-chrome-stable -msg_ok "Installed Chrome" +msg_info "Updating Python3" +$STD apt-get install -y \ + python3 \ + python3-dev \ + python3-pip +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED +msg_ok "Updated Python3" msg_info "Installing FlareSolverr" -RELEASE=$(wget -q https://github.com/FlareSolverr/FlareSolverr/releases/latest -O - | grep "title>Release" | cut -d " " -f 4) -$STD wget -q https://github.com/FlareSolverr/FlareSolverr/releases/download/$RELEASE/flaresolverr_linux_x64.tar.gz -$STD tar -xzf flaresolverr_linux_x64.tar.gz -C /opt -$STD rm flaresolverr_linux_x64.tar.gz -echo "${RELEASE}" >/opt/${APPLICATION}_version.txt +$STD git clone https://github.com/FlareSolverr/FlareSolverr /opt/flaresolverr +$STD pip install -r /opt/flaresolverr/requirements.txt msg_ok "Installed FlareSolverr" +msg_info "Installing Chrome Webdriver" +wget -q https://github.com/electron/electron/releases/download/v33.2.0/chromedriver-v33.2.0-linux-arm64.zip -O /opt/flaresolverr/webdriver.zip +cd /opt/flaresolverr +unzip -q webdriver.zip chromedriver +sed -i 's|^PATCHED_DRIVER_PATH = None|PATCHED_DRIVER_PATH = "/opt/flaresolverr/chromedriver"|' ./src/utils.py +msg_ok "Installed Chrome Webdriver" + msg_info "Creating Service" cat </etc/systemd/system/flaresolverr.service [Unit] @@ -53,7 +61,7 @@ Type=simple Environment="LOG_LEVEL=info" Environment="CAPTCHA_SOLVER=none" WorkingDirectory=/opt/flaresolverr -ExecStart=/opt/flaresolverr/flaresolverr +ExecStart=python3 /opt/flaresolverr/src/flaresolverr.py TimeoutStopSec=30 [Install] WantedBy=multi-user.target @@ -65,6 +73,7 @@ motd_ssh customize msg_info "Cleaning up" +rm /opt/flaresolverr/webdriver.zip $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned" diff --git a/install/flowiseai-install.sh b/install/flowiseai-install.sh index b2f45ad3..51d352aa 100644 --- a/install/flowiseai-install.sh +++ b/install/flowiseai-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,8 +18,8 @@ $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 openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Node.js" @@ -28,8 +28,6 @@ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dea echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list $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 FlowiseAI (Patience)" diff --git a/install/forgejo-install.sh b/install/forgejo-install.sh index e7f3a0e8..ffb52035 100644 --- a/install/forgejo-install.sh +++ b/install/forgejo-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,16 +19,16 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y git $STD apt-get install -y git-lfs -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Forgejo" mkdir -p /opt/forgejo RELEASE=$(curl -s https://codeberg.org/api/v1/repos/forgejo/forgejo/releases/latest | grep -oP '"tag_name":\s*"\K[^"]+' | sed 's/^v//') -wget -qO /opt/forgejo/forgejo-$RELEASE-linux-amd64 "https://codeberg.org/forgejo/forgejo/releases/download/v${RELEASE}/forgejo-${RELEASE}-linux-amd64" -chmod +x /opt/forgejo/forgejo-$RELEASE-linux-amd64 -ln -sf /opt/forgejo/forgejo-$RELEASE-linux-amd64 /usr/local/bin/forgejo +wget -qO /opt/forgejo/forgejo-$RELEASE-linux-arm64 "https://codeberg.org/forgejo/forgejo/releases/download/v${RELEASE}/forgejo-${RELEASE}-linux-arm64" +chmod +x /opt/forgejo/forgejo-$RELEASE-linux-arm64 +ln -sf /opt/forgejo/forgejo-$RELEASE-linux-arm64 /usr/local/bin/forgejo msg_ok "Installed Forgejo" msg_info "Setting up Forgejo" diff --git a/install/frigate-install.sh b/install/frigate-install.sh index ced35483..9e5cdffb 100644 --- a/install/frigate-install.sh +++ b/install/frigate-install.sh @@ -4,7 +4,7 @@ # Author: tteck (tteckster) # Co-Author: remz1337 # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color @@ -15,15 +15,11 @@ network_check update_os msg_info "Installing Dependencies (Patience)" -$STD apt-get install -y {curl,sudo,mc,git,gpg,automake,build-essential,xz-utils,libtool,ccache,pkg-config,libgtk-3-dev,libavcodec-dev,libavformat-dev,libswscale-dev,libv4l-dev,libxvidcore-dev,libx264-dev,libjpeg-dev,libpng-dev,libtiff-dev,gfortran,openexr,libatlas-base-dev,libssl-dev,libtbb2,libtbb-dev,libdc1394-22-dev,libopenexr-dev,libgstreamer-plugins-base1.0-dev,libgstreamer1.0-dev,gcc,gfortran,libopenblas-dev,liblapack-dev,libusb-1.0-0-dev,jq,moreutils} -$STD apt-get install -y openssh-server -$STD apt-get install -y wget +$STD apt-get install -y {curl,sudo,mc,git,gpg,automake,build-essential,xz-utils,libtool,ccache,pkg-config,libgtk-3-dev,libavcodec-dev,libavformat-dev,libswscale-dev,libv4l-dev,libxvidcore-dev,libx264-dev,libjpeg-dev,libpng-dev,libtiff-dev,gfortran,openexr,libatlas-base-dev,libssl-dev,libtbb2,libtbb-dev,libdc1394-22-dev,libopenexr-dev,libgstreamer-plugins-base1.0-dev,libgstreamer1.0-dev,gcc,gfortran,libopenblas-dev,liblapack-dev,libusb-1.0-0-dev,jq,moreutils,wget,openssh-server,ca-certificates} msg_ok "Installed Dependencies" msg_info "Installing Python3 Dependencies" $STD apt-get install -y {python3,python3-dev,python3-setuptools,python3-distutils,python3-pip} -$STD apt-get install -y openssh-server -$STD apt-get install -y wget $STD pip install --upgrade pip msg_ok "Installed Python3 Dependencies" @@ -33,20 +29,18 @@ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dea echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list $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 go2rtc" mkdir -p /usr/local/go2rtc/bin cd /usr/local/go2rtc/bin -wget -qO go2rtc "https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_amd64" +wget -qO go2rtc "https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_arm64" chmod +x go2rtc $STD ln -svf /usr/local/go2rtc/bin/go2rtc /usr/local/bin/go2rtc msg_ok "Installed go2rtc" msg_info "Setting Up Hardware Acceleration" -$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools} +$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,vainfo} if [[ "$CTTYPE" == "0" ]]; then chgrp video /dev/dri chmod 755 /dev/dri @@ -66,7 +60,7 @@ rm -rf frigate.tar.gz cd /opt/frigate $STD pip3 wheel --wheel-dir=/wheels -r /opt/frigate/docker/main/requirements-wheels.txt cp -a /opt/frigate/docker/main/rootfs/. / -export TARGETARCH="amd64" +export TARGETARCH="arm64" echo 'libc6 libraries/restart-without-asking boolean true' | debconf-set-selections $STD /opt/frigate/docker/main/install_deps.sh $STD apt update diff --git a/install/gitea-install.sh b/install/gitea-install.sh index 4271d1d4..726c1391 100644 --- a/install/gitea-install.sh +++ b/install/gitea-install.sh @@ -4,7 +4,7 @@ # Author: tteck (tteckster) # Co-author: Rogue-King # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -26,7 +26,7 @@ msg_ok "Installed Dependencies" msg_info "Installing Gitea" RELEASE=$(wget -q https://github.com/go-gitea/gitea/releases/latest -O - | grep "title>Release" | cut -d " " -f 4 | sed 's/^v//') -wget -q https://github.com/go-gitea/gitea/releases/download/v$RELEASE/gitea-$RELEASE-linux-amd64 +wget -q https://github.com/go-gitea/gitea/releases/download/v$RELEASE/gitea-$RELEASE-linux-arm64 mv gitea* /usr/local/bin/gitea chmod +x /usr/local/bin/gitea adduser --system --group --disabled-password --shell /bin/bash --home /etc/gitea gitea > /dev/null diff --git a/install/glance-install.sh b/install/glance-install.sh index 68628790..690d939b 100644 --- a/install/glance-install.sh +++ b/install/glance-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -15,20 +15,20 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ - curl \ - sudo \ - mc \ - openssh-server \ - wget + curl \ + sudo \ + mc \ + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Installing Glance" RELEASE=$(curl -s https://api.github.com/repos/glanceapp/glance/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') cd /opt -wget -q https://github.com/glanceapp/glance/releases/download/v${RELEASE}/glance-linux-amd64.tar.gz +wget -q https://github.com/glanceapp/glance/releases/download/v${RELEASE}/glance-linux-arm64.tar.gz mkdir -p /opt/glance -tar -xzf glance-linux-amd64.tar.gz -C /opt/glance +tar -xzf glance-linux-arm64.tar.gz -C /opt/glance cat </opt/glance/glance.yml pages: - name: Startpage @@ -77,7 +77,7 @@ motd_ssh customize msg_info "Cleaning up" -rm -rf /opt/glance-linux-amd64.tar.gz +rm -rf /opt/glance-linux-arm64.tar.gz $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned" \ No newline at end of file diff --git a/install/glpi-install.sh b/install/glpi-install.sh new file mode 100644 index 00000000..aab88b57 --- /dev/null +++ b/install/glpi-install.sh @@ -0,0 +1,153 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2025 community-scripts ORG +# Author: Nícolas Pastorello (opastorello) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +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 +msg_ok "Installed Dependencies" + +msg_info "Setting up database" +DB_NAME=glpi_db +DB_USER=glpi +DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13) +mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql mysql +mysql -u root -e "CREATE DATABASE $DB_NAME;" +mysql -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED BY '$DB_PASS';" +mysql -u root -e "GRANT ALL PRIVILEGES ON $DB_NAME.* TO '$DB_USER'@'localhost';" +mysql -u root -e "GRANT SELECT ON \`mysql\`.\`time_zone_name\` TO '$DB_USER'@'localhost'; FLUSH PRIVILEGES;" +{ + echo "GLPI Database Credentials" + echo "Database: $DB_NAME" + echo "Username: $DB_USER" + echo "Password: $DB_PASS" +} >> ~/glpi_db.creds +msg_ok "Set up database" + +msg_info "Installing GLPi" +cd /opt +RELEASE=$(curl -s https://api.github.com/repos/glpi-project/glpi/releases/latest | grep '"tag_name"' | sed -E 's/.*"tag_name": "([^"]+)".*/\1/') +wget -q "https://github.com/glpi-project/glpi/releases/download/${RELEASE}/glpi-${RELEASE}.tgz" +$STD tar -xzvf glpi-${RELEASE}.tgz +cd /opt/glpi +$STD php bin/console db:install --db-name=$DB_NAME --db-user=$DB_USER --db-password=$DB_PASS --no-interaction +echo "${RELEASE}" >/opt/${APPLICATION}_version.txt +msg_ok "Installed GLPi" + +msg_info "Setting Downstream file" +cat < /opt/glpi/inc/downstream.php + /etc/glpi/local_define.php +/etc/apache2/sites-available/glpi.conf + + ServerName localhost + DocumentRoot /opt/glpi/public + + + Require all granted + RewriteEngine On + RewriteCond %{HTTP:Authorization} ^(.+)$ + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^(.*)$ index.php [QSA,L] + + + ErrorLog \${APACHE_LOG_DIR}/glpi_error.log + CustomLog \${APACHE_LOG_DIR}/glpi_access.log combined + +EOF +$STD a2dissite 000-default.conf +$STD a2enmod rewrite +$STD a2ensite glpi.conf +msg_ok "Setup Service" + +msg_info "Setup Cronjob" +echo "* * * * * php /opt/glpi/front/cron.php" | crontab - +msg_ok "Setup Cronjob" + +msg_info "Update PHP Params" +PHP_VERSION=$(ls /etc/php/ | grep -E '^[0-9]+\.[0-9]+$' | head -n 1) +PHP_INI="/etc/php/$PHP_VERSION/apache2/php.ini" +sed -i 's/^upload_max_filesize = .*/upload_max_filesize = 20M/' $PHP_INI +sed -i 's/^post_max_size = .*/post_max_size = 20M/' $PHP_INI +sed -i 's/^max_execution_time = .*/max_execution_time = 60/' $PHP_INI +sed -i 's/^max_input_vars = .*/max_input_vars = 5000/' $PHP_INI +sed -i 's/^memory_limit = .*/memory_limit = 256M/' $PHP_INI +sed -i 's/^;\?\s*session.cookie_httponly\s*=.*/session.cookie_httponly = On/' $PHP_INI +systemctl restart apache2 +msg_ok "Update PHP Params" + +motd_ssh +customize + +msg_info "Cleaning up" +rm -rf /opt/glpi/install +rm -rf /opt/glpi-${RELEASE}.tgz +$STD apt-get -y autoremove +$STD apt-get -y autoclean +msg_ok "Cleaned" diff --git a/install/go2rtc-install.sh b/install/go2rtc-install.sh index b15eeaee..4d0714e1 100644 --- a/install/go2rtc-install.sh +++ b/install/go2rtc-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,15 +17,15 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing go2rtc" mkdir -p /opt/go2rtc cd /opt/go2rtc -wget -q https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_amd64 -chmod +x go2rtc_linux_amd64 +wget -q https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_arm64 +chmod +x go2rtc_linux_arm64 msg_ok "Installed go2rtc" msg_info "Creating Service" @@ -37,7 +37,7 @@ After=network.target [Service] Type=simple User=root -ExecStart=/opt/go2rtc/go2rtc_linux_amd64 +ExecStart=/opt/go2rtc/go2rtc_linux_arm64 [Install] WantedBy=multi-user.target" >$service_path diff --git a/install/gokapi-install.sh b/install/gokapi-install.sh index d0b55f7f..d4795881 100644 --- a/install/gokapi-install.sh +++ b/install/gokapi-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,17 +17,17 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Gokapi" LATEST=$(curl -sL https://api.github.com/repos/Forceu/Gokapi/releases/latest | grep '"tag_name":' | cut -d'"' -f4) mkdir -p /opt/gokapi/{data,config} -wget -q https://github.com/Forceu/Gokapi/releases/download/$LATEST/gokapi-linux_amd64.zip -unzip -q gokapi-linux_amd64.zip -d /opt/gokapi -rm gokapi-linux_amd64.zip -chmod +x /opt/gokapi/gokapi-linux_amd64 +wget -q https://github.com/Forceu/Gokapi/releases/download/$LATEST/gokapi-linux_arm64.zip +unzip -q gokapi-linux_arm64.zip -d /opt/gokapi +rm gokapi-linux_arm64.zip +chmod +x /opt/gokapi/gokapi-linux_arm64 msg_ok "Installed Gokapi" msg_info "Creating Service" @@ -39,7 +39,7 @@ Description=gokapi Type=simple Environment=GOKAPI_DATA_DIR=/opt/gokapi/data Environment=GOKAPI_CONFIG_DIR=/opt/gokapi/config -ExecStart=/opt/gokapi/gokapi-linux_amd64 +ExecStart=/opt/gokapi/gokapi-linux_arm64 [Install] WantedBy=multi-user.target diff --git a/install/gotify-install.sh b/install/gotify-install.sh index fcac1704..7c6333e9 100644 --- a/install/gotify-install.sh +++ b/install/gotify-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,18 +17,18 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Gotify" RELEASE=$(curl -s https://api.github.com/repos/gotify/server/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') mkdir -p /opt/gotify cd /opt/gotify -wget -q https://github.com/gotify/server/releases/download/v${RELEASE}/gotify-linux-amd64.zip -$STD unzip gotify-linux-amd64.zip -rm -rf gotify-linux-amd64.zip -chmod +x gotify-linux-amd64 +wget -q https://github.com/gotify/server/releases/download/v${RELEASE}/gotify-linux-arm64.zip +$STD unzip gotify-linux-arm64.zip +rm -rf gotify-linux-arm64.zip +chmod +x gotify-linux-arm64 echo "${RELEASE}" >/opt/${APPLICATION}_version.txt msg_ok "Installed Gotify" @@ -43,7 +43,7 @@ After=network.target Type=simple User=root WorkingDirectory=/opt/gotify -ExecStart=/opt/gotify/./gotify-linux-amd64 +ExecStart=/opt/gotify/./gotify-linux-arm64 Restart=always RestartSec=3 diff --git a/install/grafana-install.sh b/install/grafana-install.sh index 0c2cb4f3..7e412049 100644 --- a/install/grafana-install.sh +++ b/install/grafana-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -20,8 +20,8 @@ $STD apt-get install -y mc $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 openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Grafana Repository" @@ -32,8 +32,6 @@ msg_ok "Set up Grafana Repository" msg_info "Installing Grafana" $STD apt-get update $STD apt-get install -y grafana -$STD apt-get install -y openssh-server -$STD apt-get install -y wget systemctl start grafana-server systemctl enable --now -q grafana-server.service msg_ok "Installed Grafana" diff --git a/install/grist-install.sh b/install/grist-install.sh index 12c83e99..874639ad 100644 --- a/install/grist-install.sh +++ b/install/grist-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: cfurrow # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -24,8 +24,8 @@ $STD apt-get install -y \ mc \ unzip \ python3.11-venv \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Installing Node.js" @@ -34,8 +34,6 @@ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dea echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list $STD apt-get update $STD apt-get install -y nodejs -$STD apt-get install -y openssh-server -$STD apt-get install -y wget $STD npm install -g yarn msg_ok "Installed Node.js" diff --git a/install/grocy-install.sh b/install/grocy-install.sh index 5894ecee..686085c7 100644 --- a/install/grocy-install.sh +++ b/install/grocy-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,8 +18,8 @@ $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y apt-transport-https -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing PHP8.2" @@ -33,8 +33,6 @@ $STD apt-get install -y php8.2-sqlite3 $STD apt-get install -y php8.2-gd $STD apt-get install -y php8.2-intl $STD apt-get install -y php8.2-mbstring -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed PHP8.2" msg_info "Installing grocy" diff --git a/install/headscale-install.sh b/install/headscale-install.sh index 837785ea..964e505d 100644 --- a/install/headscale-install.sh +++ b/install/headscale-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -23,8 +23,8 @@ msg_ok "Installed Dependencies" RELEASE=$(curl -s https://api.github.com/repos/juanfont/headscale/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') msg_info "Installing ${APPLICATION} v${RELEASE}" -wget -q https://github.com/juanfont/headscale/releases/download/v${RELEASE}/headscale_${RELEASE}_linux_amd64.deb -$STD dpkg -i headscale_${RELEASE}_linux_amd64.deb +wget -q https://github.com/juanfont/headscale/releases/download/v${RELEASE}/headscale_${RELEASE}_linux_arm64.deb +$STD dpkg -i headscale_${RELEASE}_linux_arm64.deb systemctl enable -q --now headscale echo "${RELEASE}" >/opt/${APPLICATION}_version.txt msg_ok "Installed ${APPLICATION} v${RELEASE}" @@ -33,7 +33,7 @@ motd_ssh customize msg_info "Cleaning up" -rm headscale_${RELEASE}_linux_amd64.deb +rm headscale_${RELEASE}_linux_arm64.deb $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned" diff --git a/install/heimdall-dashboard-install.sh b/install/heimdall-dashboard-install.sh index 6af3df58..5784021e 100644 --- a/install/heimdall-dashboard-install.sh +++ b/install/heimdall-dashboard-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,9 +19,9 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y apt-transport-https $STD apt-get install -y 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 -$STD apt-get install -y wget msg_ok "Installed Dependencies" RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/Heimdall/releases/latest" | awk '/tag_name/{print $4;exit}' FS='[""]') diff --git a/install/hivemq-install.sh b/install/hivemq-install.sh index 1f5e73a5..cc95d0dc 100644 --- a/install/hivemq-install.sh +++ b/install/hivemq-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,17 +18,15 @@ $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 openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing OpenJDK" wget -qO- 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-17-jre -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed OpenJDK" msg_info "Installing HiveMQ CE" diff --git a/install/hoarder-install.sh b/install/hoarder-install.sh index ef697fb9..fee1b7ea 100644 --- a/install/hoarder-install.sh +++ b/install/hoarder-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) & vhsdream # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -25,8 +25,8 @@ $STD apt-get install -y \ chromium/stable \ chromium-common/stable \ mc \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Installing Additional Tools" @@ -58,8 +58,6 @@ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dea echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" >/etc/apt/sources.list.d/nodesource.list $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 Hoarder" diff --git a/install/homarr-install.sh b/install/homarr-install.sh index 4cf4369b..c4d206f9 100644 --- a/install/homarr-install.sh +++ b/install/homarr-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # Co-Author: MickLesk (Canbiz) # License: MIT @@ -16,13 +16,17 @@ 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 gnupg -$STD apt-get install -y openssh-server -$STD apt-get install -y wget +$STD apt-get install -y \ + sudo \ + mc \ + curl \ + ca-certificates \ + gnupg \ + make \ + g++ \ + build-essential \ + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -34,8 +38,6 @@ msg_ok "Set up Node.js Repository" msg_info "Installing Node.js/Yarn" $STD apt-get update $STD apt-get install -y nodejs -$STD apt-get install -y openssh-server -$STD apt-get install -y wget $STD npm install -g yarn msg_ok "Installed Node.js/Yarn" diff --git a/install/homeassistant-core-install.sh b/install/homeassistant-core-install.sh index 51d9bc9a..ff16f6f1 100644 --- a/install/homeassistant-core-install.sh +++ b/install/homeassistant-core-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -14,11 +14,52 @@ network_check update_os msg_info "Installing Dependencies (Patience)" -$STD apt-get install -y git curl sudo mc bluez libffi-dev libssl-dev libjpeg-dev zlib1g-dev autoconf build-essential libopenjp2-7 libturbojpeg0-dev ffmpeg liblapack3 liblapack-dev dbus-broker libpcap-dev libavdevice-dev libavformat-dev libavcodec-dev libavutil-dev libavfilter-dev libmariadb-dev-compat libatlas-base-dev pip python3.12-dev -$STD apt-get install -y openssh-server -$STD apt-get install -y wget +$STD apt-get install -y \ + curl \ + git \ + sudo \ + mc \ + gnupg \ + ca-certificates \ + bluez \ + libtiff6 \ + tzdata \ + libffi-dev \ + libssl-dev \ + libjpeg-dev \ + zlib1g-dev \ + autoconf \ + build-essential \ + libopenjp2-7 \ + libturbojpeg0-dev \ + ffmpeg \ + liblapack3 \ + liblapack-dev \ + dbus-broker \ + libpcap-dev \ + libavdevice-dev \ + libavformat-dev \ + libavcodec-dev \ + libavutil-dev \ + libavfilter-dev \ + libmariadb-dev-compat \ + libatlas-base-dev \ + software-properties-common \ + wget \ + openssh-server msg_ok "Installed Dependencies" +msg_info "Setup Python3" +$STD add-apt-repository -y ppa:deadsnakes/ppa +$STD apt-get update +$STD apt-get install -y \ + python3.13-* \ + python3-pip \ + python3.13-dev \ + python3.13-venv +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED +msg_ok "Setup Python3" + msg_info "Installing UV" $STD pip install uv msg_ok "Installed UV" diff --git a/install/homeassistant-install.sh b/install/homeassistant-install.sh index 4d68a0df..a8a2fd73 100644 --- a/install/homeassistant-install.sh +++ b/install/homeassistant-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color @@ -17,8 +17,8 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Updating Python3" @@ -26,9 +26,7 @@ $STD apt-get install -y \ python3 \ python3-dev \ python3-pip \ - python3-venv \ - openssh-server \ - wget + python3-venv rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Updated Python3" diff --git a/install/homebox-install.sh b/install/homebox-install.sh index 4800813a..404bc2af 100644 --- a/install/homebox-install.sh +++ b/install/homebox-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck # Co-Author: MickLesk (Canbiz) # License: MIT @@ -20,13 +20,13 @@ $STD apt-get install -y \ curl \ sudo \ mc \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Installing Homebox" RELEASE=$(curl -s https://api.github.com/repos/sysadminsmedia/homebox/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') -wget -qO- https://github.com/sysadminsmedia/homebox/releases/download/${RELEASE}/homebox_Linux_x86_64.tar.gz | tar -xzf - -C /opt +wget -qO- https://github.com/sysadminsmedia/homebox/releases/download/${RELEASE}/homebox_Linux_arm64.tar.gz | tar -xzf - -C /opt chmod +x /opt/homebox cat </opt/.env # For possible environment variables check here: https://homebox.software/en/configure-homebox diff --git a/install/homebridge-install.sh b/install/homebridge-install.sh index 33a6b24a..534fe534 100644 --- a/install/homebridge-install.sh +++ b/install/homebridge-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,8 +19,8 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y avahi-daemon $STD apt-get install -y gnupg2 -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Homebridge Repository" @@ -31,8 +31,6 @@ msg_ok "Set up Homebridge Repository" msg_info "Installing Homebridge" $STD apt update $STD apt-get install -y homebridge -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed Homebridge" motd_ssh diff --git a/install/homepage-install.sh b/install/homepage-install.sh index 4c1f5a66..cf287ae4 100644 --- a/install/homepage-install.sh +++ b/install/homepage-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -17,9 +17,10 @@ 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 -$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -31,8 +32,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 $STD npm install -g pnpm msg_ok "Installed Node.js" @@ -47,8 +46,9 @@ rm -rf homepage-${RELEASE} cd /opt/homepage cp /opt/homepage/src/skeleton/* /opt/homepage/config $STD pnpm install -$STD export NEXT_PUBLIC_VERSION=v$RELEASE -$STD export NEXT_PUBLIC_REVISION='source' $STD pnpm build +export NEXT_PUBLIC_VERSION="v$RELEASE" +export NEXT_PUBLIC_REVISION="source" +$STD pnpm build echo "${RELEASE}" >/opt/${APPLICATION}_version.txt msg_ok "Installed Homepage v${RELEASE}" diff --git a/install/homer-install.sh b/install/homer-install.sh index cdf983c2..1cda3ba5 100644 --- a/install/homer-install.sh +++ b/install/homer-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,8 +18,8 @@ $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y pip -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Homer" diff --git a/install/hyperhdr-install.sh b/install/hyperhdr-install.sh index fec8918d..829ece7e 100644 --- a/install/hyperhdr-install.sh +++ b/install/hyperhdr-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,8 +18,8 @@ $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 openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing HyperHDR" @@ -28,8 +28,6 @@ chmod go+r /usr/share/keyrings/hyperhdr.public.apt.gpg.key echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hyperhdr.public.apt.gpg.key] https://awawa-dev.github.io $(awk -F= '/VERSION_CODENAME/ {print $2}' /etc/os-release) main" >/etc/apt/sources.list.d/hyperhdr.list $STD apt-get update $STD apt-get install -y hyperhdr -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed HyperHDR" msg_info "Creating Service" diff --git a/install/hyperion-install.sh b/install/hyperion-install.sh index c6cf1fff..56bcaa66 100644 --- a/install/hyperion-install.sh +++ b/install/hyperion-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -21,9 +21,8 @@ $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 openssh-server $STD apt-get install -y wget - +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Hyperion" @@ -31,8 +30,6 @@ wget -qO- https://releases.hyperion-project.org/hyperion.pub.key | gpg --dearmor echo "deb [signed-by=/usr/share/keyrings/hyperion.pub.gpg] https://apt.releases.hyperion-project.org/ $(lsb_release -cs) main" >/etc/apt/sources.list.d/hyperion.list $STD apt-get update $STD apt-get install -y hyperion -$STD apt-get install -y openssh-server -$STD apt-get install -y wget $STD systemctl enable --now hyperion@root.service msg_ok "Installed Hyperion" diff --git a/install/influxdb-install.sh b/install/influxdb-install.sh index d35e08c5..5043e374 100644 --- a/install/influxdb-install.sh +++ b/install/influxdb-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -20,8 +20,8 @@ $STD apt-get install -y mc $STD apt-get install -y lsb-base $STD apt-get install -y lsb-release $STD apt-get install -y gnupg2 -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up InfluxDB Repository" @@ -40,14 +40,10 @@ msg_info "Installing InfluxDB" $STD apt-get update if [[ $INFLUX == "2" ]]; then $STD apt-get install -y influxdb2 -$STD apt-get install -y openssh-server -$STD apt-get install -y wget else $STD apt-get install -y influxdb -$STD apt-get install -y openssh-server -$STD apt-get install -y wget - wget -q https://dl.influxdata.com/chronograf/releases/chronograf_1.10.1_amd64.deb - $STD dpkg -i chronograf_1.10.1_amd64.deb + wget -q https://dl.influxdata.com/chronograf/releases/chronograf_1.10.1_arm64.deb + $STD dpkg -i chronograf_1.10.1_arm64.deb fi $STD systemctl enable --now influxdb msg_ok "Installed InfluxDB" @@ -56,8 +52,6 @@ read -r -p "Would you like to add Telegraf? " prompt if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then msg_info "Installing Telegraf" $STD apt-get install -y telegraf -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed Telegraf" fi diff --git a/install/inspircd-install.sh b/install/inspircd-install.sh index 09bb877c..b6e33839 100644 --- a/install/inspircd-install.sh +++ b/install/inspircd-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -15,11 +15,11 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ - curl \ - mc \ - sudo \ - openssh-server \ - wget + curl \ + mc \ + sudo \ + wget \ + openssh-server msg_ok "Installed Dependencies" diff --git a/install/iobroker-install.sh b/install/iobroker-install.sh index c7db42b0..23bf80f6 100644 --- a/install/iobroker-install.sh +++ b/install/iobroker-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,8 +19,8 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y ca-certificates $STD apt-get install -y gnupg -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -32,8 +32,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 ioBroker (Patience)" diff --git a/install/iventoy-install.sh b/install/iventoy-install.sh index adcc8485..7dd6763f 100644 --- a/install/iventoy-install.sh +++ b/install/iventoy-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,8 +17,8 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" RELEASE=$(curl -s https://api.github.com/repos/ventoy/pxe/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') diff --git a/install/jackett-install.sh b/install/jackett-install.sh index beef31a4..17afb256 100644 --- a/install/jackett-install.sh +++ b/install/jackett-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,15 +17,15 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Jackett" RELEASE=$(wget -q https://github.com/Jackett/Jackett/releases/latest -O - | grep "title>Release" | cut -d " " -f 4) -wget -q https://github.com/Jackett/Jackett/releases/download/$RELEASE/Jackett.Binaries.LinuxAMDx64.tar.gz -tar -xzf Jackett.Binaries.LinuxAMDx64.tar.gz -C /opt -rm -rf Jackett.Binaries.LinuxAMDx64.tar.gz +wget -q https://github.com/Jackett/Jackett/releases/download/$RELEASE/Jackett.Binaries.LinuxARM64.tar.gz +tar -xzf Jackett.Binaries.LinuxARM64.tar.gz -C /opt +rm -rf Jackett.Binaries.LinuxARM64.tar.gz echo "${RELEASE}" >/opt/${APPLICATION}_version.txt msg_ok "Installed Jackett" diff --git a/install/jellyfin-install.sh b/install/jellyfin-install.sh index de59fe07..031ca1b4 100644 --- a/install/jellyfin-install.sh +++ b/install/jellyfin-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,12 +18,12 @@ $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y gpg $STD apt-get install -y mc -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting Up Hardware Acceleration" -$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools} +$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,vainfo} if [[ "$CTTYPE" == "0" ]]; then chgrp video /dev/dri chmod 755 /dev/dri @@ -47,14 +47,12 @@ Types: deb URIs: https://repo.jellyfin.org/${PCT_OSTYPE} Suites: ${VERSION} Components: main -Architectures: amd64 +Architectures: arm64 Signed-By: /etc/apt/keyrings/jellyfin.gpg EOF # Install Jellyfin using the metapackage (which will fetch jellyfin-server, jellyfin-web, and jellyfin-ffmpeg5) $STD apt-get update $STD apt-get install -y jellyfin -$STD apt-get install -y openssh-server -$STD apt-get install -y wget chown -R jellyfin:adm /etc/jellyfin sleep 10 systemctl restart jellyfin diff --git a/install/jellyseerr-install.sh b/install/jellyseerr-install.sh index 74eecae0..91cd0e48 100644 --- a/install/jellyseerr-install.sh +++ b/install/jellyseerr-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,9 +18,9 @@ $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 wget msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -32,8 +32,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 pnpm" diff --git a/install/jenkins-install.sh b/install/jenkins-install.sh index 80303695..59aefa5c 100644 --- a/install/jenkins-install.sh +++ b/install/jenkins-install.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -14,12 +14,12 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ - curl \ - mc \ - sudo \ - openjdk-17-jre \ - openssh-server \ - wget + curl \ + mc \ + sudo \ + openjdk-17-jre \ + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setup Jenkins" @@ -27,8 +27,6 @@ wget -qO /usr/share/keyrings/jenkins-keyring.asc https://pkg.jenkins.io/debian/j echo "deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc]" https://pkg.jenkins.io/debian binary/ >/etc/apt/sources.list.d/jenkins.list $STD apt-get update $STD apt-get install -y jenkins -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Setup Jenkins" motd_ssh diff --git a/install/kavita-install.sh b/install/kavita-install.sh index 336a73c2..1ff0d5da 100644 --- a/install/kavita-install.sh +++ b/install/kavita-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,13 +18,12 @@ $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 -$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Kavita" cd /opt RELEASE=$(curl -s https://api.github.com/repos/Kareadita/Kavita/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') -$STD tar -xvzf <(curl -fsSL https://github.com/Kareadita/Kavita/releases/download/$RELEASE/kavita-linux-x64.tar.gz) --no-same-owner +$STD tar -xvzf <(curl -fsSL https://github.com/Kareadita/Kavita/releases/download/$RELEASE/kavita-linux-arm64.tar.gz) --no-same-owner msg_ok "Installed Kavita" msg_info "Creating Service" diff --git a/install/keycloak-install.sh b/install/keycloak-install.sh index 421eb7af..fc24183a 100644 --- a/install/keycloak-install.sh +++ b/install/keycloak-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,8 +19,8 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y ca-certificates-java $STD apt-get install -y openjdk-17-jre-headless -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" RELEASE=$(curl -s https://api.github.com/repos/keycloak/keycloak/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') diff --git a/install/kimai-install.sh b/install/kimai-install.sh index 82a4a6f7..266675bc 100644 --- a/install/kimai-install.sh +++ b/install/kimai-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk # License: MIT # https://github.com/tteck/Proxmox/raw/main/LICENSE @@ -26,8 +26,8 @@ $STD apt-get install -y \ mariadb-server \ libapache2-mod-php \ php8.2-{mbstring,gd,intl,pdo,mysql,tokenizer,zip,xml} \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setting up database" @@ -58,11 +58,11 @@ $STD composer install --no-dev --optimize-autoloader --no-interaction cp .env.dist .env sed -i "/^DATABASE_URL=/c\DATABASE_URL=mysql://$DB_USER:$DB_PASS@127.0.0.1:3306/$DB_NAME?charset=utf8mb4&serverVersion=$MYSQL_VERSION" /opt/kimai/.env $STD bin/console kimai:install -n -chown -R :www-data /opt/kimai -chmod -R g+r /opt/kimai -chmod -R g+rw /opt/kimai -sudo chown -R www-data:www-data /opt/kimai -sudo chmod -R 755 /opt/kimai +chown -R :www-data /opt/* +chmod -R g+r /opt/* +chmod -R g+rw /opt/* +sudo chown -R www-data:www-data /opt/* +sudo chmod -R 755 /opt/* $STD expect < /dev/null +$STD apt-get update +msg_ok "Setup Docker Repository" + +msg_info "Installing Docker" +$STD apt-get install -y \ + docker-ce \ + docker-ce-cli \ + containerd.io \ + docker-buildx-plugin \ + docker-compose-plugin +msg_ok "Installed Docker" + +echo "Choose the database for Komodo installation:" +echo "1) MongoDB (recommended)" +echo "2) SQLite" +echo "3) PostgreSQL" +read -rp "Enter your choice (default: 1): " DB_CHOICE +DB_CHOICE=${DB_CHOICE:-1} + +case $DB_CHOICE in + 1) + DB_COMPOSE_FILE="mongo.compose.yaml" + ;; + 2) + DB_COMPOSE_FILE="sqlite.compose.yaml" + ;; + 3) + DB_COMPOSE_FILE="postgres.compose.yaml" + ;; + *) + echo "Invalid choice. Defaulting to MongoDB." + DB_COMPOSE_FILE="mongo.compose.yaml" + ;; +esac +mkdir -p /opt/komodo +cd /opt/komodo +wget -q "https://raw.githubusercontent.com/mbecker20/komodo/main/compose/$DB_COMPOSE_FILE" + + +msg_info "Setup Komodo Environment" +wget -q -O /opt/komodo/compose.env https://raw.githubusercontent.com/mbecker20/komodo/main/compose/compose.env +DB_PASSWORD=$(openssl rand -base64 16 | tr -d '/+=') +PASSKEY=$(openssl rand -base64 24 | tr -d '/+=') +WEBHOOK_SECRET=$(openssl rand -base64 24 | tr -d '/+=') +JWT_SECRET=$(openssl rand -base64 24 | tr -d '/+=') + +sed -i "s/^DB_USERNAME=.*/DB_USERNAME=komodo_admin/" /opt/komodo/compose.env +sed -i "s/^DB_PASSWORD=.*/DB_PASSWORD=${DB_PASSWORD}/" /opt/komodo/compose.env +sed -i "s/^PASSKEY=.*/PASSKEY=${PASSKEY}/" /opt/komodo/compose.env +sed -i "s/^KOMODO_WEBHOOK_SECRET=.*/KOMODO_WEBHOOK_SECRET=${WEBHOOK_SECRET}/" /opt/komodo/compose.env +sed -i "s/^KOMODO_JWT_SECRET=.*/KOMODO_JWT_SECRET=${JWT_SECRET}/" /opt/komodo/compose.env +msg_ok "Setup Komodo Environment" + +msg_info "Initialize Komodo" +$STD docker compose -p komodo -f /opt/komodo/$DB_COMPOSE_FILE --env-file /opt/komodo/compose.env up -d +msg_ok "Initialized Komodo" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD apt-get -y autoremove +$STD apt-get -y autoclean +msg_ok "Cleaned" diff --git a/install/kubo-install.sh b/install/kubo-install.sh index 6ec9354a..5e44e7c6 100644 --- a/install/kubo-install.sh +++ b/install/kubo-install.sh @@ -2,9 +2,8 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) -# Co-Author: ulmentflam # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,14 +18,14 @@ $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 openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing IPFS" RELEASE=$(wget -q https://github.com/ipfs/kubo/releases/latest -O - | grep "title>Release" | cut -d " " -f 4) -$STD wget -q "https://github.com/ipfs/kubo/releases/download/${RELEASE}/kubo_${RELEASE}_linux-amd64.tar.gz" -tar -xzf "kubo_${RELEASE}_linux-amd64.tar.gz" -C /usr/local +$STD wget -q "https://github.com/ipfs/kubo/releases/download/${RELEASE}/kubo_${RELEASE}_linux-arm64.tar.gz" +tar -xzf "kubo_${RELEASE}_linux-arm64.tar.gz" -C /usr/local $STD ln -s /usr/local/kubo/ipfs /usr/local/bin/ipfs $STD ipfs init ipfs config Addresses.API /ip4/0.0.0.0/tcp/5001 @@ -35,7 +34,7 @@ LXCIP=$(hostname -I | awk '{print $1}') ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin "[\"http://${LXCIP}:5001\", \"http://localhost:3000\", \"http://127.0.0.1:5001\", \"https://webui.ipfs.io\", \"http://0.0.0.0:5001\"]" ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "POST"]' echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt" -$STD rm "kubo_${RELEASE}_linux-amd64.tar.gz" +$STD rm "kubo_${RELEASE}_linux-arm64.tar.gz" msg_ok "Installed IPFS" msg_info "Creating Service" diff --git a/install/lazylibrarian-install.sh b/install/lazylibrarian-install.sh index 2dd7f14c..09bef0c3 100644 --- a/install/lazylibrarian-install.sh +++ b/install/lazylibrarian-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck # Co-Author: MountyMapleSyrup (MountyMapleSyrup) # License: MIT @@ -15,19 +15,24 @@ 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 openssh-server -$STD apt-get install -y wget +$STD apt-get install -y \ + curl \ + sudo \ + mc \ + git \ + libpng-dev \ + libjpeg-dev \ + libtiff-dev \ + imagemagick \ + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Installing Python3 Dependencies" -$STD apt-get install -y pip -$STD apt-get install -y python3-irc -$STD apt-get install -y openssh-server -$STD apt-get install -y wget +$STD apt-get install -y \ + pip \ + python3-irc +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED $STD pip install jaraco.stream $STD pip install python-Levenshtein $STD pip install soupsieve @@ -35,6 +40,8 @@ msg_ok "Installed Python3 Dependencies" msg_info "Installing LazyLibrarian" $STD git clone https://gitlab.com/LazyLibrarian/LazyLibrarian /opt/LazyLibrarian +cd /opt/LazyLibrarian +$STD pip install . msg_ok "Installed LazyLibrarian" msg_info "Creating Service" diff --git a/install/lidarr-install.sh b/install/lidarr-install.sh index 7a333cea..4748a3e3 100644 --- a/install/lidarr-install.sh +++ b/install/lidarr-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -20,14 +20,14 @@ $STD apt-get install -y mc $STD apt-get install -y sqlite3 $STD apt-get install -y libchromaprint-tools $STD apt-get install -y mediainfo -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Lidarr" mkdir -p /var/lib/lidarr/ chmod 775 /var/lib/lidarr/ -$STD wget --content-disposition 'https://lidarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64' +$STD wget --content-disposition 'https://lidarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=arm64' $STD tar -xvzf Lidarr.master.*.tar.gz mv Lidarr /opt chmod 775 /opt/Lidarr diff --git a/install/linkwarden-install.sh b/install/linkwarden-install.sh index 071a86ba..419196bc 100644 --- a/install/linkwarden-install.sh +++ b/install/linkwarden-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # Co-Author: MickLesk (Canbiz) # License: MIT @@ -23,8 +23,8 @@ $STD apt-get install -y \ postgresql \ cargo \ gnupg \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -36,8 +36,6 @@ msg_ok "Set up Node.js Repository" msg_info "Installing Node.js/Yarn" $STD apt-get update $STD apt-get install -y nodejs -$STD apt-get install -y openssh-server -$STD apt-get install -y wget $STD npm install -g yarn msg_ok "Installed Node.js/Yarn" diff --git a/install/listmonk-install.sh b/install/listmonk-install.sh index df89b021..52f7a5ed 100644 --- a/install/listmonk-install.sh +++ b/install/listmonk-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -19,8 +19,8 @@ $STD apt-get install -y \ sudo \ mc \ postgresql \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setting up PostgreSQL" @@ -42,8 +42,8 @@ cd /opt mkdir /opt/listmonk mkdir /opt/listmonk/uploads RELEASE=$(curl -s https://api.github.com/repos/knadh/listmonk/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') -wget -q "https://github.com/knadh/listmonk/releases/download/v${RELEASE}/listmonk_${RELEASE}_linux_amd64.tar.gz" -tar -xzf "listmonk_${RELEASE}_linux_amd64.tar.gz" -C /opt/listmonk +wget -q "https://github.com/knadh/listmonk/releases/download/v${RELEASE}/listmonk_${RELEASE}_linux_arm64.tar.gz" +tar -xzf "listmonk_${RELEASE}_linux_arm64.tar.gz" -C /opt/listmonk $STD /opt/listmonk/listmonk --new-config --config /opt/listmonk/config.toml sed -i -e 's/address = "localhost:9000"/address = "0.0.0.0:9000"/' -e 's/^password = ".*"/password = "'"$DB_PASS"'"/' /opt/listmonk/config.toml @@ -76,7 +76,7 @@ motd_ssh customize msg_info "Cleaning up" -rm -rf "/opt/listmonk_${RELEASE}_linux_amd64.tar.gz" +rm -rf "/opt/listmonk_${RELEASE}_linux_arm64.tar.gz" $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned" \ No newline at end of file diff --git a/install/lldap-install.sh b/install/lldap-install.sh index cdc98ee1..df28e2f0 100644 --- a/install/lldap-install.sh +++ b/install/lldap-install.sh @@ -4,7 +4,7 @@ # Author: tteck (tteckster) # Co-Author: remz1337 # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,8 +19,8 @@ $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 openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing lldap" diff --git a/install/lubelogger-install.sh b/install/lubelogger-install.sh index 4b483210..0413b80b 100644 --- a/install/lubelogger-install.sh +++ b/install/lubelogger-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -15,14 +15,14 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ - curl \ - sudo \ - wget \ - mc \ - zip \ - jq \ - openssh-server \ - wget + curl \ + sudo \ + wget \ + mc \ + zip \ + jq \ + wget \ + openssh-server msg_ok "Installed Dependencies" diff --git a/install/mafl-install.sh b/install/mafl-install.sh index 1eb704a8..31dfab41 100644 --- a/install/mafl-install.sh +++ b/install/mafl-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -22,8 +22,8 @@ $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 openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -35,8 +35,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 $STD npm install -g npm@latest $STD npm install -g yarn msg_ok "Installed Node.js" diff --git a/install/magicmirror-install.sh b/install/magicmirror-install.sh index 7d6f7587..7cbc31ef 100644 --- a/install/magicmirror-install.sh +++ b/install/magicmirror-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -20,8 +20,8 @@ $STD apt-get install -y mc $STD apt-get install -y git $STD apt-get install -y ca-certificates $STD apt-get install -y gnupg -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -33,8 +33,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 "Setting up MagicMirror Repository" diff --git a/install/mariadb-install.sh b/install/mariadb-install.sh index 970eac5a..1daaa08a 100644 --- a/install/mariadb-install.sh +++ b/install/mariadb-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,14 +17,12 @@ 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 -$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing MariaDB" $STD apt-get install -y mariadb-server -$STD apt-get install -y openssh-server -$STD apt-get install -y wget sed -i 's/^# *\(port *=.*\)/\1/' /etc/mysql/my.cnf sed -i 's/^bind-address/#bind-address/g' /etc/mysql/mariadb.conf.d/50-server.cnf msg_ok "Installed MariaDB" @@ -33,16 +31,14 @@ read -r -p "Would you like to add PhpMyAdmin? " prompt if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then msg_info "Installing phpMyAdmin" $STD apt-get install -y \ - apache2 \ - php \ - php-mysqli \ - php-mbstring \ - php-zip \ - php-gd \ - php-json \ - php-curl \ - openssh-server \ - wget + apache2 \ + php \ + php-mysqli \ + php-mbstring \ + php-zip \ + php-gd \ + php-json \ + php-curl wget -q "https://files.phpmyadmin.net/phpMyAdmin/5.2.1/phpMyAdmin-5.2.1-all-languages.tar.gz" mkdir -p /var/www/html/phpMyAdmin diff --git a/install/matterbridge-install.sh b/install/matterbridge-install.sh index 1f69cd21..c6093594 100644 --- a/install/matterbridge-install.sh +++ b/install/matterbridge-install.sh @@ -1,10 +1,9 @@ #!/usr/bin/env bash # Copyright (c) 2021-2024 tteck -# Author: tteck -# Co-Author: MickLesk (Canbiz) +# Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE # Source: https://github.com/Luligu/matterbridge/ source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" @@ -20,8 +19,8 @@ $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 openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -33,8 +32,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 "Install Matterbridge" diff --git a/install/mediamtx-install.sh b/install/mediamtx-install.sh index 435f32ab..9f2c913f 100644 --- a/install/mediamtx-install.sh +++ b/install/mediamtx-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,17 +18,17 @@ $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y ffmpeg -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing MediaMTX" RELEASE=$(curl -s https://api.github.com/repos/bluenviron/mediamtx/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') mkdir -p /opt/mediamtx cd /opt/mediamtx -wget -q https://github.com/bluenviron/mediamtx/releases/download/${RELEASE}/mediamtx_${RELEASE}_linux_amd64.tar.gz -tar xzf mediamtx_${RELEASE}_linux_amd64.tar.gz -rm -rf mediamtx_${RELEASE}_linux_amd64.tar.gz +wget -q https://github.com/bluenviron/mediamtx/releases/download/${RELEASE}/mediamtx_${RELEASE}_linux_arm64v8.tar.gz +tar xzf mediamtx_${RELEASE}_linux_arm64v8.tar.gz +rm -rf mediamtx_${RELEASE}_linux_arm64v8.tar.gz msg_ok "Installed MediaMTX" msg_info "Creating Service" diff --git a/install/medusa-install.sh b/install/medusa-install.sh index 66690117..14f74c3b 100644 --- a/install/medusa-install.sh +++ b/install/medusa-install.sh @@ -2,10 +2,8 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) -# Co-Author: MickLesk (Canbiz) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://github.com/pymedusa/Medusa +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -16,22 +14,19 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ - gpg \ - curl \ - sudo \ - mc \ - git-core \ - mediainfo \ - openssh-server \ - wget +$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 </etc/apt/sources.list.d/non-free.list deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware EOF $STD apt-get update $STD apt-get install -y unrar -$STD apt-get install -y openssh-server -$STD apt-get install -y wget rm /etc/apt/sources.list.d/non-free.list msg_ok "Installed Dependencies" diff --git a/install/memos-install.sh b/install/memos-install.sh index 4cfdc616..f41d6f27 100644 --- a/install/memos-install.sh +++ b/install/memos-install.sh @@ -4,7 +4,7 @@ # Author: tteck # Co-Author: MickLesk (Canbiz) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE # Source: https://github.com/usememos/memos source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" @@ -22,9 +22,7 @@ $STD apt-get install -y \ curl \ sudo \ tzdata \ - mc \ - openssh-server \ - wget + mc msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -36,8 +34,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 pnpm" diff --git a/install/meshcentral-install.sh b/install/meshcentral-install.sh index 187ce7a7..2d3e09f1 100644 --- a/install/meshcentral-install.sh +++ b/install/meshcentral-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,8 +19,8 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y ca-certificates $STD apt-get install -y gnupg -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -32,8 +32,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 MeshCentral" diff --git a/install/metube-install.sh b/install/metube-install.sh index d459ad7a..c14d91f1 100644 --- a/install/metube-install.sh +++ b/install/metube-install.sh @@ -1,10 +1,9 @@ #!/usr/bin/env bash # Copyright (c) 2021-2024 tteck -# Author: tteck -# Co-Author: MickLesk (Canbiz) +# Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE # Source: https://github.com/alexta69/metube source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" @@ -30,7 +29,9 @@ $STD apt-get install -y --no-install-recommends \ make \ gnupg \ ca-certificates \ - mc + mc \ + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Installing Python3" @@ -38,9 +39,8 @@ $STD apt-get install -y \ python3 \ python3-dev \ python3-pip \ - python3-venv \ - openssh-server \ - wget + python3-venv +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Installed Python3" msg_info "Setting up Node.js Repository" @@ -52,8 +52,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 MeTube" diff --git a/install/mongodb-install.sh b/install/mongodb-install.sh index 5e15fb0f..84ed80da 100644 --- a/install/mongodb-install.sh +++ b/install/mongodb-install.sh @@ -1,7 +1,6 @@ - #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -14,13 +13,20 @@ setting_up_container network_check update_os +cpu_info=$(lscpu) + +if ! echo "$cpu_info" | grep -q 'asimdrdm\|asimdhf\|dotprod\|fp16'; then + msg_error "This machine does not support ARMv8.2-A." + exit +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 openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" # Abfrage für die MongoDB-Version @@ -36,8 +42,6 @@ wget -qO- https://www.mongodb.org/static/pgp/server-${MONGODB_VERSION}.asc | gpg echo "deb [signed-by=/usr/share/keyrings/mongodb-server-${MONGODB_VERSION}.gpg] http://repo.mongodb.org/apt/debian $(grep '^VERSION_CODENAME=' /etc/os-release | cut -d'=' -f2)/mongodb-org/${MONGODB_VERSION} main" >/etc/apt/sources.list.d/mongodb-org-${MONGODB_VERSION}.list $STD apt-get update $STD apt-get install -y mongodb-org -$STD apt-get install -y openssh-server -$STD apt-get install -y wget sed -i 's/bindIp: 127.0.0.1/bindIp: 0.0.0.0/' /etc/mongod.conf systemctl enable -q --now mongod.service msg_ok "Installed MongoDB $MONGODB_VERSION" diff --git a/install/motioneye-install.sh b/install/motioneye-install.sh index e532ddb4..bc297b1c 100644 --- a/install/motioneye-install.sh +++ b/install/motioneye-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,32 +19,26 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y git $STD apt-get install -y cifs-utils -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" 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" msg_info "Installing Motion" $STD apt-get install -y motion -$STD apt-get install -y openssh-server -$STD apt-get install -y wget systemctl stop motion $STD systemctl disable motion msg_ok "Installed Motion" msg_info "Installing FFmpeg" $STD apt-get install -y ffmpeg v4l-utils -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed FFmpeg" msg_info "Installing MotionEye" diff --git a/install/mqtt-install.sh b/install/mqtt-install.sh index 83e6b6d4..c98a4b83 100644 --- a/install/mqtt-install.sh +++ b/install/mqtt-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -18,8 +18,8 @@ $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 openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Mosquitto MQTT Broker" diff --git a/install/mylar3-install.sh b/install/mylar3-install.sh index cd3b5c94..7687deea 100644 --- a/install/mylar3-install.sh +++ b/install/mylar3-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: davalanche # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -20,20 +20,16 @@ $STD apt-get install -y \ sudo \ mc \ jq \ - openssh-server \ - wget + wget \ + openssh-server 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 -$STD apt-get install -y openssh-server -$STD apt-get install -y wget rm /etc/apt/sources.list.d/non-free.list msg_ok "Installed Dependencies" msg_info "Updating Python3" $STD apt-get install -y python3-pip -$STD apt-get install -y openssh-server -$STD apt-get install -y wget rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED $STD pip install -U --no-cache-dir pip msg_ok "Updated Python3" diff --git a/install/myspeed-install.sh b/install/myspeed-install.sh index 05766b43..3f7f775c 100644 --- a/install/myspeed-install.sh +++ b/install/myspeed-install.sh @@ -2,9 +2,8 @@ # Copyright (c) 2021-2024 tteck # Author: tteck -# Co-Author: MickLesk (Canbiz) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE # Source: https://github.com/gnmyt/myspeed source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" @@ -23,8 +22,8 @@ $STD apt-get install -y \ gpg \ ca-certificates \ mc \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -36,8 +35,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 MySpeed" diff --git a/install/mysql-install.sh b/install/mysql-install.sh index e194489a..cb6b592a 100644 --- a/install/mysql-install.sh +++ b/install/mysql-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck # Co-Author: MickLesk (Canbiz) # License: MIT @@ -22,8 +22,8 @@ $STD apt-get install -y \ curl \ gnupg \ mc \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" RELEASE_REPO="mysql-8.0" @@ -41,9 +41,7 @@ $STD apt-get update export DEBIAN_FRONTEND=noninteractive $STD apt-get install -y \ mysql-community-client \ - mysql-community-server \ - openssh-server \ - wget + mysql-community-server msg_ok "Installed MySQL" msg_info "Configure MySQL Server" @@ -58,16 +56,14 @@ read -r -p "Would you like to add PhpMyAdmin? " prompt if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then msg_info "Installing phpMyAdmin" $STD apt-get install -y \ - apache2 \ - php \ - php-mysqli \ - php-mbstring \ - php-zip \ - php-gd \ - php-json \ - php-curl \ - openssh-server \ - wget + apache2 \ + php \ + php-mysqli \ + php-mbstring \ + php-zip \ + php-gd \ + php-json \ + php-curl wget -q "https://files.phpmyadmin.net/phpMyAdmin/5.2.1/phpMyAdmin-5.2.1-all-languages.tar.gz" mkdir -p /var/www/html/phpMyAdmin diff --git a/install/n8n-install.sh b/install/n8n-install.sh index f2a58a58..96ef5e46 100644 --- a/install/n8n-install.sh +++ b/install/n8n-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,8 +19,8 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y ca-certificates $STD apt-get install -y gnupg -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -32,8 +32,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 n8n (Patience)" diff --git a/install/navidrome-install.sh b/install/navidrome-install.sh index 52960ce3..bfe26ded 100644 --- a/install/navidrome-install.sh +++ b/install/navidrome-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,15 +18,16 @@ $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y ffmpeg -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" -msg_info "Installing Navidrome" RELEASE=$(curl -s https://api.github.com/repos/navidrome/navidrome/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') + +msg_info "Installing Navidrome" install -d -o root -g root /opt/navidrome install -d -o root -g root /var/lib/navidrome -wget -q https://github.com/navidrome/navidrome/releases/download/v${RELEASE}/navidrome_${RELEASE}_linux_amd64.tar.gz -O Navidrome.tar.gz +wget -q https://github.com/navidrome/navidrome/releases/download/v${RELEASE}/navidrome_${RELEASE}_linux_arm64.tar.gz -O Navidrome.tar.gz $STD tar -xvzf Navidrome.tar.gz -C /opt/navidrome/ chown -R root:root /opt/navidrome chmod +x /opt/navidrome/navidrome diff --git a/install/neo4j-install.sh b/install/neo4j-install.sh index 286dafbb..762f93e7 100644 --- a/install/neo4j-install.sh +++ b/install/neo4j-install.sh @@ -4,7 +4,7 @@ # Author: tteck # Co-Author: havardthom # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,8 +19,8 @@ $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 openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Neo4j (patience)" @@ -28,8 +28,6 @@ wget -qO- https://debian.neo4j.com/neotechnology.gpg.key | gpg --dearmor -o /etc echo 'deb [signed-by=/etc/apt/keyrings/neotechnology.gpg] https://debian.neo4j.com stable latest' > /etc/apt/sources.list.d/neo4j.list $STD apt-get update $STD apt-get install -y neo4j -$STD apt-get install -y openssh-server -$STD apt-get install -y wget sed -i '/server.default_listen_address/s/^#//' /etc/neo4j/neo4j.conf systemctl enable -q --now neo4j msg_ok "Installed Neo4j" diff --git a/install/netbox-install.sh b/install/netbox-install.sh index a0e4ae58..c05ce6aa 100644 --- a/install/netbox-install.sh +++ b/install/netbox-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -32,8 +32,8 @@ $STD apt-get install -y \ libpq-dev \ libssl-dev \ zlib1g-dev \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setting up PostgreSQL" diff --git a/install/nextcloudpi-install.sh b/install/nextcloudpi-install.sh index 6945768e..1ec7d898 100644 --- a/install/nextcloudpi-install.sh +++ b/install/nextcloudpi-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -17,8 +17,8 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing NextCloudPi (Patience)" diff --git a/install/nextpvr-install.sh b/install/nextpvr-install.sh index 58d7631f..a3ab3b70 100644 --- a/install/nextpvr-install.sh +++ b/install/nextpvr-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 communtiy-scripts ORG +# Copyright (c) 2021-2025 communtiy-scripts ORG # Author: MickLesk (Canbiz) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -28,8 +28,8 @@ $STD apt-get install -y \ libc6-dev \ ffmpeg \ mc \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setup NextPVR (Patience)" diff --git a/install/nginxproxymanager-install.sh b/install/nginxproxymanager-install.sh index a7ce91de..6c6b0fd8 100644 --- a/install/nginxproxymanager-install.sh +++ b/install/nginxproxymanager-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color @@ -27,9 +27,10 @@ $STD apt-get -y install \ apache2-utils \ logrotate \ build-essential \ - git + git \ + wget \ + openssh-server msg_ok "Installed Dependencies" - msg_info "Installing Python Dependencies" $STD apt-get install -y \ python3 \ @@ -38,12 +39,10 @@ $STD apt-get install -y \ python3-venv \ python3-cffi \ python3-certbot \ - python3-certbot-dns-cloudflare \ - openssh-server \ - wget -$STD pip3 install certbot-dns-multi -$STD python3 -m venv /opt/certbot/ + python3-certbot-dns-cloudflare rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED +$STD pip3 install certbot-dns-multi==4.15.0 +$STD python3 -m venv /opt/certbot/ msg_ok "Installed Python Dependencies" VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)" diff --git a/install/nocodb-install.sh b/install/nocodb-install.sh index 6aa49026..1171d3e8 100644 --- a/install/nocodb-install.sh +++ b/install/nocodb-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,14 +17,14 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing NocoDB" mkdir -p /opt/nocodb cd /opt/nocodb -curl -s http://get.nocodb.com/linux-x64 -o nocodb -L +curl -s http://get.nocodb.com/linux-arm64 -o nocodb -L chmod +x nocodb msg_ok "Installed NocoDB" diff --git a/install/node-red-install.sh b/install/node-red-install.sh index 823cd738..ce4be579 100644 --- a/install/node-red-install.sh +++ b/install/node-red-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -20,8 +20,8 @@ $STD apt-get install -y mc $STD apt-get install -y git $STD apt-get install -y ca-certificates $STD apt-get install -y gnupg -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -33,8 +33,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 Node-Red" diff --git a/install/notifiarr-install.sh b/install/notifiarr-install.sh index cd2a97c5..054df687 100644 --- a/install/notifiarr-install.sh +++ b/install/notifiarr-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,8 +18,8 @@ $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 openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Notifiarr" @@ -29,8 +29,6 @@ wget -qO- https://packagecloud.io/golift/pkgs/gpgkey | gpg --dearmor >/usr/share echo "deb [signed-by=/usr/share/keyrings/golift-archive-keyring.gpg] https://packagecloud.io/golift/pkgs/ubuntu focal main" >/etc/apt/sources.list.d/golift.list $STD apt-get update $STD apt-get install -y notifiarr -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed Notifiarr" motd_ssh diff --git a/install/ntfy-install.sh b/install/ntfy-install.sh index 10433490..36b858bc 100644 --- a/install/ntfy-install.sh +++ b/install/ntfy-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,18 +19,16 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y gpg $STD apt-get install -y apt-transport-https -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing ntfy" mkdir -p /etc/apt/keyrings curl -fsSL https://archive.heckel.io/apt/pubkey.txt | gpg --dearmor -o /etc/apt/keyrings/archive.heckel.io.gpg -echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/archive.heckel.io.gpg] https://archive.heckel.io/apt debian main" >/etc/apt/sources.list.d/archive.heckel.io.list +echo "deb [arch=arm64 signed-by=/etc/apt/keyrings/archive.heckel.io.gpg] https://archive.heckel.io/apt debian main" >/etc/apt/sources.list.d/archive.heckel.io.list $STD apt-get update $STD apt-get install -y ntfy -$STD apt-get install -y openssh-server -$STD apt-get install -y wget systemctl enable -q --now ntfy msg_ok "Installed ntfy" diff --git a/install/nzbget-install.sh b/install/nzbget-install.sh index d044e519..8ccc9071 100644 --- a/install/nzbget-install.sh +++ b/install/nzbget-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck # Co-Author: havardthom # License: MIT @@ -20,15 +20,13 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y gpg $STD apt-get install -y par2 -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server cat </etc/apt/sources.list.d/non-free.list deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware EOF $STD apt-get update $STD apt-get install -y unrar -$STD apt-get install -y openssh-server -$STD apt-get install -y wget rm /etc/apt/sources.list.d/non-free.list msg_ok "Installed Dependencies" @@ -38,8 +36,6 @@ curl -fsSL https://nzbgetcom.github.io/nzbgetcom.asc | gpg --dearmor -o /etc/apt echo "deb [signed-by=/etc/apt/keyrings/nzbgetcom.gpg] https://nzbgetcom.github.io/deb stable main" >/etc/apt/sources.list.d/nzbgetcom.list $STD apt-get update $STD apt-get install -y nzbget -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed NZBGet" motd_ssh diff --git a/install/octoprint-install.sh b/install/octoprint-install.sh index fc6445db..ede7d9eb 100644 --- a/install/octoprint-install.sh +++ b/install/octoprint-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -20,8 +20,8 @@ $STD apt-get install -y mc $STD apt-get install -y git $STD apt-get install -y libyaml-dev $STD apt-get install -y build-essential -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Updating Python3" @@ -29,13 +29,9 @@ $STD apt-get install -y \ python3 \ python3-dev \ python3-pip \ - python3-venv \ - openssh-server \ - wget + python3-venv $STD apt-get install -y python3-setuptools -$STD apt-get install -y openssh-server -$STD apt-get install -y wget rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Updated Python3" diff --git a/install/ollama-install.sh b/install/ollama-install.sh index 7632e3c8..701560bd 100644 --- a/install/ollama-install.sh +++ b/install/ollama-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck # Co-Author: havardthom # License: MIT @@ -23,15 +23,13 @@ $STD apt-get install -y git $STD apt-get install -y build-essential $STD apt-get install -y pkg-config $STD apt-get install -y cmake -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Golang" -$STD wget https://golang.org/dl/go1.23.2.linux-amd64.tar.gz -$STD tar -xzf go1.23.2.linux-amd64.tar.gz -C /usr/local +$STD wget https://golang.org/dl/go1.23.2.linux-arm64.tar.gz +$STD tar -xzf go1.23.2.linux-arm64.tar.gz -C /usr/local $STD ln -s /usr/local/go/bin/go /usr/local/bin/go -rm -rf go1.23.2.linux-amd64.tar.gz +rm -rf go1.23.2.linux-arm64.tar.gz msg_ok "Installed Golang" msg_info "Setting up Intel® Repositories" @@ -44,7 +42,7 @@ $STD apt-get update msg_ok "Set up Intel® Repositories" msg_info "Setting Up Hardware Acceleration" -$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools,intel-level-zero-gpu,level-zero,level-zero-dev} +$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,vainfo,level-zero,level-zero-dev} if [[ "$CTTYPE" == "0" ]]; then chgrp video /dev/dri chmod 755 /dev/dri @@ -54,12 +52,6 @@ if [[ "$CTTYPE" == "0" ]]; then fi msg_ok "Set Up Hardware Acceleration" -msg_info "Installing Intel® oneAPI Base Toolkit (Patience)" -$STD apt-get install -y --no-install-recommends intel-basekit-2024.1 -$STD apt-get install -y openssh-server -$STD apt-get install -y wget -msg_ok "Installed Intel® oneAPI Base Toolkit" - msg_info "Installing Ollama (Patience)" $STD git clone https://github.com/ollama/ollama.git /opt/ollama cd /opt/ollama diff --git a/install/omada-install.sh b/install/omada-install.sh index 03c44f91..84f906d1 100644 --- a/install/omada-install.sh +++ b/install/omada-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -14,14 +14,13 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ - curl \ - sudo \ - mc \ - gnupg \ - jsvc \ - openssh-server \ - wget +$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 jsvc +$STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Azul Zulu" @@ -33,28 +32,25 @@ $STD apt-get -y install zulu8-jdk msg_ok "Installed Azul Zulu" msg_info "Installing MongoDB" -libssl=$(curl -fsSL "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/" | grep -o 'libssl1\.1_1\.1\.1f-1ubuntu2\.2[^"]*amd64\.deb' | head -n1) -wget -qL http://security.ubuntu.com/ubuntu/pool/main/o/openssl/$libssl -$STD dpkg -i $libssl -wget -qL https://repo.mongodb.org/apt/ubuntu/dists/bionic/mongodb-org/3.6/multiverse/binary-amd64/mongodb-org-server_3.6.23_amd64.deb -$STD dpkg -i mongodb-org-server_3.6.23_amd64.deb +wget -qL http://ports.ubuntu.com/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_arm64.deb +$STD dpkg -i libssl1.1_1.1.1f-1ubuntu2_arm64.deb +wget -qL https://repo.mongodb.org/apt/ubuntu/dists/focal/mongodb-org/4.4/multiverse/binary-arm64/mongodb-org-server_4.4.29_arm64.deb +$STD dpkg -i mongodb-org-server_4.4.29_arm64.deb msg_ok "Installed MongoDB" -latest_url=$(curl -s "https://support.omadanetworks.com/en/product/omada-software-controller/?resourceType=download" | \ -grep -o 'https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' | \ -head -n 1) +latest_url=$(curl -fsSL "https://www.tp-link.com/en/support/download/omada-software-controller/" | grep -o 'https://.*x64.deb' | head -n1) latest_version=$(basename "$latest_url") msg_info "Installing Omada Controller" wget -qL ${latest_url} -$STD dpkg -i ${latest_version} +$STD dpkg -i --ignore-depends=jsvc,mongodb-server ${latest_version} msg_ok "Installed Omada Controller" motd_ssh customize msg_info "Cleaning up" -rm -rf ${latest_version} mongodb-org-server_3.6.23_amd64.deb zulu-repo_1.0.0-3_all.deb $libssl +rm -rf ${latest_version} mongodb-org-server_4.4.29_arm64.deb zulu-repo_1.0.0-3_all.deb libssl1.1_1.1.1f-1ubuntu2_arm64.deb $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned" diff --git a/install/ombi-install.sh b/install/ombi-install.sh index 2428a3b3..66374275 100644 --- a/install/ombi-install.sh +++ b/install/ombi-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,17 +17,17 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Ombi" RELEASE=$(curl -sL https://api.github.com/repos/Ombi-app/Ombi/releases/latest | grep '"tag_name":' | cut -d'"' -f4) -wget -q https://github.com/Ombi-app/Ombi/releases/download/${RELEASE}/linux-x64.tar.gz +wget -q https://github.com/Ombi-app/Ombi/releases/download/${RELEASE}/linux-arm64.tar.gz echo "${RELEASE}" >/opt/${APPLICATION}_version.txt mkdir -p /opt/ombi -tar -xzf linux-x64.tar.gz -C /opt/ombi -rm -rf linux-x64.tar.gz +tar -xzf linux-arm64.tar.gz -C /opt/ombi +rm -rf linux-arm64.tar.gz msg_ok "Installed Ombi" msg_info "Creating Service" diff --git a/install/omv-install.sh b/install/omv-install.sh index d79f7528..bd4b661b 100644 --- a/install/omv-install.sh +++ b/install/omv-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,8 +18,8 @@ $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 openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing OpenMediaVault (Patience)" diff --git a/install/onedev-install.sh b/install/onedev-install.sh index dc3bf852..1acc780c 100644 --- a/install/onedev-install.sh +++ b/install/onedev-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -15,13 +15,14 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ - curl \ - mc \ - sudo \ - default-jdk \ - git \ - openssh-server \ - wget + curl \ + mc \ + sudo \ + default-jdk \ + git \ + git-lfs \ + wget \ + openssh-server msg_ok "Installed Dependencies" @@ -43,4 +44,4 @@ msg_info "Cleaning up" rm -rf /opt/onedev-latest.tar.gz $STD apt-get -y autoremove $STD apt-get -y autoclean -msg_ok "Cleaned" \ No newline at end of file +msg_ok "Cleaned" diff --git a/install/openhab-install.sh b/install/openhab-install.sh index 22e06cf8..dcab412f 100644 --- a/install/openhab-install.sh +++ b/install/openhab-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,8 +19,8 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y gnupg $STD apt-get install -y apt-transport-https -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Azul Zulu" diff --git a/install/openobserve-install.sh b/install/openobserve-install.sh index 2ec7987e..738b3223 100644 --- a/install/openobserve-install.sh +++ b/install/openobserve-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,14 +17,14 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing OpenObserve" mkdir -p /opt/openobserve/data LATEST=$(curl -sL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4) -$STD tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-amd64.tar.gz) -C /opt/openobserve +$STD tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-arm64.tar.gz) -C /opt/openobserve cat </opt/openobserve/data/.env ZO_ROOT_USER_EMAIL = "admin@example.com" diff --git a/install/openwebui-install.sh b/install/openwebui-install.sh index 4f115523..84ce4054 100644 --- a/install/openwebui-install.sh +++ b/install/openwebui-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck # Co-Author: havardthom # License: MIT @@ -20,14 +20,15 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y gpg $STD apt-get install -y git -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Python3 Dependencies" $STD apt-get install -y --no-install-recommends \ python3 \ python3-pip +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Installed Python3 Dependencies" msg_info "Setting up Node.js Repository" @@ -39,8 +40,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 Open WebUI (Patience)" diff --git a/install/overseerr-install.sh b/install/overseerr-install.sh index 826959e5..ea30e155 100644 --- a/install/overseerr-install.sh +++ b/install/overseerr-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -20,8 +20,8 @@ $STD apt-get install -y mc $STD apt-get install -y git $STD apt-get install -y ca-certificates $STD apt-get install -y gnupg -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -33,8 +33,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 Yarn" diff --git a/install/owncast-install.sh b/install/owncast-install.sh index 9a61112d..6331c97f 100644 --- a/install/owncast-install.sh +++ b/install/owncast-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,14 +18,14 @@ $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y ffmpeg -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Owncast" mkdir /opt/owncast cd /opt/owncast -wget -q $(curl -s https://api.github.com/repos/owncast/owncast/releases/latest | grep download | grep linux-64bit | cut -d\" -f4) +wget -q $(curl -s https://api.github.com/repos/owncast/owncast/releases/latest | grep download | grep linux-arm64 | cut -d\" -f4) $STD unzip owncast*.zip rm owncast*.zip msg_ok "Installed Owncast" diff --git a/install/pairdrop-install.sh b/install/pairdrop-install.sh index aebb8b79..9ec88c64 100644 --- a/install/pairdrop-install.sh +++ b/install/pairdrop-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,8 +19,8 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y git $STD apt-get install -y gpg -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -32,8 +32,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 PairDrop" diff --git a/install/paperless-ngx-install.sh b/install/paperless-ngx-install.sh index 1460afd1..a70d5b23 100644 --- a/install/paperless-ngx-install.sh +++ b/install/paperless-ngx-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color @@ -90,6 +90,7 @@ $STD tar -xf paperless-ngx-$Paperlessngx.tar.xz -C /opt/ mv paperless-ngx paperless rm paperless-ngx-$Paperlessngx.tar.xz cd /opt/paperless +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED $STD pip install --upgrade pip $STD pip install -r requirements.txt curl -s -o /opt/paperless/paperless.conf https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/paperless.conf.example diff --git a/install/part-db-install.sh b/install/part-db-install.sh index f34d4a37..bc6e6195 100644 --- a/install/part-db-install.sh +++ b/install/part-db-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -27,8 +27,8 @@ $STD apt-get install -y \ libapache2-mod-php \ composer \ postgresql \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setting up PostgreSQL" @@ -51,8 +51,6 @@ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dea echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list $STD apt-get update $STD apt-get install -y nodejs -$STD apt-get install -y openssh-server -$STD apt-get install -y wget $STD npm install -g npm@latest $STD npm install -g yarn msg_ok "Installed Node.js/Yarn" diff --git a/install/pbs-install.sh b/install/pbs-install.sh index 26f930c1..9dd3ab5e 100644 --- a/install/pbs-install.sh +++ b/install/pbs-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,19 +17,19 @@ 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 +$STD apt-get install -y git $STD apt-get install -y wget +$STD apt-get install -y dpkg-dev +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Proxmox Backup Server" -wget -q https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg -cat <>/etc/apt/sources.list -deb http://download.proxmox.com/debian/pbs bookworm pbs-no-subscription -EOF $STD apt-get update -$STD apt-get install -y proxmox-backup-server -$STD apt-get install -y openssh-server -$STD apt-get install -y wget +export DEBIAN_FRONTEND=noninteractive +git clone https://github.com/wofferl/proxmox-backup-arm64 +cd ./proxmox-backup-arm64 +./build.sh download +apt install -y -f ./packages/* msg_ok "Installed Proxmox Backup Server" motd_ssh diff --git a/install/peanut-install.sh b/install/peanut-install.sh index 2f4227c0..77d60a73 100644 --- a/install/peanut-install.sh +++ b/install/peanut-install.sh @@ -2,9 +2,8 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) -# Co-Author: remz1337 # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,8 +18,8 @@ $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 openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Node.js" @@ -29,14 +28,10 @@ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dea echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list $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 NUT" $STD apt-get install -y nut-client -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed NUT" msg_info "Installing Peanut" diff --git a/install/petio-install.sh b/install/petio-install.sh index 656ddc82..9624df9c 100644 --- a/install/petio-install.sh +++ b/install/petio-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,8 +18,8 @@ $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 openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing MongoDB 4.4" @@ -35,8 +35,6 @@ fi $STD apt-get update $STD apt-get install -y mongodb-org -$STD apt-get install -y openssh-server -$STD apt-get install -y wget sed -i 's/bindIp: 127.0.0.1/bindIp: 0.0.0.0/' /etc/mongod.conf systemctl enable -q --now mongod.service msg_ok "MongoDB 4.4 Installed" diff --git a/install/pf2etools-install.sh b/install/pf2etools-install.sh new file mode 100644 index 00000000..cf26abcc --- /dev/null +++ b/install/pf2etools-install.sh @@ -0,0 +1,77 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2025 community-scripts ORG +# Author: TheRealVira +# License: MIT +# Source: https://pf2etools.com/ + +# Import Functions und Setup +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt-get install -y \ + curl \ + mc \ + sudo \ + apache2 \ + gpg \ + ca-certificates \ + git \ + wget \ + openssh-server +msg_ok "Installed Dependencies" + +msg_info "Setting up Node.js Repository" +mkdir -p /etc/apt/keyrings +curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg +echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list +msg_ok "Set up Node.js Repository" + +msg_info "Installing Node.js" +$STD apt-get update +$STD apt-get install -y nodejs +msg_ok "Installed Node.js" + +# Setup App +msg_info "Setup Pf2eTools" +cd /opt +RELEASE=$(curl -s https://api.github.com/repos/Pf2eToolsOrg/Pf2eTools/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') +wget -q "https://github.com/Pf2eToolsOrg/Pf2eTools/archive/refs/tags/${RELEASE}.zip" +unzip -q "${RELEASE}.zip" +mv "Pf2eTools-${RELEASE:1}" /opt/Pf2eTools +cd /opt/Pf2eTools +$STD npm install +$STD npm run build +cd ~ +echo "${RELEASE}" >/opt/Pf2eTools_version.txt +msg_ok "Set up Pf2eTools" + +msg_info "Creating Service" +cat <> /etc/apache2/apache2.conf + + SetHandler server-status + Order deny,allow + Allow from all + +EOF +rm -rf /var/www/html +ln -s "/opt/Pf2eTools" /var/www/html +chown -R www-data: "/opt/Pf2eTools" +chmod -R 755 "/opt/Pf2eTools" +msg_ok "Created Service" + +# Cleanup +msg_info "Cleaning up" +rm -rf /opt/${RELEASE}.zip +$STD apt-get -y autoremove +$STD apt-get -y autoclean +msg_ok "Cleaned" + +motd_ssh +customize diff --git a/install/photoprism-install.sh b/install/photoprism-install.sh index db8fd445..38d1559e 100644 --- a/install/photoprism-install.sh +++ b/install/photoprism-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -27,8 +27,8 @@ $STD apt-get install -y imagemagick $STD apt-get install -y darktable $STD apt-get install -y rawtherapee $STD apt-get install -y libvips42 -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server echo 'export PATH=/usr/local:$PATH' >>~/.bashrc export PATH=/usr/local:$PATH @@ -36,19 +36,19 @@ msg_ok "Installed Dependencies" msg_info "Installing PhotoPrism (Patience)" mkdir -p /opt/photoprism/{cache,config,photos/originals,photos/import,storage,temp} -wget -q -cO - https://dl.photoprism.app/pkg/linux/amd64.tar.gz | tar -xz -C /opt/photoprism --strip-components=1 +wget -q -cO - https://dl.photoprism.app/pkg/linux/arm64.tar.gz | tar -xz -C /opt/photoprism --strip-components=1 if [[ ${PCT_OSTYPE} == "ubuntu" ]]; then - wget -q -cO - https://dl.photoprism.app/dist/libheif/libheif-jammy-amd64-v1.17.1.tar.gz | tar -xzf - -C /usr/local --strip-components=1 + wget -q -cO - https://dl.photoprism.app/dist/libheif/libheif-jammy-arm64-v1.17.1.tar.gz | tar -xzf - -C /usr/local --strip-components=1 else - wget -q -cO - https://dl.photoprism.app/dist/libheif/libheif-bookworm-amd64-v1.17.1.tar.gz | tar -xzf - -C /usr/local --strip-components=1 + wget -q -cO - https://dl.photoprism.app/dist/libheif/libheif-bookworm-arm64-v1.17.1.tar.gz | tar -xzf - -C /usr/local --strip-components=1 fi ldconfig cat </opt/photoprism/config/.env PHOTOPRISM_AUTH_MODE='password' -PHOTOPRISM_ADMIN_PASSWORD='changeme' +PHOTOPRISM_ADMIN_PASSWORD='helper-scripts.com' PHOTOPRISM_HTTP_HOST='0.0.0.0' PHOTOPRISM_HTTP_PORT='2342' -PHOTOPRISM_SITE_CAPTION='https://Helper-Scripts.com' +PHOTOPRISM_SITE_CAPTION='https://tteck.github.io/Proxmox/' PHOTOPRISM_STORAGE_PATH='/opt/photoprism/storage' PHOTOPRISM_ORIGINALS_PATH='/opt/photoprism/photos/originals' PHOTOPRISM_IMPORT_PATH='/opt/photoprism/photos/import' diff --git a/install/pialert-install.sh b/install/pialert-install.sh index 04292dd9..78aa6d7d 100644 --- a/install/pialert-install.sh +++ b/install/pialert-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -33,6 +33,7 @@ $STD apt-get -y install \ aria2 \ wakeonlan \ wget \ + cron \ openssh-server msg_ok "Installed Dependencies" @@ -69,7 +70,7 @@ mv /var/www/html/index.lighttpd.html /var/www/html/index.lighttpd.html.old ln -s /usr/share/ieee-data/ /var/lib/ ln -s /opt/pialert/install/index.html /var/www/html/index.html ln -s /opt/pialert/front /var/www/html/pialert -chmod go+x /opt/pialert /opt/pialert/back/shoutrrr/x86/shoutrrr +chmod go+x /opt/pialert /opt/pialert/back/shoutrrr/arm64/shoutrrr chgrp -R www-data /opt/pialert/db /opt/pialert/front/reports /opt/pialert/config /opt/pialert/config/pialert.conf chmod -R 775 /opt/pialert/db /opt/pialert/db/temp /opt/pialert/config /opt/pialert/front/reports touch /opt/pialert/log/pialert.vendors.log /opt/pialert/log/pialert.IP.log /opt/pialert/log/pialert.1.log /opt/pialert/log/pialert.cleanup.log /opt/pialert/log/pialert.webservices.log diff --git a/install/pihole-install.sh b/install/pihole-install.sh index a0939126..455b8b1d 100644 --- a/install/pihole-install.sh +++ b/install/pihole-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -19,8 +19,8 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y ufw $STD apt-get install -y ntp -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Pi-hole" @@ -49,8 +49,6 @@ if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then read -r -p "Unbound is configured as a recursive DNS server by default, would you like it to be configured as a forwarding DNS server (using DNS-over-TLS (DoT)) instead? " prompt msg_info "Installing Unbound" $STD apt-get install -y unbound -$STD apt-get install -y openssh-server -$STD apt-get install -y wget cat </etc/unbound/unbound.conf.d/pi-hole.conf server: verbosity: 0 diff --git a/install/pingvin-install.sh b/install/pingvin-install.sh index 8e17727e..b6cfa583 100644 --- a/install/pingvin-install.sh +++ b/install/pingvin-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,8 +19,8 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y git $STD apt-get install -y gnupg -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -32,8 +32,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 $STD npm install pm2 -g msg_ok "Installed Node.js" diff --git a/install/plex-install.sh b/install/plex-install.sh index 8bac2de7..055712a3 100644 --- a/install/plex-install.sh +++ b/install/plex-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,13 +17,13 @@ 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 openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server +$STD apt-get install -y gpg msg_ok "Installed Dependencies" msg_info "Setting Up Hardware Acceleration" -$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools} +$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,vainfo} if [[ "$CTTYPE" == "0" ]]; then chgrp video /dev/dri chmod 755 /dev/dri diff --git a/install/pocketbase-install.sh b/install/pocketbase-install.sh index 86f68527..42b07279 100644 --- a/install/pocketbase-install.sh +++ b/install/pocketbase-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,13 +17,13 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Pocketbase" -RELEASE="$(curl -s https://api.github.com/repos/pocketbase/pocketbase/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')" -wget -q "https://github.com/pocketbase/pocketbase/releases/download/v${RELEASE}/pocketbase_${RELEASE}_linux_amd64.zip" -O /tmp/pocketbase.zip +RELEASE=$(curl -s https://api.github.com/repos/pocketbase/pocketbase/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') +wget -q https://github.com/pocketbase/pocketbase/releases/download/v${RELEASE}/pocketbase_${RELEASE}_linux_arm64.zip -O /tmp/pocketbase.zip mkdir -p /opt/pocketbase/{pb_public,pb_migrations,pb_hooks} unzip -q -o /tmp/pocketbase.zip -d /opt/pocketbase @@ -51,7 +51,6 @@ motd_ssh customize msg_info "Cleaning up" -rm -rf /tmp/pocketbase.zip $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned" diff --git a/install/podman-homeassistant-install.sh b/install/podman-homeassistant-install.sh index d8bb586b..3dccd3bb 100644 --- a/install/podman-homeassistant-install.sh +++ b/install/podman-homeassistant-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,8 +17,8 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Podman" diff --git a/install/podman-install.sh b/install/podman-install.sh index 84e8ff4a..d71d2b20 100644 --- a/install/podman-install.sh +++ b/install/podman-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,8 +17,8 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Podman" diff --git a/install/postgresql-install.sh b/install/postgresql-install.sh index 56c88b64..3e85f11e 100644 --- a/install/postgresql-install.sh +++ b/install/postgresql-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -18,8 +18,8 @@ $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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up PostgreSQL Repository" @@ -31,8 +31,6 @@ msg_ok "Setup PostgreSQL Repository" msg_info "Installing PostgreSQL" $STD apt-get update $STD apt-get install -y postgresql -$STD apt-get install -y openssh-server -$STD apt-get install -y wget cat </etc/postgresql/17/main/pg_hba.conf # PostgreSQL Client Authentication Configuration File diff --git a/install/prometheus-install.sh b/install/prometheus-install.sh index 6d926011..4ab8f274 100644 --- a/install/prometheus-install.sh +++ b/install/prometheus-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,17 +17,17 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Prometheus" RELEASE=$(curl -s https://api.github.com/repos/prometheus/prometheus/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') mkdir -p /etc/prometheus mkdir -p /var/lib/prometheus -wget -q https://github.com/prometheus/prometheus/releases/download/v${RELEASE}/prometheus-${RELEASE}.linux-amd64.tar.gz -tar -xf prometheus-${RELEASE}.linux-amd64.tar.gz -cd prometheus-${RELEASE}.linux-amd64 +wget -q https://github.com/prometheus/prometheus/releases/download/v${RELEASE}/prometheus-${RELEASE}.linux-arm64.tar.gz +tar -xf prometheus-${RELEASE}.linux-arm64.tar.gz +cd prometheus-${RELEASE}.linux-arm64 mv prometheus promtool /usr/local/bin/ mv prometheus.yml /etc/prometheus/prometheus.yml echo "${RELEASE}" >/opt/${APPLICATION}_version.txt @@ -60,5 +60,5 @@ customize msg_info "Cleaning up" $STD apt-get -y autoremove $STD apt-get -y autoclean -rm -rf ../prometheus-${RELEASE}.linux-amd64 ../prometheus-${RELEASE}.linux-amd64.tar.gz +rm -rf ../prometheus-${RELEASE}.linux-arm64 ../prometheus-${RELEASE}.linux-arm64.tar.gz msg_ok "Cleaned" diff --git a/install/prowlarr-install.sh b/install/prowlarr-install.sh index 62ef532b..adad73e8 100644 --- a/install/prowlarr-install.sh +++ b/install/prowlarr-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,14 +18,14 @@ $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y sqlite3 -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Prowlarr" mkdir -p /var/lib/prowlarr/ chmod 775 /var/lib/prowlarr/ -$STD wget --content-disposition 'https://prowlarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64' +$STD wget --content-disposition 'https://prowlarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=arm64' $STD tar -xvzf Prowlarr.master.*.tar.gz mv Prowlarr /opt chmod 775 /opt/Prowlarr diff --git a/install/proxmox-datacenter-manager-install.sh b/install/proxmox-datacenter-manager-install.sh index 7deeaf03..750a1dc3 100644 --- a/install/proxmox-datacenter-manager-install.sh +++ b/install/proxmox-datacenter-manager-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: CrazyWolf13 # License: MIT # Source: Proxmox Server Solution GmbH @@ -15,12 +15,12 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ - curl \ - sudo \ - gpg \ - mc \ - openssh-server \ - wget + curl \ + sudo \ + gpg \ + mc \ + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Installing Proxmox Datacenter Manager" @@ -28,10 +28,8 @@ curl -fsSL https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg | echo "deb [signed-by=/etc/apt/keyrings/proxmox-release-bookworm.gpg] http://download.proxmox.com/debian/pdm bookworm pdm-test " >/etc/apt/sources.list.d/proxmox-release-bookworm.list $STD apt-get update $STD apt-get install -y \ - proxmox-datacenter-manager \ - proxmox-datacenter-manager-ui \ - openssh-server \ - wget + proxmox-datacenter-manager \ + proxmox-datacenter-manager-ui msg_ok "Installed Proxmox Datacenter Manager" motd_ssh diff --git a/install/qbittorrent-install.sh b/install/qbittorrent-install.sh index 5284f15a..8458dd77 100644 --- a/install/qbittorrent-install.sh +++ b/install/qbittorrent-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,14 +17,12 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing qbittorrent-nox" $STD apt-get install -y qbittorrent-nox -$STD apt-get install -y openssh-server -$STD apt-get install -y wget mkdir -p /.config/qBittorrent/ cat </.config/qBittorrent/qBittorrent.conf [Preferences] diff --git a/install/rabbitmq-install.sh b/install/rabbitmq-install.sh index 5fd4aaf6..a319151c 100644 --- a/install/rabbitmq-install.sh +++ b/install/rabbitmq-install.sh @@ -4,7 +4,7 @@ # Author: tteck # Co-Author: MickLesk (Canbiz) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE # Source: https://www.rabbitmq.com/ source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" @@ -20,12 +20,13 @@ $STD apt-get install -y \ sudo \ lsb-release \ curl \ - gnupg \ + gnupg \ apt-transport-https \ make \ mc \ + wget \ openssh-server \ - wget + software-properties-common msg_ok "Installed Dependencies" msg_info "Adding RabbitMQ signing key" @@ -36,14 +37,11 @@ msg_ok "Signing keys added" msg_info "Adding RabbitMQ repository" cat </etc/apt/sources.list.d/rabbitmq.list -## Provides modern Erlang/OTP releases from a Cloudsmith mirror -deb [signed-by=/usr/share/keyrings/rabbitmq.E495BB49CC4BBE5B.gpg] https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/debian $(lsb_release -cs) main -deb-src [signed-by=/usr/share/keyrings/rabbitmq.E495BB49CC4BBE5B.gpg] https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/debian $(lsb_release -cs) main - ## Provides RabbitMQ from a Cloudsmith mirror -deb [signed-by=/usr/share/keyrings/rabbitmq.9F4587F226208342.gpg] https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/debian $(lsb_release -cs) main -deb-src [signed-by=/usr/share/keyrings/rabbitmq.9F4587F226208342.gpg] https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/debian $(lsb_release -cs) main +deb [signed-by=/usr/share/keyrings/rabbitmq.9F4587F226208342.gpg] https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu $(lsb_release -cs) main +deb-src [signed-by=/usr/share/keyrings/rabbitmq.9F4587F226208342.gpg] https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu $(lsb_release -cs) main EOF +$STD add-apt-repository -y ppa:rabbitmq/rabbitmq-erlang msg_ok "RabbitMQ repository added" msg_info "Updating package list" diff --git a/install/radarr-install.sh b/install/radarr-install.sh index ae122c09..2f76b890 100644 --- a/install/radarr-install.sh +++ b/install/radarr-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,14 +18,14 @@ $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y sqlite3 -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Radarr" mkdir -p /var/lib/radarr/ chmod 775 /var/lib/radarr/ -$STD wget --content-disposition 'https://radarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64' +$STD wget --content-disposition 'https://radarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=arm64' $STD tar -xvzf Radarr.master.*.tar.gz mv Radarr /opt chmod 775 /opt/Radarr diff --git a/install/rdtclient-install.sh b/install/rdtclient-install.sh index 1066d399..14e7bed9 100644 --- a/install/rdtclient-install.sh +++ b/install/rdtclient-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -14,22 +14,28 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ - mc \ - curl \ - sudo \ - openssh-server \ - wget +$STD apt-get install -y curl +$STD apt-get install -y sudo +$STD apt-get install -y mc +$STD apt-get install -y unzip +$STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing ASP.NET Core Runtime" -wget -q https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -$STD dpkg -i packages-microsoft-prod.deb -rm packages-microsoft-prod.deb -$STD apt-get update -$STD apt-get install -y dotnet-sdk-9.0 -$STD apt-get install -y openssh-server -$STD apt-get install -y wget +$STD apt-get install -y libc6 +$STD apt-get install -y libgcc1 +$STD apt-get install -y libgssapi-krb5-2 +$STD apt-get install -y libicu72 +$STD apt-get install -y liblttng-ust1 +$STD apt-get install -y libssl3 +$STD apt-get install -y libstdc++6 +$STD apt-get install -y zlib1g + +curl -SL -o dotnet.tar.gz https://download.visualstudio.microsoft.com/download/pr/6f79d99b-dc38-4c44-a549-32329419bb9f/a411ec38fb374e3a4676647b236ba021/dotnet-sdk-9.0.100-linux-arm64.tar.gz +mkdir -p /usr/share/dotnet +$STD tar -zxf dotnet.tar.gz -C /usr/share/dotnet +$STD ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet msg_ok "Installed ASP.NET Core Runtime" msg_info "Installing rdtclient" diff --git a/install/readarr-install.sh b/install/readarr-install.sh index 360ea545..974f01e3 100644 --- a/install/readarr-install.sh +++ b/install/readarr-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,14 +18,14 @@ $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y sqlite3 -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Readarr" mkdir -p /var/lib/readarr/ chmod 775 /var/lib/readarr/ -$STD wget --content-disposition 'https://readarr.servarr.com/v1/update/develop/updatefile?os=linux&runtime=netcore&arch=x64' +$STD wget --content-disposition 'https://readarr.servarr.com/v1/update/develop/updatefile?os=linux&runtime=netcore&arch=arm64' $STD tar -xvzf Readarr.develop.*.tar.gz mv Readarr /opt chmod 775 /opt/Readarr diff --git a/install/readeck-install.sh b/install/readeck-install.sh index 8dad2d1c..297ee1a7 100644 --- a/install/readeck-install.sh +++ b/install/readeck-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,15 +17,15 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Readeck" LATEST=$(curl -s https://codeberg.org/readeck/readeck/releases/ | grep -oP '(?<=Version )\d+\.\d+\.\d+' | head -1) mkdir -p /opt/readeck cd /opt/readeck -wget -q -O readeck https://codeberg.org/readeck/readeck/releases/download/${LATEST}/readeck-${LATEST}-linux-amd64 +wget -q -O readeck https://codeberg.org/readeck/readeck/releases/download/${LATEST}/readeck-${LATEST}-linux-arm64 chmod a+x readeck msg_ok "Installed Readeck" diff --git a/install/recyclarr-install.sh b/install/recyclarr-install.sh index a0fb7e5e..7349a807 100644 --- a/install/recyclarr-install.sh +++ b/install/recyclarr-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: MrYadro # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -18,12 +18,12 @@ $STD apt-get install -y curl $STD apt-get install -y git $STD apt-get install -y sudo $STD apt-get install -y mc -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Recyclarr" -wget -q $(curl -s https://api.github.com/repos/recyclarr/recyclarr/releases/latest | grep download | grep linux-x64 | cut -d\" -f4) +wget -q $(curl -s https://api.github.com/repos/recyclarr/recyclarr/releases/latest | grep download | grep linux-arm64 | cut -d\" -f4) tar -C /usr/local/bin -xJf recyclarr*.tar.xz mkdir -p /root/.config/recyclarr recyclarr config create diff --git a/install/redis-install.sh b/install/redis-install.sh index f4d5903a..44c71825 100644 --- a/install/redis-install.sh +++ b/install/redis-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -20,8 +20,8 @@ $STD apt-get install -y mc $STD apt-get install -y apt-transport-https $STD apt-get install -y gpg $STD apt-get install -y lsb-release -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Redis" @@ -29,8 +29,6 @@ wget -qO- https://packages.redis.io/gpg | gpg --dearmor >/usr/share/keyrings/red echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" >/etc/apt/sources.list.d/redis.list $STD apt-get update $STD apt-get install -y redis -$STD apt-get install -y openssh-server -$STD apt-get install -y wget sed -i 's/^bind .*/bind 0.0.0.0/' /etc/redis/redis.conf systemctl enable -q --now redis-server.service msg_ok "Installed Redis" diff --git a/install/rtsptoweb-install.sh b/install/rtsptoweb-install.sh index 7faac428..1c19aba4 100644 --- a/install/rtsptoweb-install.sh +++ b/install/rtsptoweb-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,15 +18,15 @@ $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y git $STD apt-get install -y mc -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Golang" -$STD wget https://golang.org/dl/go1.20.1.linux-amd64.tar.gz -$STD tar -xzf go1.20.1.linux-amd64.tar.gz -C /usr/local +$STD wget https://golang.org/dl/go1.20.1.linux-arm64.tar.gz +$STD tar -xzf go1.20.1.linux-arm64.tar.gz -C /usr/local $STD ln -s /usr/local/go/bin/go /usr/local/bin/go -rm -rf go1.20.1.linux-amd64.tar.gz +rm -rf go1.20.1.linux-arm64.tar.gz msg_ok "Installed Golang" msg_info "Installing RTSPtoWeb" diff --git a/install/runtipi-install.sh b/install/runtipi-install.sh index 7c9e54d1..a2040a88 100644 --- a/install/runtipi-install.sh +++ b/install/runtipi-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,8 +17,8 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Runtipi (Patience)" diff --git a/install/sabnzbd-install.sh b/install/sabnzbd-install.sh index b3a37d87..ad4bc475 100644 --- a/install/sabnzbd-install.sh +++ b/install/sabnzbd-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -19,27 +19,21 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y par2 $STD apt-get install -y p7zip-full -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server cat </etc/apt/sources.list.d/non-free.list deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware EOF $STD apt-get update $STD apt-get install -y unrar -$STD apt-get install -y openssh-server -$STD apt-get install -y wget rm /etc/apt/sources.list.d/non-free.list msg_ok "Installed Dependencies" msg_info "Updating Python3" $STD apt-get install -y \ python3-dev \ - python3-pip \ - openssh-server \ - wget + python3-pip $STD apt-get install -y python3-setuptools -$STD apt-get install -y openssh-server -$STD apt-get install -y wget rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Updated Python3" diff --git a/install/scrypted-install.sh b/install/scrypted-install.sh new file mode 100644 index 00000000..97197b2e --- /dev/null +++ b/install/scrypted-install.sh @@ -0,0 +1,138 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2024 tteck +# Author: tteck (tteckster) +# License: MIT +# https://github.com/tteck/Proxmox/raw/main/LICENSE + +source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies (Patience)" +$STD apt-get -y install software-properties-common apt-utils +$STD apt-get -y update +$STD apt-get -y upgrade +$STD apt-get install -y avahi-daemon +$STD apt-get -y install \ + build-essential \ + gcc \ + gir1.2-gtk-3.0 \ + libcairo2-dev \ + libgirepository1.0-dev \ + libglib2.0-dev \ + libjpeg-dev \ + libgif-dev \ + libopenjp2-7 \ + libpango1.0-dev \ + librsvg2-dev \ + pkg-config \ + curl \ + sudo \ + mc \ + ca-certificates \ + gpg \ + wget \ + openssh-server +msg_ok "Installed Dependencies" + +msg_info "Setting Up Hardware Acceleration" +$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,vainfo} +if [[ "$CTTYPE" == "0" ]]; then + chgrp video /dev/dri + chmod 755 /dev/dri + chmod 660 /dev/dri/* + $STD adduser $(id -u -n) video + $STD adduser $(id -u -n) render +fi +msg_ok "Set Up Hardware Acceleration" + +msg_info "Installing GStreamer (Patience)" +$STD apt-get -y install \ + gstreamer1.0-tools \ + libgstreamer1.0-dev \ + libgstreamer-plugins-base1.0-dev \ + libgstreamer-plugins-bad1.0-dev \ + gstreamer1.0-plugins-base \ + gstreamer1.0-plugins-good \ + gstreamer1.0-plugins-bad \ + gstreamer1.0-plugins-ugly \ + gstreamer1.0-libav \ + gstreamer1.0-alsa +msg_ok "Installed GStreamer" + +msg_info "Setting up Node.js Repository" +mkdir -p /etc/apt/keyrings +curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg +echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list +msg_ok "Set up Node.js Repository" + +msg_info "Installing Node.js" +$STD apt-get update +$STD apt-get install -y nodejs +msg_ok "Installed Node.js" + +msg_info "Updating Python3" +$STD apt-get install -y \ + python3 \ + python3-dev \ + python3-pip +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED +msg_ok "Updated Python3" + +msg_info "Installing Python3 Dependencies" +$STD apt-get -y install \ + python3-gi \ + python3-gst-1.0 \ + python3-matplotlib \ + python3-numpy \ + python3-opencv \ + python3-pil \ + python3-setuptools \ + python3-skimage \ + python3-wheel +$STD python3 -m pip install --upgrade pip +$STD python3 -m pip install aiofiles debugpy typing_extensions typing +msg_ok "Installed Python3 Dependencies" + +msg_info "Installing Scrypted" +$STD npx -y scrypted@latest install-server + +if [[ "$CTTYPE" == "0" ]]; then + sed -i -e 's/^sgx:x:104:$/render:x:104:root/' -e 's/^render:x:106:root$/sgx:x:106:/' /etc/group +else + sed -i -e 's/^sgx:x:104:$/render:x:104:/' -e 's/^render:x:106:$/sgx:x:106:/' /etc/group +fi +msg_ok "Installed Scrypted" + +msg_info "Creating Service" +cat </etc/systemd/system/scrypted.service +[Unit] +Description=Scrypted service +After=network.target + +[Service] +User=root +Group=root +Type=simple +ExecStart=/usr/bin/npx -y scrypted serve +Restart=on-failure +RestartSec=3 + +[Install] +WantedBy=multi-user.target +EOF +systemctl enable -q --now scrypted.service +msg_ok "Created Service" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD apt-get -y autoremove +$STD apt-get -y autoclean +msg_ok "Cleaned" diff --git a/install/semaphore-install.sh b/install/semaphore-install.sh new file mode 100644 index 00000000..730db6b2 --- /dev/null +++ b/install/semaphore-install.sh @@ -0,0 +1,89 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2025 community-scripts ORG +# Author: kristocopani +# License: MIT +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt-get install -y \ + curl \ + mc \ + git \ + gpg \ + sudo \ + wget \ + openssh-server + +wget -qO- "https://keyserver.ubuntu.com/pks/lookup?fingerprint=on&op=get&search=0x6125E2A8C77F2818FB7BD15B93C4A3FD7BB9C367" | gpg --dearmour >/usr/share/keyrings/ansible-archive-keyring.gpg +cat </etc/apt/sources.list.d/ansible.list +deb [signed-by=/usr/share/keyrings/ansible-archive-keyring.gpg] http://ppa.launchpad.net/ansible/ansible/ubuntu jammy main +EOF +$STD apt update +$STD apt install -y ansible +msg_ok "Installed Dependencies" + +msg_info "Setup Semaphore" +RELEASE=$(curl -s https://api.github.com/repos/semaphoreui/semaphore/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') +mkdir -p /opt/semaphore +cd /opt/semaphore +wget -q https://github.com/semaphoreui/semaphore/releases/download/v${RELEASE}/semaphore_${RELEASE}_linux_arm64.deb +$STD dpkg -i semaphore_${RELEASE}_linux_arm64.deb + +SEM_HASH=$(openssl rand -base64 32) +SEM_ENCRYPTION=$(openssl rand -base64 32) +SEM_KEY=$(openssl rand -base64 32) +SEM_PW=$(openssl rand -base64 12) +cat </opt/semaphore/config.json +{ + "bolt": { + "host": "/opt/semaphore/semaphore_db.bolt" + }, + "tmp_path": "/opt/semaphore/tmp", + "cookie_hash": "${SEM_HASH}", + "cookie_encryption": "${SEM_ENCRYPTION}", + "access_key_encryption": "${SEM_KEY}" +} +EOF + +$STD semaphore user add --admin --login admin --email admin@helper-scripts.com --name Administrator --password ${SEM_PW} --config /opt/semaphore/config.json +echo "${SEM_PW}" >~/semaphore.creds +echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt" +msg_ok "Setup Semaphore" + +msg_info "Creating Service" +cat </etc/systemd/system/semaphore.service +[Unit] +Description=Semaphore UI +Documentation=https://docs.semaphoreui.com/ +Wants=network-online.target +After=network-online.target + +[Service] +ExecStart=/usr/bin/semaphore server --config /opt/semaphore/config.json +Restart=always +RestartSec=10s + +[Install] +WantedBy=multi-user.target +EOF + +systemctl enable --now -q semaphore.service +msg_ok "Created Service" + +motd_ssh +customize + +msg_info "Cleaning up" +rm -rf semaphore_${RELEASE}_linux_arm64.deb +$STD apt-get -y autoremove +$STD apt-get -y autoclean +msg_ok "Cleaned" \ No newline at end of file diff --git a/install/sftpgo-install.sh b/install/sftpgo-install.sh index 6615adae..c44892c5 100644 --- a/install/sftpgo-install.sh +++ b/install/sftpgo-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -19,13 +19,13 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y gpg $STD apt-get install -y sqlite3 -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Golang" set +o pipefail -RELEASE=$(curl -s https://go.dev/dl/ | grep -o "go.*\linux-amd64.tar.gz" | head -n 1) +RELEASE=$(curl -s https://go.dev/dl/ | grep -o "go.*\linux-arm64.tar.gz" | head -n 1) wget -q https://golang.org/dl/$RELEASE tar -xzf $RELEASE -C /usr/local $STD ln -s /usr/local/go/bin/go /usr/local/bin/go @@ -37,8 +37,6 @@ curl -sS https://ftp.osuosl.org/pub/sftpgo/apt/gpg.key | gpg --dearmor -o /usr/s echo "deb [signed-by=/usr/share/keyrings/sftpgo-archive-keyring.gpg] https://ftp.osuosl.org/pub/sftpgo/apt bookworm main" >/etc/apt/sources.list.d/sftpgo.list $STD apt-get update $STD apt-get install -y sftpgo -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed SFTPGo" motd_ssh diff --git a/install/shinobi-install.sh b/install/shinobi-install.sh index acc90fe8..6b83d360 100644 --- a/install/shinobi-install.sh +++ b/install/shinobi-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,8 +19,8 @@ $STD apt-get install -y make zip net-tools $STD apt-get install -y gcc g++ cmake $STD apt-get install -y ca-certificates $STD apt-get install -y gnupg -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -32,14 +32,10 @@ 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 FFMPEG" $STD apt-get install -y ffmpeg -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed FFMPEG" msg_info "Cloning Shinobi" @@ -59,8 +55,6 @@ sqlpass="root" echo "mariadb-server mariadb-server/root_password password $sqlpass" | debconf-set-selections echo "mariadb-server mariadb-server/root_password_again password $sqlpass" | debconf-set-selections $STD apt-get install -y mariadb-server -$STD apt-get install -y openssh-server -$STD apt-get install -y wget service mysql start mysql -u "$sqluser" -p"$sqlpass" -e "source sql/user.sql" || true msg_ok "Installed Database" diff --git a/install/silverbullet-install.sh b/install/silverbullet-install.sh index 5f62a34f..6c9c3907 100644 --- a/install/silverbullet-install.sh +++ b/install/silverbullet-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: Dominik Siebel (dsiebel) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -18,15 +18,15 @@ $STD apt-get install -y \ curl \ sudo \ mc \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Installing Silverbullet" RELEASE=$(curl -s https://api.github.com/repos/silverbulletmd/silverbullet/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') mkdir -p /opt/silverbullet/bin /opt/silverbullet/space -wget -q https://github.com/silverbulletmd/silverbullet/releases/download/${RELEASE}/silverbullet-server-linux-x86_64.zip -unzip -oq -d /opt/silverbullet/bin/ silverbullet-server-linux-x86_64.zip +wget -q https://github.com/silverbulletmd/silverbullet/releases/download/${RELEASE}/silverbullet-server-linux-aarch64.zip +unzip -oq -d /opt/silverbullet/bin/ silverbullet-server-linux-aarch64.zip chmod +x /opt/silverbullet/bin/silverbullet echo "${RELEASE}" >/opt/${APPLICATION}_version.txt msg_ok "Installed Silverbullet" @@ -55,7 +55,7 @@ motd_ssh customize msg_info "Cleaning up" -rm -rf silverbullet-server-linux-x86_64.zip +rm -rf silverbullet-server-linux-aarch64.zip $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned" diff --git a/install/smokeping-install.sh b/install/smokeping-install.sh index 9a6e4fbb..ea51989b 100644 --- a/install/smokeping-install.sh +++ b/install/smokeping-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,14 +17,12 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing SmokePing" $STD apt-get install -y smokeping -$STD apt-get install -y openssh-server -$STD apt-get install -y wget cat </etc/smokeping/config.d/Targets *** Targets *** probe = FPing diff --git a/install/snipeit-install.sh b/install/snipeit-install.sh index 59396cde..53b1f20d 100644 --- a/install/snipeit-install.sh +++ b/install/snipeit-install.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -#Copyright (c) 2021-2024 community-scripts ORG +#Copyright (c) 2021-2025 community-scripts ORG # Author: Michel Roegl-Brunner (michelroegl-brunner) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -25,8 +25,8 @@ $STD apt-get install -y \ nginx \ php8.2-{bcmath,common,ctype,curl,fileinfo,fpm,gd,iconv,intl,mbstring,mysql,soap,xml,xsl,zip,cli} \ mariadb-server \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setting up database" diff --git a/install/sonarr-install.sh b/install/sonarr-install.sh index 3d8e0732..2c21d3cd 100644 --- a/install/sonarr-install.sh +++ b/install/sonarr-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,14 +18,14 @@ $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y sqlite3 -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Sonarr v4" mkdir -p /var/lib/sonarr/ chmod 775 /var/lib/sonarr/ -wget -q -O SonarrV4.tar.gz 'https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=x64' +wget -q -O SonarrV4.tar.gz 'https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=arm64' tar -xzf SonarrV4.tar.gz mv Sonarr /opt rm -rf SonarrV4.tar.gz diff --git a/install/spoolman-install.sh b/install/spoolman-install.sh index ae261e2b..7d7a20dc 100644 --- a/install/spoolman-install.sh +++ b/install/spoolman-install.sh @@ -1,8 +1,7 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck -# Author: tteck -# Co-Author: MickLesk (Canbiz) +# Copyright (c) 2021-2025 tteck +# Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://github.com/Donkie/Spoolman @@ -25,8 +24,8 @@ $STD apt-get install -y \ gpg \ ca-certificates \ mc \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Installing Python3" @@ -34,9 +33,7 @@ $STD apt-get install -y \ python3-dev \ python3-setuptools \ python3-wheel \ - python3-pip \ - openssh-server \ - wget + python3-pip msg_ok "Installed Python3" msg_info "Installing Spoolman" diff --git a/install/stirling-pdf-install.sh b/install/stirling-pdf-install.sh index c2e8ac7c..d7be36b6 100644 --- a/install/stirling-pdf-install.sh +++ b/install/stirling-pdf-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -28,27 +28,23 @@ $STD apt-get install -y \ make \ g++ \ unpaper \ - qpdf \ + ocrmypdf \ poppler-utils \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Installing LibreOffice Components" $STD apt-get install -y \ libreoffice-writer \ libreoffice-calc \ - libreoffice-impress \ - openssh-server \ - wget + libreoffice-impress msg_ok "Installed LibreOffice Components" msg_info "Installing Python Dependencies" $STD apt-get install -y \ python3 \ - python3-pip \ - openssh-server \ - wget + python3-pip rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED $STD pip3 install \ uno \ @@ -77,8 +73,6 @@ msg_ok "Installed JBIG2" msg_info "Installing Language Packs (Patience)" $STD apt-get install -y 'tesseract-ocr-*' -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed Language Packs" msg_info "Installing Stirling-PDF (Additional Patience)" diff --git a/install/syncthing-install.sh b/install/syncthing-install.sh index ab944376..0e9ece07 100644 --- a/install/syncthing-install.sh +++ b/install/syncthing-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,7 +19,7 @@ $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 -$STD apt-get install -y wget +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Installed Dependencies" msg_info "Installing Syncthing" @@ -27,8 +27,6 @@ curl -sL -o /usr/share/keyrings/syncthing-archive-keyring.gpg https://syncthing. sh -c 'echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" > /etc/apt/sources.list.d/syncthing.list' $STD apt-get update $STD apt-get install -y syncthing -$STD apt-get install -y openssh-server -$STD apt-get install -y wget $STD systemctl enable syncthing@root.service systemctl start syncthing@root.service sleep 5 diff --git a/install/tandoor-install.sh b/install/tandoor-install.sh index 41e4fa80..ae5fbbff 100644 --- a/install/tandoor-install.sh +++ b/install/tandoor-install.sh @@ -4,7 +4,7 @@ # Author: tteck # Co-Author: MickLesk (Canbiz) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -29,7 +29,9 @@ $STD apt-get install -y --no-install-recommends \ sudo \ git \ make \ - mc + mc \ + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Updating Python3" @@ -37,9 +39,7 @@ $STD apt-get install -y \ python3 \ python3-dev \ python3-setuptools \ - python3-pip \ - openssh-server \ - wget + python3-pip rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Updated Python3" @@ -52,8 +52,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 $STD npm install -g yarn msg_ok "Installed Node.js" @@ -84,8 +82,6 @@ curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc|gpg --dearmor -o / echo "deb https://apt.postgresql.org/pub/repos/apt bookworm-pgdg main" >/etc/apt/sources.list.d/pgdg.list $STD apt-get update $STD apt-get install -y postgresql-16 -$STD apt-get install -y openssh-server -$STD apt-get install -y wget $STD sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN PASSWORD '$DB_PASS';" $STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER TEMPLATE template0;" $STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET client_encoding TO 'utf8';" diff --git a/install/tasmoadmin-install.sh b/install/tasmoadmin-install.sh index 39b15bf5..1a832c15 100644 --- a/install/tasmoadmin-install.sh +++ b/install/tasmoadmin-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -25,8 +25,8 @@ $STD apt-get install -y php8.2-zip $STD apt-get install -y php8.2-mbstring $STD apt-get install -y php8.2-xml $STD apt-get install -y git -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing TasmoAdmin" diff --git a/install/tautulli-install.sh b/install/tautulli-install.sh index a3ddc1df..945b7a4d 100644 --- a/install/tautulli-install.sh +++ b/install/tautulli-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,17 +19,15 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y git $STD apt-get install -y pip -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" 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" diff --git a/install/tdarr-install.sh b/install/tdarr-install.sh index 85ed4a25..b8a7337d 100644 --- a/install/tdarr-install.sh +++ b/install/tdarr-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,12 +18,12 @@ $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y handbrake-cli -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting Up Hardware Acceleration" -$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools} +$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,vainfo} if [[ "$CTTYPE" == "0" ]]; then chgrp video /dev/dri chmod 755 /dev/dri @@ -36,7 +36,7 @@ msg_ok "Set Up Hardware Acceleration" msg_info "Installing Tdarr" mkdir -p /opt/tdarr cd /opt/tdarr -RELEASE=$(curl -s https://f000.backblazeb2.com/file/tdarrs/versions.json | grep -oP '(?<="Tdarr_Updater": ")[^"]+' | grep linux_x64 | head -n 1) +RELEASE=$(curl -s https://f000.backblazeb2.com/file/tdarrs/versions.json | grep -oP '(?<="Tdarr_Updater": ")[^"]+' | grep linux_arm64 | head -n 1) wget -q $RELEASE $STD unzip Tdarr_Updater.zip rm -rf Tdarr_Updater.zip diff --git a/install/technitiumdns-install.sh b/install/technitiumdns-install.sh index b0cea918..d3e47019 100644 --- a/install/technitiumdns-install.sh +++ b/install/technitiumdns-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,18 +17,17 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing ASP.NET Core Runtime" -wget -q https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb -$STD dpkg -i packages-microsoft-prod.deb -rm -rf packages-microsoft-prod.deb -$STD apt-get update -$STD apt-get install -y aspnetcore-runtime-8.0 -$STD apt-get install -y openssh-server -$STD apt-get install -y wget +curl -SL -o dotnet.tar.gz https://download.visualstudio.microsoft.com/download/pr/1e449990-2934-47ee-97fb-b78f0e587c98/1c92c33593932f7a86efa5aff18960ed/dotnet-sdk-8.0.204-linux-arm64.tar.gz +curl -SL -o aspnet.tar.gz https://download.visualstudio.microsoft.com/download/pr/80ec12e5-b26f-466c-a20c-f96772ea709d/606e7203912400b44cb35d6fcecf60bf/aspnetcore-runtime-8.0.4-linux-arm64.tar.gz +$STD mkdir -p /usr/share/dotnet +$STD tar -zxf dotnet.tar.gz -C /usr/share/dotnet +$STD tar -zxf aspnet.tar.gz -C /usr/share/dotnet +ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet msg_ok "Installed ASP.NET Core Runtime" msg_info "Installing Technitium DNS" diff --git a/install/teddycloud-install.sh b/install/teddycloud-install.sh index 2a64090a..75c04b12 100644 --- a/install/teddycloud-install.sh +++ b/install/teddycloud-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: Dominik Siebel (dsiebel) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -22,8 +22,8 @@ $STD apt-get install -y \ ffmpeg \ curl \ ca-certificates \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Installing TeddyCloud" diff --git a/install/the-lounge-install.sh b/install/the-lounge-install.sh index 1cab417a..8b6bdefc 100644 --- a/install/the-lounge-install.sh +++ b/install/the-lounge-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -19,8 +19,8 @@ $STD apt-get install -y \ gpg \ wget \ mc \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -32,8 +32,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 $STD npm install --global yarn msg_ok "Installed Node.js" diff --git a/install/threadfin-install.sh b/install/threadfin-install.sh index ff2aeb30..d62d15ca 100644 --- a/install/threadfin-install.sh +++ b/install/threadfin-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,13 +19,13 @@ $STD apt-get install -y mc $STD apt-get install -y curl $STD apt-get install -y ffmpeg $STD apt-get install -y vlc -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Threadfin" mkdir -p /opt/threadfin -wget -q -O /opt/threadfin/threadfin 'https://github.com/Threadfin/Threadfin/releases/latest/download/Threadfin_linux_amd64' +wget -q -O /opt/threadfin/threadfin 'https://github.com/Threadfin/Threadfin/releases/latest/download/Threadfin_linux_arm64' chmod +x /opt/threadfin/threadfin msg_ok "Installed Threadfin" diff --git a/install/tianji-install.sh b/install/tianji-install.sh index b9bc0155..950c9679 100644 --- a/install/tianji-install.sh +++ b/install/tianji-install.sh @@ -4,7 +4,7 @@ # Author: tteck # Co-Author: MickLesk (Canbiz) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE # Source: https://github.com/msgbyte/tianji source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" @@ -29,8 +29,8 @@ $STD apt-get install -y \ gnupg \ ca-certificates \ mc \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Installing Node.js" @@ -39,8 +39,6 @@ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dea echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list $STD apt-get update $STD apt-get install -y nodejs -$STD apt-get install -y openssh-server -$STD apt-get install -y wget $STD npm install -g pnpm@9.7.1 export NODE_OPTIONS="--max_old_space_size=4096" msg_ok "Installed Node.js" diff --git a/install/traccar-install.sh b/install/traccar-install.sh index e841f04d..2854ae7b 100644 --- a/install/traccar-install.sh +++ b/install/traccar-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,17 +17,17 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" RELEASE=$(curl -s https://api.github.com/repos/traccar/traccar/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') msg_info "Installing Traccar v${RELEASE}" -wget -q https://github.com/traccar/traccar/releases/download/v${RELEASE}/traccar-linux-64-${RELEASE}.zip -$STD unzip traccar-linux-64-${RELEASE}.zip +wget -q https://github.com/traccar/traccar/releases/download/v${RELEASE}/traccar-linux-arm-${RELEASE}.zip +$STD unzip traccar-linux-arm-${RELEASE}.zip $STD ./traccar.run systemctl enable -q --now traccar -rm -rf README.txt traccar-linux-64-${RELEASE}.zip traccar.run +rm -rf README.txt traccar-linux-arm-${RELEASE}.zip traccar.run msg_ok "Installed Traccar v${RELEASE}" motd_ssh diff --git a/install/traefik-install.sh b/install/traefik-install.sh index 1b8ece23..a157dea7 100644 --- a/install/traefik-install.sh +++ b/install/traefik-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,14 +19,14 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y gpg $STD apt-get install -y apt-transport-https -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" RELEASE=$(curl -s https://api.github.com/repos/traefik/traefik/releases | grep -oP '"tag_name":\s*"v\K[\d.]+?(?=")' | sort -V | tail -n 1) msg_info "Installing Traefik v${RELEASE}" mkdir -p /etc/traefik/{conf.d,ssl} -wget -q https://github.com/traefik/traefik/releases/download/v${RELEASE}/traefik_v${RELEASE}_linux_amd64.tar.gz +wget -q https://github.com/traefik/traefik/releases/download/v${RELEASE}/traefik_v${RELEASE}_linux_arm64.tar.gz tar -C /tmp -xzf traefik*.tar.gz mv /tmp/traefik /usr/bin/ rm -rf traefik*.tar.gz diff --git a/install/transmission-install.sh b/install/transmission-install.sh index 98701cd5..ecb814d9 100644 --- a/install/transmission-install.sh +++ b/install/transmission-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -16,16 +16,14 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y curl $STD apt-get install -y sudo +$STD apt-get install -y wget $STD apt-get install -y mc $STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Transmission" $STD apt-get install -y transmission-daemon -$STD apt-get install -y openssh-server -$STD apt-get install -y wget systemctl stop transmission-daemon sed -i '{s/"rpc-whitelist-enabled": true/"rpc-whitelist-enabled": false/g; s/"rpc-host-whitelist-enabled": true,/"rpc-host-whitelist-enabled": false,/g}' /etc/transmission-daemon/settings.json systemctl start transmission-daemon diff --git a/install/trilium-install.sh b/install/trilium-install.sh index 3e94ad7d..8dc3512a 100644 --- a/install/trilium-install.sh +++ b/install/trilium-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/install/typesense-install.sh b/install/typesense-install.sh new file mode 100644 index 00000000..beab980e --- /dev/null +++ b/install/typesense-install.sh @@ -0,0 +1,41 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2025 community-scripts ORG +# Author: tlissak +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://typesense.org/ + +source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +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" + +msg_info "Installing TypeSense" +RELEASE=$(curl -s https://api.github.com/repos/typesense/typesense/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') +cd /opt +wget -q https://dl.typesense.org/releases/${RELEASE}/typesense-server-${RELEASE}-amd64.deb +$STD apt install -y /opt/typesense-server-${RELEASE}-amd64.deb +echo 'enable-cors = true' >> /etc/typesense/typesense-server.ini +echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt" +msg_ok "Installed TypeSense" + +motd_ssh +customize + +msg_info "Cleaning up" +rm -rf /opt/typesense-server-${RELEASE}-amd64.deb +$STD apt-get -y autoremove +$STD apt-get -y autoclean +msg_ok "Cleaned" diff --git a/install/ubuntu-install.sh b/install/ubuntu-install.sh index c2e69c2e..6b0e6b85 100644 --- a/install/ubuntu-install.sh +++ b/install/ubuntu-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,8 +17,8 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" motd_ssh diff --git a/install/umami-install.sh b/install/umami-install.sh index 19f5557c..1b850aee 100644 --- a/install/umami-install.sh +++ b/install/umami-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -20,8 +20,8 @@ $STD apt-get install -y mc $STD apt-get install -y git $STD apt-get install -y gpg $STD apt-get install -y postgresql -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -33,8 +33,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 $STD npm install -g yarn msg_ok "Installed Node.js" diff --git a/install/umbrel-install.sh b/install/umbrel-install.sh index 4b4e766a..1b976b9b 100644 --- a/install/umbrel-install.sh +++ b/install/umbrel-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,8 +17,8 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Umbrel (Patience)" diff --git a/install/unbound-install.sh b/install/unbound-install.sh index 33294fd4..387e57e7 100644 --- a/install/unbound-install.sh +++ b/install/unbound-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: wimb0 # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -18,16 +18,14 @@ $STD apt-get install -y \ sudo \ curl \ mc \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Installing Unbound" $STD apt-get install -y \ unbound \ - unbound-host \ - openssh-server \ - wget + unbound-host msg_info "Installed Unbound" cat </etc/unbound/unbound.conf.d/unbound.conf diff --git a/install/unifi-install.sh b/install/unifi-install.sh index e19a5674..243765d5 100644 --- a/install/unifi-install.sh +++ b/install/unifi-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,50 +19,29 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y apt-transport-https $STD apt-get install -y gnupg -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Eclipse Temurin JRE" wget -qO- 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 jammy main" >/etc/apt/sources.list.d/adoptium.list $STD apt-get update $STD apt-get install -y temurin-17-jre -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed Eclipse Temurin JRE" -if ! grep -q -m1 'avx[^ ]*' /proc/cpuinfo; then - msg_ok "No AVX Support Detected" - msg_info "Installing MongoDB 4.4" - if ! dpkg -l | grep -q "libssl1.1"; then - wget -q http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.1_1.1.1n-0+deb10u6_amd64.deb - $STD dpkg -i libssl1.1_1.1.1n-0+deb10u6_amd64.deb - fi - wget -qO- https://www.mongodb.org/static/pgp/server-4.4.asc | gpg --dearmor > /usr/share/keyrings/mongodb-server-4.4.gpg - echo "deb [signed-by=/usr/share/keyrings/mongodb-server-4.4.gpg] https://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main" >/etc/apt/sources.list.d/mongodb-org-4.4.list - $STD apt-get update - $STD apt-get install -y mongodb-org -$STD apt-get install -y openssh-server -$STD apt-get install -y wget -else - msg_info "Installing MongoDB 7.0" - wget -qO- https://www.mongodb.org/static/pgp/server-7.0.asc | gpg --dearmor >/usr/share/keyrings/mongodb-server-7.0.gpg - echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] http://repo.mongodb.org/apt/debian bookworm/mongodb-org/7.0 main" >/etc/apt/sources.list.d/mongodb-org-7.0.list - $STD apt-get update - $STD apt-get install -y mongodb-org -$STD apt-get install -y openssh-server -$STD apt-get install -y wget -fi +msg_info "Installing MongoDB" +wget -qO- https://www.mongodb.org/static/pgp/server-7.0.asc | gpg --dearmor >/usr/share/keyrings/mongodb-server-7.0.gpg +echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] http://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 main" >/etc/apt/sources.list.d/mongodb-org-7.0.list +$STD apt-get update +$STD apt-get install -y mongodb-org msg_ok "Installed MongoDB" msg_info "Installing UniFi Network Server" wget -qO /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ui.com/unifi/unifi-repo.gpg -echo "deb [ arch=amd64 signed-by=/etc/apt/trusted.gpg.d/unifi-repo.gpg] https://www.ui.com/downloads/unifi/debian stable ubiquiti" >/etc/apt/sources.list.d/100-ubnt-unifi.list +echo "deb [ arch=arm64 signed-by=/etc/apt/trusted.gpg.d/unifi-repo.gpg] https://www.ui.com/downloads/unifi/ubuntu stable ubiquiti" >/etc/apt/sources.list.d/100-ubnt-unifi.list $STD apt-get update $STD apt-get install -y unifi -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed UniFi Network Server" motd_ssh diff --git a/install/unmanic-install.sh b/install/unmanic-install.sh index c67efc0b..3657fc1b 100644 --- a/install/unmanic-install.sh +++ b/install/unmanic-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,16 +19,16 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y ffmpeg $STD apt-get install -y python3-pip -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Installed Dependencies" 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/* diff --git a/install/uptimekuma-install.sh b/install/uptimekuma-install.sh index 7cdfb7ec..e9b49382 100644 --- a/install/uptimekuma-install.sh +++ b/install/uptimekuma-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -20,8 +20,8 @@ $STD apt-get install -y mc $STD apt-get install -y git $STD apt-get install -y ca-certificates $STD apt-get install -y gnupg -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -33,8 +33,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 Uptime Kuma" diff --git a/install/vaultwarden-install.sh b/install/vaultwarden-install.sh index 610f090e..d3dabf4a 100644 --- a/install/vaultwarden-install.sh +++ b/install/vaultwarden-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color diff --git a/install/vikunja-install.sh b/install/vikunja-install.sh index 2fd68afd..9245647b 100644 --- a/install/vikunja-install.sh +++ b/install/vikunja-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (Canbiz) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -19,8 +19,8 @@ $STD apt-get install -y \ sudo \ make \ mc \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setup Vikunja (Patience)" diff --git a/install/wallos-install.sh b/install/wallos-install.sh index 12366e5e..7c876dc3 100644 --- a/install/wallos-install.sh +++ b/install/wallos-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck # Co-Author: MickLesk (Canbiz) # License: MIT @@ -23,8 +23,9 @@ $STD apt-get install -y \ apache2 \ libapache2-mod-php \ php8.2-{mbstring,gd,curl,intl,imagick,bz2,sqlite3,zip,xml} \ + wget \ openssh-server \ - wget + cron msg_ok "Installed Dependencies" msg_info "Installing Wallos (Patience)" diff --git a/install/wastebin-install.sh b/install/wastebin-install.sh index 8180ca4e..ac60f080 100644 --- a/install/wastebin-install.sh +++ b/install/wastebin-install.sh @@ -4,7 +4,7 @@ # Author: tteck # Co-Author: MickLesk (Canbiz) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE # Source: https://github.com/matze/wastebin source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" @@ -15,22 +15,33 @@ 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 -$STD apt-get install -y wget +msg_info "Installing Dependencies (Patience)" +$STD apt-get install -y --no-install-recommends \ + build-essential \ + unzip \ + curl \ + sudo \ + git \ + make \ + mc \ + wget \ + ca-certificates \ + openssh-server msg_ok "Installed Dependencies" -msg_info "Installing Wastebin" +msg_info "Installing Rust (Patience)" +$STD bash <(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs) -y +source ~/.cargo/env +msg_ok "Installed Rust" + +msg_info "Installing Wastebin (Patience)" RELEASE=$(curl -s https://api.github.com/repos/matze/wastebin/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') -wget -q https://github.com/matze/wastebin/releases/download/${RELEASE}/wastebin_${RELEASE}_x86_64-unknown-linux-musl.tar.zst -tar -xf wastebin_${RELEASE}_x86_64-unknown-linux-musl.tar.zst -rm -rf wastebin_${RELEASE}_x86_64-unknown-linux-musl.tar.zst -mkdir -p /opt/wastebin -mv wastebin /opt/wastebin/ -chmod +x /opt/wastebin/wastebin +wget -q "https://github.com/matze/wastebin/archive/refs/tags/${RELEASE}.zip" +unzip -q ${RELEASE}.zip +mv wastebin-${RELEASE} /opt/wastebin +rm -R ${RELEASE}.zip +cd /opt/wastebin +cargo build -q --release msg_ok "Installed Wastebin" msg_info "Creating Service" @@ -40,8 +51,9 @@ Description=Start Wastebin Service After=network.target [Service] +User=root WorkingDirectory=/opt/wastebin -ExecStart=/opt/wastebin/wastebin +ExecStart=/root/.cargo/bin/cargo run --release --quiet [Install] WantedBy=multi-user.target @@ -55,4 +67,4 @@ customize msg_info "Cleaning up" $STD apt-get -y autoremove $STD apt-get -y autoclean -msg_ok "Cleaned" +msg_ok "Cleaned" \ No newline at end of file diff --git a/install/watchyourlan-install.sh b/install/watchyourlan-install.sh index 7f5d5014..d725115e 100644 --- a/install/watchyourlan-install.sh +++ b/install/watchyourlan-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -14,16 +14,14 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y {curl,sudo,mc,gpg,arp-scan,ieee-data,libwww-perl} -$STD apt-get install -y openssh-server -$STD apt-get install -y wget +$STD apt-get install -y {curl,sudo,mc,gpg,arp-scan,ieee-data,libwww-perl,wget,openssh-server} msg_ok "Installed Dependencies" msg_info "Installing WatchYourLAN" RELEASE=$(curl -s https://api.github.com/repos/aceberg/WatchYourLAN/releases/latest | grep -o '"tag_name": *"[^"]*"' | cut -d '"' -f 4) -wget -q https://github.com/aceberg/WatchYourLAN/releases/download/$RELEASE/watchyourlan_${RELEASE}_linux_amd64.deb -$STD dpkg -i watchyourlan_${RELEASE}_linux_amd64.deb -rm watchyourlan_${RELEASE}_linux_amd64.deb +wget -q https://github.com/aceberg/WatchYourLAN/releases/download/$RELEASE/watchyourlan_${RELEASE}_linux_arm64.deb +$STD dpkg -i watchyourlan_${RELEASE}_linux_arm64.deb +rm watchyourlan_${RELEASE}_linux_arm64.deb mkdir /data cat </data/config.yaml arp_timeout: "500" diff --git a/install/wavelog-install.sh b/install/wavelog-install.sh index 74b5a5bb..5785d718 100644 --- a/install/wavelog-install.sh +++ b/install/wavelog-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 community-scripts ORG +# Copyright (c) 2021-2025 community-scripts ORG # Author: Don Locke (DonLocke) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -23,8 +23,8 @@ $STD apt-get install -y \ php8.2-{curl,mbstring,mysql,xml,zip,gd} \ sudo \ unzip \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Database" diff --git a/install/whisparr-install.sh b/install/whisparr-install.sh index 4007f0cb..906d6189 100644 --- a/install/whisparr-install.sh +++ b/install/whisparr-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,14 +18,14 @@ $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y sqlite3 -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Whisparr" mkdir -p /var/lib/whisparr/ chmod 775 /var/lib/whisparr/ -$STD wget --content-disposition 'https://whisparr.servarr.com/v1/update/nightly/updatefile?os=linux&runtime=netcore&arch=x64' +$STD wget --content-disposition 'https://whisparr.servarr.com/v1/update/nightly/updatefile?os=linux&runtime=netcore&arch=arm64' $STD tar -xvzf Whisparr.develop.*.tar.gz mv Whisparr /opt chmod 775 /opt/Whisparr diff --git a/install/whoogle-install.sh b/install/whoogle-install.sh index d014cfcc..0c2b51e8 100644 --- a/install/whoogle-install.sh +++ b/install/whoogle-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,17 +17,15 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" 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" diff --git a/install/wikijs-install.sh b/install/wikijs-install.sh index 2a3fcbad..8d8cd978 100644 --- a/install/wikijs-install.sh +++ b/install/wikijs-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -20,8 +20,8 @@ $STD apt-get install -y mc $STD apt-get install -y git $STD apt-get install -y ca-certificates $STD apt-get install -y gnupg -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -33,8 +33,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 Wiki.js" diff --git a/install/wireguard-install.sh b/install/wireguard-install.sh index 51ea5b35..f5aa9367 100644 --- a/install/wireguard-install.sh +++ b/install/wireguard-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -18,14 +18,12 @@ $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 openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing WireGuard" $STD apt-get install -y wireguard wireguard-tools net-tools iptables -$STD apt-get install -y openssh-server -$STD apt-get install -y wget iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confnew" install -y iptables-persistent &>/dev/null $STD netfilter-persistent reload diff --git a/install/yunohost-install.sh b/install/yunohost-install.sh index 155cb4c3..f82fa4b6 100644 --- a/install/yunohost-install.sh +++ b/install/yunohost-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -21,8 +21,8 @@ $STD apt-get install -y gnupg $STD apt-get install -y apt-transport-https $STD apt-get install -y lsb-release $STD apt-get install -y ca-certificates -$STD apt-get install -y openssh-server $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing YunoHost (Patience)" diff --git a/install/zabbix-install.sh b/install/zabbix-install.sh index 8b188117..2a0e56ab 100644 --- a/install/zabbix-install.sh +++ b/install/zabbix-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -18,8 +18,8 @@ $STD apt-get install -y \ curl \ sudo \ mc \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Installing Zabbix" @@ -29,14 +29,10 @@ $STD dpkg -i /tmp/zabbix-release_latest+debian12_all.deb $STD apt-get update $STD apt-get install -y zabbix-server-pgsql zabbix-frontend-php php8.2-pgsql zabbix-apache-conf zabbix-sql-scripts $STD apt-get install -y zabbix-agent2 zabbix-agent2-plugin-* -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed Zabbix" msg_info "Setting up PostgreSQL" $STD apt-get install -y postgresql -$STD apt-get install -y openssh-server -$STD apt-get install -y wget DB_NAME=zabbixdb DB_USER=zabbix DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | cut -c1-13) diff --git a/install/zammad-install.sh b/install/zammad-install.sh index 44d2e9e4..eea279ee 100644 --- a/install/zammad-install.sh +++ b/install/zammad-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -#Copyright (c) 2021-2024 community-scripts ORG +#Copyright (c) 2021-2025 community-scripts ORG # Author: Michel Roegl-Brunner (michelroegl-brunner) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -23,8 +23,8 @@ $STD apt-get install -y \ nginx \ apt-transport-https \ gnupg \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Elasticsearch" diff --git a/install/zigbee2mqtt-install.sh b/install/zigbee2mqtt-install.sh index 11d8c4d2..8dc8cedb 100644 --- a/install/zigbee2mqtt-install.sh +++ b/install/zigbee2mqtt-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -14,63 +14,72 @@ 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 make -$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 openssh-server -$STD apt-get install -y wget +$STD apt-get install -y \ + curl \ + sudo \ + mc \ + git \ + make \ + g++ \ + gcc \ + ca-certificates \ + gnupg \ + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" mkdir -p /etc/apt/keyrings curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg -echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list +echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" >/etc/apt/sources.list.d/nodesource.list 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 "Setting up Zigbee2MQTT Repository" -$STD git clone --depth 1 https://github.com/Koenkk/zigbee2mqtt.git /opt/zigbee2mqtt -msg_ok "Set up Zigbee2MQTT Repository" +msg_info "Installing pnpm" +$STD npm install -g pnpm +msg_ok "Installed pnpm" -msg_info "Installing Zigbee2MQTT" +msg_info "Setting up Zigbee2MQTT" +cd /opt +RELEASE=$(curl -s https://api.github.com/repos/Koenkk/zigbee2mqtt/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') +wget -q "https://github.com/Koenkk/zigbee2mqtt/archive/refs/tags/${RELEASE}.zip" +unzip -q ${RELEASE}.zip +mv zigbee2mqtt-${RELEASE} /opt/zigbee2mqtt +cd /opt/zigbee2mqtt/data +mv configuration.example.yaml configuration.yaml cd /opt/zigbee2mqtt -$STD npm ci +$STD pnpm install --frozen-lockfile +$STD pnpm build msg_ok "Installed Zigbee2MQTT" msg_info "Creating Service" -service_path="/etc/systemd/system/zigbee2mqtt.service" -echo "[Unit] +cat </etc/systemd/system/zigbee2mqtt.service +[Unit] Description=zigbee2mqtt After=network.target [Service] Environment=NODE_ENV=production -ExecStart=/usr/bin/npm start +ExecStart=/usr/bin/pnpm start WorkingDirectory=/opt/zigbee2mqtt StandardOutput=inherit StandardError=inherit Restart=always User=root [Install] -WantedBy=multi-user.target" >$service_path -$STD systemctl enable zigbee2mqtt.service +WantedBy=multi-user.target +EOF +systemctl enable -q --now zigbee2mqtt.service msg_ok "Created Service" motd_ssh customize msg_info "Cleaning up" +rm -rf /opt/${RELEASE}.zip $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned" diff --git a/install/zipline-install.sh b/install/zipline-install.sh index 84919e10..0cee201e 100644 --- a/install/zipline-install.sh +++ b/install/zipline-install.sh @@ -4,7 +4,7 @@ # Author: tteck # Co-Author: MickLesk (Canbiz) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE # Source: https://github.com/diced/zipline source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" @@ -22,8 +22,8 @@ $STD apt-get install -y \ curl \ sudo \ mc \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -35,8 +35,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 $STD npm install -g yarn msg_ok "Installed Node.js" diff --git a/install/zoraxy-install.sh b/install/zoraxy-install.sh index 3aee2e31..3b455eb2 100644 --- a/install/zoraxy-install.sh +++ b/install/zoraxy-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# https://github.com/tteck/Proxmox/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,15 +17,15 @@ 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 $STD apt-get install -y wget +$STD apt-get install -y openssh-server msg_ok "Installed Dependencies" msg_info "Installing Zoraxy (Patience)" RELEASE=$(curl -s https://api.github.com/repos/tobychui/zoraxy/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') -wget -q "https://github.com/tobychui/zoraxy/releases/download/${RELEASE}/zoraxy_linux_amd64" +wget -q "https://github.com/tobychui/zoraxy/releases/download/${RELEASE}/zoraxy_linux_arm64" mkdir -p /opt/zoraxy -mv zoraxy_linux_amd64 /opt/zoraxy/zoraxy +mv zoraxy_linux_arm64 /opt/zoraxy/zoraxy chmod +x /opt/zoraxy/zoraxy ln -s /opt/zoraxy/zoraxy /usr/local/bin/zoraxy echo "${RELEASE}" >/opt/${APPLICATION}_version.txt diff --git a/install/zwave-js-ui-install.sh b/install/zwave-js-ui-install.sh index e3aec663..4d0ee268 100644 --- a/install/zwave-js-ui-install.sh +++ b/install/zwave-js-ui-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024 tteck +# Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -18,8 +18,8 @@ $STD apt-get install -y \ curl \ sudo \ mc \ - openssh-server \ - wget + wget \ + openssh-server msg_ok "Installed Dependencies" msg_info "Installing Z-Wave JS UI" @@ -27,8 +27,8 @@ mkdir -p /opt/zwave-js-ui mkdir -p /opt/zwave_store cd /opt/zwave-js-ui RELEASE=$(curl -s https://api.github.com/repos/zwave-js/zwave-js-ui/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') -wget -q https://github.com/zwave-js/zwave-js-ui/releases/download/${RELEASE}/zwave-js-ui-${RELEASE}-linux.zip -unzip -q zwave-js-ui-${RELEASE}-linux.zip +wget -q https://github.com/zwave-js/zwave-js-ui/releases/download/${RELEASE}/zwave-js-ui-${RELEASE}-linux-arm64.zip +unzip -q zwave-js-ui-${RELEASE}-linux-arm64.zip cat </opt/.env ZWAVEJS_EXTERNAL_CONFIG=/opt/zwave_store/.config-db STORE_DIR=/opt/zwave_store @@ -59,7 +59,7 @@ motd_ssh customize msg_info "Cleaning up" -rm zwave-js-ui-${RELEASE}-linux.zip +rm zwave-js-ui-${RELEASE}-linux-arm64.zip $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned"