From 3f899fd0fe86bcbf5fe77ace989380c11ded4bfc Mon Sep 17 00:00:00 2001 From: Sam Heinz <54530346+asylumexp@users.noreply.github.com> Date: Wed, 8 Jan 2025 00:13:54 +1000 Subject: [PATCH] Revert "Move changes from test branch to upstream merge branch" This reverts commit 3bbbffb68845a755681228a077f26c45453b0b57. --- install/2fauth-install.sh | 6 +- install/5etools-install.sh | 85 ------ install/actualbudget-install.sh | 17 +- install/adguard-install.sh | 3 +- install/adventurelog-install.sh | 7 +- install/agentdvr-install.sh | 4 +- install/alpine-docker-install.sh | 4 +- install/alpine-grafana-install.sh | 2 +- install/alpine-install.sh | 2 +- install/alpine-nextcloud-install.sh | 4 +- install/alpine-vaultwarden-install.sh | 2 +- install/alpine-zigbee2mqtt-install.sh | 2 +- install/apache-cassandra-install.sh | 11 +- install/apache-couchdb-install.sh | 4 +- install/apache-guacamole-install.sh | 70 ++--- install/apt-cacher-ng-install.sh | 3 +- install/archivebox-install.sh | 23 +- install/aria2-install.sh | 11 +- install/audiobookshelf-install.sh | 2 +- install/authentik-install.sh | 14 +- install/autobrr-install.sh | 6 +- install/bazarr-install.sh | 6 +- install/blocky-install.sh | 247 ++++++++++++++++-- install/bookstack-install.sh | 6 +- install/bunkerweb-install.sh | 2 +- install/caddy-install.sh | 6 +- install/calibre-web-install.sh | 8 +- install/casaos-install.sh | 4 +- install/changedetection-install.sh | 20 +- install/channels-install.sh | 4 +- install/checkmk-install.sh | 11 +- install/cloudflared-install.sh | 4 +- install/cockpit-install.sh | 4 +- install/commafeed-install.sh | 6 +- install/cronicle-install.sh | 4 +- install/daemonsync-install.sh | 9 +- install/dashy-install.sh | 6 +- install/debian-install.sh | 4 +- install/deconz-install.sh | 15 +- install/deluge-install.sh | 7 +- install/docker-install.sh | 4 +- install/dockge-install.sh | 6 +- install/emby-install.sh | 12 +- install/emqx-install.sh | 6 +- install/ersatztv-install.sh | 9 +- install/esphome-install.sh | 8 +- install/evcc-install.sh | 6 +- install/fenrus-install.sh | 21 +- install/fhem-install.sh | 5 +- install/firefly-install.sh | 103 -------- install/flaresolverr-install.sh | 37 +-- install/flowiseai-install.sh | 6 +- install/forgejo-install.sh | 10 +- install/frigate-install.sh | 16 +- install/gitea-install.sh | 4 +- install/glance-install.sh | 18 +- install/glpi-install.sh | 153 ----------- install/go2rtc-install.sh | 10 +- install/gokapi-install.sh | 14 +- install/gotify-install.sh | 14 +- install/grafana-install.sh | 6 +- install/grist-install.sh | 8 +- install/grocy-install.sh | 6 +- install/headscale-install.sh | 8 +- install/heimdall-dashboard-install.sh | 4 +- install/hivemq-install.sh | 8 +- install/hoarder-install.sh | 8 +- install/homarr-install.sh | 22 +- install/homeassistant-core-install.sh | 49 +--- install/homeassistant-install.sh | 8 +- install/homebox-install.sh | 8 +- install/homebridge-install.sh | 6 +- install/homepage-install.sh | 12 +- install/homer-install.sh | 4 +- install/hyperhdr-install.sh | 6 +- install/hyperion-install.sh | 7 +- install/influxdb-install.sh | 14 +- install/inspircd-install.sh | 12 +- install/iobroker-install.sh | 6 +- install/iventoy-install.sh | 4 +- install/jackett-install.sh | 10 +- install/jellyfin-install.sh | 10 +- install/jellyseerr-install.sh | 6 +- install/jenkins-install.sh | 16 +- install/kavita-install.sh | 5 +- install/keycloak-install.sh | 4 +- install/kimai-install.sh | 16 +- install/komga-install.sh | 6 +- install/komodo-install.sh | 97 ------- install/kubo-install.sh | 11 +- install/lazylibrarian-install.sh | 29 +- install/lidarr-install.sh | 6 +- install/linkwarden-install.sh | 8 +- install/listmonk-install.sh | 12 +- install/lldap-install.sh | 4 +- install/lubelogger-install.sh | 18 +- install/mafl-install.sh | 6 +- install/magicmirror-install.sh | 6 +- install/mariadb-install.sh | 24 +- install/matterbridge-install.sh | 9 +- install/mediamtx-install.sh | 10 +- install/medusa-install.sh | 23 +- install/memos-install.sh | 8 +- install/meshcentral-install.sh | 6 +- install/metube-install.sh | 16 +- install/mongodb-install.sh | 14 +- install/motioneye-install.sh | 12 +- install/mqtt-install.sh | 4 +- install/mylar3-install.sh | 10 +- install/myspeed-install.sh | 9 +- install/mysql-install.sh | 28 +- install/n8n-install.sh | 6 +- install/navidrome-install.sh | 9 +- install/neo4j-install.sh | 6 +- install/netbox-install.sh | 6 +- install/nextcloudpi-install.sh | 4 +- install/nextpvr-install.sh | 6 +- install/nginxproxymanager-install.sh | 15 +- install/nocodb-install.sh | 6 +- install/node-red-install.sh | 6 +- install/notifiarr-install.sh | 6 +- install/ntfy-install.sh | 8 +- install/nzbget-install.sh | 8 +- install/octoprint-install.sh | 10 +- install/ollama-install.sh | 18 +- install/omada-install.sh | 34 +-- install/ombi-install.sh | 10 +- install/omv-install.sh | 4 +- install/onedev-install.sh | 19 +- install/openhab-install.sh | 4 +- install/openobserve-install.sh | 6 +- install/openwebui-install.sh | 7 +- install/overseerr-install.sh | 6 +- install/owncast-install.sh | 6 +- install/pairdrop-install.sh | 6 +- install/paperless-ngx-install.sh | 3 +- install/part-db-install.sh | 8 +- install/pbs-install.sh | 18 +- install/peanut-install.sh | 9 +- install/petio-install.sh | 6 +- install/pf2etools-install.sh | 77 ------ install/photoprism-install.sh | 14 +- install/pialert-install.sh | 5 +- install/pihole-install.sh | 6 +- install/pingvin-install.sh | 6 +- install/plex-install.sh | 8 +- install/pocketbase-install.sh | 9 +- install/podman-homeassistant-install.sh | 4 +- install/podman-install.sh | 4 +- install/postgresql-install.sh | 6 +- install/prometheus-install.sh | 12 +- install/prowlarr-install.sh | 6 +- install/proxmox-datacenter-manager-install.sh | 20 +- install/qbittorrent-install.sh | 6 +- install/rabbitmq-install.sh | 16 +- install/radarr-install.sh | 6 +- install/rdtclient-install.sh | 34 +-- install/readarr-install.sh | 6 +- install/readeck-install.sh | 6 +- install/recyclarr-install.sh | 6 +- install/redis-install.sh | 6 +- install/rtsptoweb-install.sh | 10 +- install/runtipi-install.sh | 4 +- install/sabnzbd-install.sh | 12 +- install/scrypted-install.sh | 138 ---------- install/semaphore-install.sh | 89 ------- install/sftpgo-install.sh | 8 +- install/shinobi-install.sh | 10 +- install/silverbullet-install.sh | 12 +- install/smokeping-install.sh | 6 +- install/snipeit-install.sh | 6 +- install/sonarr-install.sh | 6 +- install/spoolman-install.sh | 13 +- install/stirling-pdf-install.sh | 18 +- install/syncthing-install.sh | 6 +- install/tandoor-install.sh | 14 +- install/tasmoadmin-install.sh | 4 +- install/tautulli-install.sh | 8 +- install/tdarr-install.sh | 8 +- install/technitiumdns-install.sh | 17 +- install/teddycloud-install.sh | 6 +- install/the-lounge-install.sh | 8 +- install/threadfin-install.sh | 6 +- install/tianji-install.sh | 8 +- install/traccar-install.sh | 10 +- install/traefik-install.sh | 6 +- install/transmission-install.sh | 6 +- install/trilium-install.sh | 2 +- install/typesense-install.sh | 41 --- install/ubuntu-install.sh | 4 +- install/umami-install.sh | 6 +- install/umbrel-install.sh | 4 +- install/unbound-install.sh | 10 +- install/unifi-install.sh | 39 ++- install/unmanic-install.sh | 8 +- install/uptimekuma-install.sh | 6 +- install/vaultwarden-install.sh | 2 +- install/vikunja-install.sh | 6 +- install/wallos-install.sh | 5 +- install/wastebin-install.sh | 44 ++-- install/watchyourlan-install.sh | 12 +- install/wavelog-install.sh | 6 +- install/whisparr-install.sh | 6 +- install/whoogle-install.sh | 8 +- install/wikijs-install.sh | 6 +- install/wireguard-install.sh | 6 +- install/yunohost-install.sh | 4 +- install/zabbix-install.sh | 10 +- install/zammad-install.sh | 6 +- install/zigbee2mqtt-install.sh | 59 ++--- install/zipline-install.sh | 8 +- install/zoraxy-install.sh | 8 +- install/zwave-js-ui-install.sh | 12 +- 213 files changed, 1315 insertions(+), 1741 deletions(-) delete mode 100644 install/5etools-install.sh mode change 100644 => 100755 install/bazarr-install.sh delete mode 100644 install/firefly-install.sh delete mode 100644 install/glpi-install.sh delete mode 100644 install/komodo-install.sh delete mode 100644 install/pf2etools-install.sh delete mode 100644 install/scrypted-install.sh delete mode 100644 install/semaphore-install.sh delete mode 100644 install/typesense-install.sh diff --git a/install/2fauth-install.sh b/install/2fauth-install.sh index 2a16c0805..af312890d 100644 --- a/install/2fauth-install.sh +++ b/install/2fauth-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" # Template: MySQL Database diff --git a/install/5etools-install.sh b/install/5etools-install.sh deleted file mode 100644 index 88cba94c9..000000000 --- a/install/5etools-install.sh +++ /dev/null @@ -1,85 +0,0 @@ -#!/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 4141f4d8e..d8f0010de 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -14,12 +14,15 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y curl -$STD apt-get install -y sudo -$STD apt-get install -y mc -$STD apt-get install -y gpg -$STD apt-get install -y git -$STD apt-get install -y openssh-server +$STD apt-get install -y \ + curl \ + sudo \ + mc \ + gpg \ + git \ + build-essential \ + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" diff --git a/install/adguard-install.sh b/install/adguard-install.sh index 85ddf25d2..c8b0d18ff 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,6 +18,7 @@ $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 f4913880b..da29afa98 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://github.com/seanmorley15/AdventureLog source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" @@ -25,7 +25,10 @@ $STD apt-get install -y \ libgdal-dev \ git \ python3-venv \ - python3-pip + python3-pip \ + openssh-server \ + wget +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" diff --git a/install/agentdvr-install.sh b/install/agentdvr-install.sh index a91501385..7b82cdbfd 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing AgentDVR" diff --git a/install/alpine-docker-install.sh b/install/alpine-docker-install.sh index 5456c141c..c0cb76548 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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-aarch64 -o ~/.docker/cli-plugins/docker-compose + curl -sSL https://github.com/docker/compose/releases/download/$DOCKER_COMPOSE_LATEST_VERSION/docker-compose-linux-x86_64 -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 84fb6defd..6a5643e72 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color diff --git a/install/alpine-install.sh b/install/alpine-install.sh index f23b8d606..8587a4882 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 59fdcaf90..1037d5882 100644 --- a/install/alpine-nextcloud-install.sh +++ b/install/alpine-nextcloud-install.sh @@ -1,9 +1,9 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT -# https://github.com/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 c6d27f5d8..0bed6151d 100644 --- a/install/alpine-vaultwarden-install.sh +++ b/install/alpine-vaultwarden-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 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 2acfb194b..c96c13b38 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 3fdd964ed..dbfe055e1 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,15 +19,18 @@ $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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget +$STD apk add openssh 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=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 +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 $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" @@ -35,6 +38,8 @@ 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 ffdbef21e..7a963f6ab 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Apache CouchDB" diff --git a/install/apache-guacamole-install.sh b/install/apache-guacamole-install.sh index 057f31041..3038fc408 100644 --- a/install/apache-guacamole-install.sh +++ b/install/apache-guacamole-install.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#Copyright (c) 2021-2025 community-scripts ORG +#Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + 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 msg_ok "Installed Dependencies" msg_info "Setup Apache Tomcat" @@ -128,21 +128,7 @@ Restart=always [Install] WantedBy=multi-user.target EOF -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 +systemctl -q enable --now tomcat guacd mysql msg_ok "Setup Service" motd_ssh diff --git a/install/apt-cacher-ng-install.sh b/install/apt-cacher-ng-install.sh index b5150ec3e..c1245f3ef 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,6 +18,7 @@ $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 7c97f6154..27d739f76 100644 --- a/install/archivebox-install.sh +++ b/install/archivebox-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + openssh-server \ + wget 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,16 +48,18 @@ 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 Playwright" -$STD pip install playwright -$STD playwright install-deps chromium -msg_ok "Installed Playwright" +msg_info "Installing Playright/Chromium" +$STD pip install playwright +$STD playwright install --with-deps chromium +msg_ok "Installed Playright/Chromium" -msg_info "Installing Chromium and ArchiveBox" +msg_info "Installing ArchiveBox" mkdir -p /opt/archivebox/{data,.npm,.cache,.local} -$STD adduser --system --shell /bin/bash --gecos 'Archive Box User' --group --disabled-password --home /home/archivebox archivebox +$STD adduser --system --shell /bin/bash --gecos 'Archive Box User' --group --disabled-password archivebox chown -R archivebox:archivebox /opt/archivebox/{data,.npm,.cache,.local} chmod -R 755 /opt/archivebox/data $STD pip install archivebox @@ -66,7 +68,6 @@ expect < " prompt if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then msg_info "Installing AriaNG" - $STD apt-get install -y nginx - $STD apt-get install -y unzip + $STD apt-get install -y nginx +$STD apt-get install -y openssh-server +$STD apt-get install -y wget 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 @@ -98,4 +99,4 @@ msg_info "Cleaning up" rm AriaNg-*-AllInOne.zip $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/audiobookshelf-install.sh b/install/audiobookshelf-install.sh index d7acf9414..7e7ca0d3b 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color diff --git a/install/authentik-install.sh b/install/authentik-install.sh index beb9c2dc0..b7f6f9949 100644 --- a/install/authentik-install.sh +++ b/install/authentik-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 community-scripts ORG # Author: remz1337 # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -36,21 +36,22 @@ $STD apt-get install -y \ libmaxminddb0 \ python3-pip \ git \ - wget \ - openssh-server + openssh-server \ + wget +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED 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_amd64" -qO /usr/bin/yq +wget -q "https://github.com/mikefarah/yq/releases/download/${YQ_LATEST}/yq_linux_arm64" -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_amd64.deb +wget -qO geoipupdate.deb https://github.com/maxmind/geoipupdate/releases/download/v${GEOIP_RELEASE}/geoipupdate_${GEOIP_RELEASE}_linux_arm64.deb $STD dpkg -i geoipupdate.deb cat </etc/GeoIP.conf #GEOIPUPDATE_EDITION_IDS="GeoLite2-City GeoLite2-ASN" @@ -69,6 +70,7 @@ $STD ./configure --enable-optimizations $STD make altinstall cd ~ $STD update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.12 1 +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Setup Python 3" msg_info "Setting up Node.js Repository" @@ -85,7 +87,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-amd64.tar.gz") +GO_RELEASE=$(curl -s https://go.dev/dl/ | grep -o -m 1 "go.*\linux-arm64.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 52a09616f..25fdd81cd 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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.tar.gz | cut -d\" -f4) +wget -q $(curl -s https://api.github.com/repos/autobrr/autobrr/releases/latest | grep download | grep linux_arm64 | 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 100644 new mode 100755 index 7ae07552e..77ab879ba --- 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $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 + 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 b9ae01caa..01da0580b 100644 --- a/install/blocky-install.sh +++ b/install/blocky-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Blocky" @@ -30,46 +30,241 @@ 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 -# configuration documentation: https://0xerr0r.github.io/blocky/latest/configuration/ +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 -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: timeout to query the upstream resolver. Default: 2s +#upstreamTimeout: 2s -# optional: use allow/denylists to block queries (for example ads, trackers, adult pages etc.) +# optional: If true, blocky will fail to start unless at least one upstream server per group is reachable. Default: false +#startVerifyUpstream: true + +# 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 + +# optional: use black and white lists to block queries (for example ads, trackers, adult pages etc.) blocking: - # definition of denylist groups. Can be external link (http/https) or local file - denylists: + # definition of blacklist groups. Can be external link (http/https) or local file + blackLists: 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: + #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: 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: 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: logging configuration -log: - # optional: Log level (one from trace, debug, info, warn, error). Default: info - level: info +# 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 EOF msg_ok "Installed Blocky" diff --git a/install/bookstack-install.sh b/install/bookstack-install.sh index 618d37659..5b8bd465a 100644 --- a/install/bookstack-install.sh +++ b/install/bookstack-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Setting up Database" diff --git a/install/bunkerweb-install.sh b/install/bunkerweb-install.sh index 0ce1a8eef..90bac87b9 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color diff --git a/install/caddy-install.sh b/install/caddy-install.sh index 5f1b6da3e..baec2808f 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -14,7 +14,9 @@ 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,wget,openssh-server} +$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 msg_ok "Installed Dependencies" msg_info "Installing Caddy" diff --git a/install/calibre-web-install.sh b/install/calibre-web-install.sh index 21e214a98..e0763a01e 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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-64bit &>/dev/null -chmod +x kepubify-linux-64bit +curl -fsSLO https://github.com/pgaskin/kepubify/releases/latest/download/kepubify-linux-arm64 &>/dev/null +chmod +x kepubify-linux-arm64 msg_ok "Installed Kepubify" msg_info "Installing Calibre-Web" diff --git a/install/casaos-install.sh b/install/casaos-install.sh index dc20b4b4d..3270173bc 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing CasaOS (Patience)" diff --git a/install/changedetection-install.sh b/install/changedetection-install.sh index c34132d8e..9f64bd98e 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -45,15 +45,17 @@ $STD apt-get install -y \ xvfb \ ca-certificates \ gnupg \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Updating Python3" $STD apt-get install -y \ python3 \ python3-dev \ - python3-pip + python3-pip \ + openssh-server \ + wget rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Updated Python3" @@ -90,14 +92,16 @@ $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" @@ -114,7 +118,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 305ec4524..028b6b955 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" if [[ "$CTTYPE" == "0" ]]; then diff --git a/install/checkmk-install.sh b/install/checkmk-install.sh index f271815bf..e67a902e0 100644 --- a/install/checkmk-install.sh +++ b/install/checkmk-install.sh @@ -1,10 +1,11 @@ #!/usr/bin/env bash -#Copyright (c) 2021-2025 community-scripts ORG +#Copyright (c) 2021-2024 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 @@ -19,14 +20,16 @@ $STD apt-get install -y \ curl \ sudo \ mc \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Install Checkmk" RELEASE=$(curl -fsSL https://api.github.com/repos/checkmk/checkmk/tags | grep "name" | awk '{print substr($2, 3, length($2)-4) }' | grep -v "*-rc" | tail -n +2 | head -n 1) -wget -q https://download.checkmk.com/checkmk/${RELEASE}/check-mk-raw-${RELEASE}_0.bookworm_arm64.deb -O /opt/checkmk.deb +wget -q https://download.checkmk.com/checkmk/v2.3.0p23/check-mk-raw-v2.3.0p23_0.bookworm_arm64.deb -O /opt/checkmk.deb $STD apt-get install -y /opt/checkmk.deb +$STD apt-get install -y openssh-server +$STD apt-get install -y wget echo "${RELEASE}" >"/opt/checkmk_version.txt" msg_ok "Installed Checkmk" diff --git a/install/cloudflared-install.sh b/install/cloudflared-install.sh index b3927652f..851e0a555 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Cloudflared" diff --git a/install/cockpit-install.sh b/install/cockpit-install.sh index 5dc1de235..7b869eb56 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Cockpit" diff --git a/install/commafeed-install.sh b/install/commafeed-install.sh index 759e50988..7c81085c5 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 openssh-server $STD apt-get install -y rsync +$STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Azul Zulu" diff --git a/install/cronicle-install.sh b/install/cronicle-install.sh index 4a037737c..584478046 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Node.js" diff --git a/install/daemonsync-install.sh b/install/daemonsync-install.sh index 67b88fafe..0d8952b8e 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,14 +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 wget +$STD apt-get install -y g++-multilib $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 +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Daemon Sync Server" -wget -qL https://github.com/tteck/Proxmox/raw/main/misc/daemonsync_2.2.0.0059_amd64.deb +wget -qL https://github.com/community-scripts/ProxmoxVE/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 4acab6679..72c3ea940 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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,6 +31,8 @@ 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 3bc166646..d863fb3b8 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" motd_ssh diff --git a/install/deconz-install.sh b/install/deconz-install.sh index 4652b5e1c..f34fecf6c 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,21 +17,24 @@ msg_info "Installing Dependencies" $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc -$STD apt-get install -y wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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=arm64] http://phoscon.de/apt/deconz $VERSION main" >/etc/apt/sources.list.d/deconz.list +echo "deb [arch=amd64] http://phoscon.de/apt/deconz $VERSION main" >/etc/apt/sources.list.d/deconz.list msg_ok "Setup Phoscon Repository" msg_info "Installing deConz" -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 +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 $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" @@ -58,7 +61,7 @@ motd_ssh customize msg_info "Cleaning up" -rm -rf libssl1.1_1.1.1f-1ubuntu2.22_arm64.deb +rm -rf $libssl $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 271af84d9..dc3283cfa 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,13 +19,16 @@ $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 + python3-pip \ + openssh-server \ + wget rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Updated Python3" diff --git a/install/docker-install.sh b/install/docker-install.sh index 711137994..3b2abefe5 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color @@ -18,6 +18,7 @@ $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() { @@ -64,7 +65,6 @@ else fi fi - motd_ssh customize diff --git a/install/dockge-install.sh b/install/dockge-install.sh index b47f3a79e..cc1ee0b51 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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-aarch64 -o ~/.docker/cli-plugins/docker-compose +curl -sSL https://github.com/docker/compose/releases/download/$DOCKER_COMPOSE_LATEST_VERSION/docker-compose-linux-x86_64 -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 26e95b32a..88258632c 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Setting Up Hardware Acceleration" -$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,vainfo} +$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools} 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}_arm64.deb -$STD dpkg -i emby-server-deb_${LATEST}_arm64.deb +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 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}_arm64.deb +rm emby-server-deb_${LATEST}_amd64.deb msg_ok "Cleaned" diff --git a/install/emqx-install.sh b/install/emqx-install.sh index ebcdde17d..a3619c8ec 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,13 +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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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 2d1565607..2aaf9d3d6 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://github.com/ErsatzTV/ErsatzTV source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" @@ -19,9 +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 wget -$STD apt-get install -y ca-certificates $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing FFmpeg (Patience)" @@ -50,8 +49,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-arm64.tar.gz" | tar -xz -C /opt -mv "/opt/ErsatzTV-${RELEASE}-linux-arm64" /opt/ErsatzTV +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 msg_ok "Installed ErsatzTV" msg_info "Creating Service" diff --git a/install/esphome-install.sh b/install/esphome-install.sh index b3068ae57..c10d71728 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Updating Python3" @@ -27,7 +27,9 @@ $STD apt-get install -y \ python3 \ python3-dev \ python3-pip \ - python3-venv + python3-venv \ + openssh-server \ + wget rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Updated Python3" diff --git a/install/evcc-install.sh b/install/evcc-install.sh index 0040dc959..91d7e7b75 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Setting up evcc Repository" diff --git a/install/fenrus-install.sh b/install/fenrus-install.sh index c58dfb379..f80a539c5 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://github.com/revenz/Fenrus @@ -22,17 +22,22 @@ $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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing ASP.NET Core 7 SDK" -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 +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 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 d16d48063..9ffe683e2 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -20,6 +20,7 @@ $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" @@ -30,6 +31,8 @@ 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 deleted file mode 100644 index 703d979e0..000000000 --- a/install/firefly-install.sh +++ /dev/null @@ -1,103 +0,0 @@ -#!/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 83897bc3e..680faf052 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -21,33 +21,25 @@ $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 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 +$STD apt-get install -y wget msg_ok "Installed Dependencies" -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 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 "Installing FlareSolverr" -$STD git clone https://github.com/FlareSolverr/FlareSolverr /opt/flaresolverr -$STD pip install -r /opt/flaresolverr/requirements.txt +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 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] @@ -61,7 +53,7 @@ Type=simple Environment="LOG_LEVEL=info" Environment="CAPTCHA_SOLVER=none" WorkingDirectory=/opt/flaresolverr -ExecStart=python3 /opt/flaresolverr/src/flaresolverr.py +ExecStart=/opt/flaresolverr/flaresolverr TimeoutStopSec=30 [Install] WantedBy=multi-user.target @@ -73,7 +65,6 @@ 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 51d352aa9..b2f45ad3d 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Node.js" @@ -28,6 +28,8 @@ 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 ffb520356..e7f3a0e89 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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-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 +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 msg_ok "Installed Forgejo" msg_info "Setting up Forgejo" diff --git a/install/frigate-install.sh b/install/frigate-install.sh index 9e5cdffb0..ced35483d 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color @@ -15,11 +15,15 @@ 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,wget,openssh-server,ca-certificates} +$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 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" @@ -29,18 +33,20 @@ 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_arm64" +wget -qO go2rtc "https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_amd64" 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,vainfo} +$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools} if [[ "$CTTYPE" == "0" ]]; then chgrp video /dev/dri chmod 755 /dev/dri @@ -60,7 +66,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="arm64" +export TARGETARCH="amd64" 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 726c13910..4271d1d47 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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-arm64 +wget -q https://github.com/go-gitea/gitea/releases/download/v$RELEASE/gitea-$RELEASE-linux-amd64 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 690d939b1..686287909 100644 --- a/install/glance-install.sh +++ b/install/glance-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + curl \ + sudo \ + mc \ + openssh-server \ + wget 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-arm64.tar.gz +wget -q https://github.com/glanceapp/glance/releases/download/v${RELEASE}/glance-linux-amd64.tar.gz mkdir -p /opt/glance -tar -xzf glance-linux-arm64.tar.gz -C /opt/glance +tar -xzf glance-linux-amd64.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-arm64.tar.gz +rm -rf /opt/glance-linux-amd64.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 deleted file mode 100644 index aab88b579..000000000 --- a/install/glpi-install.sh +++ /dev/null @@ -1,153 +0,0 @@ -#!/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 4d0714e1f..b15eeaee6 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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_arm64 -chmod +x go2rtc_linux_arm64 +wget -q https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_amd64 +chmod +x go2rtc_linux_amd64 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_arm64 +ExecStart=/opt/go2rtc/go2rtc_linux_amd64 [Install] WantedBy=multi-user.target" >$service_path diff --git a/install/gokapi-install.sh b/install/gokapi-install.sh index d47958817..d0b55f7f0 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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_arm64.zip -unzip -q gokapi-linux_arm64.zip -d /opt/gokapi -rm gokapi-linux_arm64.zip -chmod +x /opt/gokapi/gokapi-linux_arm64 +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 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_arm64 +ExecStart=/opt/gokapi/gokapi-linux_amd64 [Install] WantedBy=multi-user.target diff --git a/install/gotify-install.sh b/install/gotify-install.sh index 7c6333e9f..fcac17041 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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-arm64.zip -$STD unzip gotify-linux-arm64.zip -rm -rf gotify-linux-arm64.zip -chmod +x gotify-linux-arm64 +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 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-arm64 +ExecStart=/opt/gotify/./gotify-linux-amd64 Restart=always RestartSec=3 diff --git a/install/grafana-install.sh b/install/grafana-install.sh index 7e4120493..0c2cb4f3d 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Setting up Grafana Repository" @@ -32,6 +32,8 @@ 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 874639ad5..12c83e99d 100644 --- a/install/grist-install.sh +++ b/install/grist-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Installing Node.js" @@ -34,6 +34,8 @@ 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 686085c7b..5894ecee2 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing PHP8.2" @@ -33,6 +33,8 @@ $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 964e505da..837785ea0 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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_arm64.deb -$STD dpkg -i headscale_${RELEASE}_linux_arm64.deb +wget -q https://github.com/juanfont/headscale/releases/download/v${RELEASE}/headscale_${RELEASE}_linux_amd64.deb +$STD dpkg -i headscale_${RELEASE}_linux_amd64.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_arm64.deb +rm headscale_${RELEASE}_linux_amd64.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 5784021e8..6af3df589 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 cc95d0dc4..1f5e73a5e 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,15 +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 gpg -$STD apt-get install -y wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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=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 +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 $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 fee1b7ea7..ef697fb97 100644 --- a/install/hoarder-install.sh +++ b/install/hoarder-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Installing Additional Tools" @@ -58,6 +58,8 @@ 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 c4d206f97..4cf4369b4 100644 --- a/install/homarr-install.sh +++ b/install/homarr-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # Co-Author: MickLesk (Canbiz) # License: MIT @@ -16,17 +16,13 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ - sudo \ - mc \ - curl \ - ca-certificates \ - gnupg \ - make \ - g++ \ - build-essential \ - wget \ - openssh-server +$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 msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -38,6 +34,8 @@ 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 ff16f6f16..51d9bc9a4 100644 --- a/install/homeassistant-core-install.sh +++ b/install/homeassistant-core-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -14,52 +14,11 @@ network_check update_os msg_info "Installing Dependencies (Patience)" -$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 +$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 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 a8a2fd736..4d68a0dfc 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Updating Python3" @@ -26,7 +26,9 @@ $STD apt-get install -y \ python3 \ python3-dev \ python3-pip \ - python3-venv + python3-venv \ + openssh-server \ + wget rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Updated Python3" diff --git a/install/homebox-install.sh b/install/homebox-install.sh index 404bc2af5..4800813a1 100644 --- a/install/homebox-install.sh +++ b/install/homebox-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 tteck # Author: tteck # Co-Author: MickLesk (Canbiz) # License: MIT @@ -20,13 +20,13 @@ $STD apt-get install -y \ curl \ sudo \ mc \ - wget \ - openssh-server + openssh-server \ + wget 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_arm64.tar.gz | tar -xzf - -C /opt +wget -qO- https://github.com/sysadminsmedia/homebox/releases/download/${RELEASE}/homebox_Linux_x86_64.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 534fe5340..33a6b24a0 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Setting up Homebridge Repository" @@ -31,6 +31,8 @@ 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 cf287ae49..4c1f5a665 100644 --- a/install/homepage-install.sh +++ b/install/homepage-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -17,10 +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 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" @@ -32,6 +31,8 @@ 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" @@ -46,9 +47,8 @@ rm -rf homepage-${RELEASE} cd /opt/homepage cp /opt/homepage/src/skeleton/* /opt/homepage/config $STD pnpm install -export NEXT_PUBLIC_VERSION="v$RELEASE" -export NEXT_PUBLIC_REVISION="source" -$STD pnpm build +$STD export NEXT_PUBLIC_VERSION=v$RELEASE +$STD 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 1cda3ba5d..cdf983c24 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Homer" diff --git a/install/hyperhdr-install.sh b/install/hyperhdr-install.sh index 829ece7e4..fec8918d7 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing HyperHDR" @@ -28,6 +28,8 @@ 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 56bcaa662..c6cf1fff4 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -21,8 +21,9 @@ $STD apt-get install -y lsb-release $STD apt-get install -y gpg $STD apt-get install -y apt-transport-https $STD apt-get install -y libpython3.11 -$STD apt-get install -y wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget + msg_ok "Installed Dependencies" msg_info "Installing Hyperion" @@ -30,6 +31,8 @@ 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 5043e374c..d35e08c58 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Setting up InfluxDB Repository" @@ -40,10 +40,14 @@ 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 - wget -q https://dl.influxdata.com/chronograf/releases/chronograf_1.10.1_arm64.deb - $STD dpkg -i chronograf_1.10.1_arm64.deb +$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 fi $STD systemctl enable --now influxdb msg_ok "Installed InfluxDB" @@ -52,6 +56,8 @@ 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 b6e33839d..09bb877cc 100644 --- a/install/inspircd-install.sh +++ b/install/inspircd-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + curl \ + mc \ + sudo \ + openssh-server \ + wget msg_ok "Installed Dependencies" diff --git a/install/iobroker-install.sh b/install/iobroker-install.sh index 23bf80f63..c7db42b0b 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $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,6 +32,8 @@ 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 7dd6763f7..adcc8485c 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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 17afb256b..beef31a42 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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.LinuxARM64.tar.gz -tar -xzf Jackett.Binaries.LinuxARM64.tar.gz -C /opt -rm -rf Jackett.Binaries.LinuxARM64.tar.gz +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 echo "${RELEASE}" >/opt/${APPLICATION}_version.txt msg_ok "Installed Jackett" diff --git a/install/jellyfin-install.sh b/install/jellyfin-install.sh index 031ca1b44..de59fe07c 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Setting Up Hardware Acceleration" -$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,vainfo} +$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools} if [[ "$CTTYPE" == "0" ]]; then chgrp video /dev/dri chmod 755 /dev/dri @@ -47,12 +47,14 @@ Types: deb URIs: https://repo.jellyfin.org/${PCT_OSTYPE} Suites: ${VERSION} Components: main -Architectures: arm64 +Architectures: amd64 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 91cd0e482..74eecae05 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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,6 +32,8 @@ 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 59aefa5cf..80303695f 100644 --- a/install/jenkins-install.sh +++ b/install/jenkins-install.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + curl \ + mc \ + sudo \ + openjdk-17-jre \ + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Setup Jenkins" @@ -27,6 +27,8 @@ 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 1ff0d5daa..336a73c24 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,12 +18,13 @@ $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-arm64.tar.gz) --no-same-owner +$STD tar -xvzf <(curl -fsSL https://github.com/Kareadita/Kavita/releases/download/$RELEASE/kavita-linux-x64.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 fc24183aa..421eb7aff 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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 266675bc0..82a4a6f70 100644 --- a/install/kimai-install.sh +++ b/install/kimai-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 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} \ - wget \ - openssh-server + openssh-server \ + wget 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/* -chmod -R g+r /opt/* -chmod -R g+rw /opt/* -sudo chown -R www-data:www-data /opt/* -sudo chmod -R 755 /opt/* +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 $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 5e44e7c69..6ec9354a7 100644 --- a/install/kubo-install.sh +++ b/install/kubo-install.sh @@ -2,8 +2,9 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) +# Co-Author: ulmentflam # License: MIT -# https://github.com/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,14 +19,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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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-arm64.tar.gz" -tar -xzf "kubo_${RELEASE}_linux-arm64.tar.gz" -C /usr/local +$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 ln -s /usr/local/kubo/ipfs /usr/local/bin/ipfs $STD ipfs init ipfs config Addresses.API /ip4/0.0.0.0/tcp/5001 @@ -34,7 +35,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-arm64.tar.gz" +$STD rm "kubo_${RELEASE}_linux-amd64.tar.gz" msg_ok "Installed IPFS" msg_info "Creating Service" diff --git a/install/lazylibrarian-install.sh b/install/lazylibrarian-install.sh index 09bef0c3f..2dd7f14c3 100644 --- a/install/lazylibrarian-install.sh +++ b/install/lazylibrarian-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 tteck # Author: tteck # Co-Author: MountyMapleSyrup (MountyMapleSyrup) # License: MIT @@ -15,24 +15,19 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ - curl \ - sudo \ - mc \ - git \ - libpng-dev \ - libjpeg-dev \ - libtiff-dev \ - imagemagick \ - wget \ - openssh-server +$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 msg_ok "Installed Dependencies" msg_info "Installing Python3 Dependencies" -$STD apt-get install -y \ - pip \ - python3-irc -rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED +$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 pip install jaraco.stream $STD pip install python-Levenshtein $STD pip install soupsieve @@ -40,8 +35,6 @@ 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 4748a3e33..7a333ceaf 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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=arm64' +$STD wget --content-disposition 'https://lidarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64' $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 419196bc8..071a86bab 100644 --- a/install/linkwarden-install.sh +++ b/install/linkwarden-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # Co-Author: MickLesk (Canbiz) # License: MIT @@ -23,8 +23,8 @@ $STD apt-get install -y \ postgresql \ cargo \ gnupg \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -36,6 +36,8 @@ 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 52f7a5edf..df89b0213 100644 --- a/install/listmonk-install.sh +++ b/install/listmonk-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + openssh-server \ + wget 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_arm64.tar.gz" -tar -xzf "listmonk_${RELEASE}_linux_arm64.tar.gz" -C /opt/listmonk +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 $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_arm64.tar.gz" +rm -rf "/opt/listmonk_${RELEASE}_linux_amd64.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 df28e2f0e..cdc98ee1e 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing lldap" diff --git a/install/lubelogger-install.sh b/install/lubelogger-install.sh index 0413b80b4..4b4832108 100644 --- a/install/lubelogger-install.sh +++ b/install/lubelogger-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + curl \ + sudo \ + wget \ + mc \ + zip \ + jq \ + openssh-server \ + wget msg_ok "Installed Dependencies" diff --git a/install/mafl-install.sh b/install/mafl-install.sh index 31dfab415..1eb704a85 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -35,6 +35,8 @@ 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 7cbc31ef9..7d6f75876 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -33,6 +33,8 @@ 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 1daaa08ab..970eac5ab 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,12 +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 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" @@ -31,14 +33,16 @@ 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 + apache2 \ + php \ + php-mysqli \ + php-mbstring \ + php-zip \ + php-gd \ + php-json \ + php-curl \ + openssh-server \ + wget 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 c60935943..1f69cd213 100644 --- a/install/matterbridge-install.sh +++ b/install/matterbridge-install.sh @@ -1,9 +1,10 @@ #!/usr/bin/env bash # Copyright (c) 2021-2024 tteck -# Author: tteck (tteckster) +# Author: tteck +# Co-Author: MickLesk (Canbiz) # License: MIT -# https://github.com/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://github.com/Luligu/matterbridge/ source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" @@ -19,8 +20,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 wget $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,6 +33,8 @@ 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 9f2c913fa..435f32abb 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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_arm64v8.tar.gz -tar xzf mediamtx_${RELEASE}_linux_arm64v8.tar.gz -rm -rf mediamtx_${RELEASE}_linux_arm64v8.tar.gz +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 msg_ok "Installed MediaMTX" msg_info "Creating Service" diff --git a/install/medusa-install.sh b/install/medusa-install.sh index 14f74c3b8..666901170 100644 --- a/install/medusa-install.sh +++ b/install/medusa-install.sh @@ -2,8 +2,10 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) +# Co-Author: MickLesk (Canbiz) # License: MIT -# https://github.com/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://github.com/pymedusa/Medusa source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -14,19 +16,22 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y curl -$STD apt-get install -y sudo -$STD apt-get install -y mc -$STD apt-get install -y gpg -$STD apt-get install -y git-core -$STD apt-get install -y mediainfo -$STD apt-get install -y wget -$STD apt-get install -y openssh-server +$STD apt-get install -y \ + gpg \ + curl \ + sudo \ + mc \ + git-core \ + mediainfo \ + openssh-server \ + wget 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 f41d6f275..4cfdc6165 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://github.com/usememos/memos source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" @@ -22,7 +22,9 @@ $STD apt-get install -y \ curl \ sudo \ tzdata \ - mc + mc \ + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -34,6 +36,8 @@ 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 2d3e09f12..187ce7a7f 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $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,6 +32,8 @@ 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 c14d91f17..d459ad7a8 100644 --- a/install/metube-install.sh +++ b/install/metube-install.sh @@ -1,9 +1,10 @@ #!/usr/bin/env bash # Copyright (c) 2021-2024 tteck -# Author: tteck (tteckster) +# Author: tteck +# Co-Author: MickLesk (Canbiz) # License: MIT -# https://github.com/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://github.com/alexta69/metube source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" @@ -29,9 +30,7 @@ $STD apt-get install -y --no-install-recommends \ make \ gnupg \ ca-certificates \ - mc \ - wget \ - openssh-server + mc msg_ok "Installed Dependencies" msg_info "Installing Python3" @@ -39,8 +38,9 @@ $STD apt-get install -y \ python3 \ python3-dev \ python3-pip \ - python3-venv -rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED + python3-venv \ + openssh-server \ + wget msg_ok "Installed Python3" msg_info "Setting up Node.js Repository" @@ -52,6 +52,8 @@ 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 84ed80dad..5e15fb0f0 100644 --- a/install/mongodb-install.sh +++ b/install/mongodb-install.sh @@ -1,6 +1,7 @@ + #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -13,20 +14,13 @@ 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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" # Abfrage für die MongoDB-Version @@ -42,6 +36,8 @@ 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 bc297b1cb..e532ddb48 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,26 +19,32 @@ $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 wget $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 + python3-pip \ + openssh-server \ + wget 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 c98a4b83a..83e6b6d4e 100644 --- a/install/mqtt-install.sh +++ b/install/mqtt-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Mosquitto MQTT Broker" diff --git a/install/mylar3-install.sh b/install/mylar3-install.sh index 7687deeac..cd3b5c942 100644 --- a/install/mylar3-install.sh +++ b/install/mylar3-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 community-scripts ORG # Author: davalanche # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -20,16 +20,20 @@ $STD apt-get install -y \ sudo \ mc \ jq \ - wget \ - openssh-server + openssh-server \ + wget 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 3f7f775c7..05766b436 100644 --- a/install/myspeed-install.sh +++ b/install/myspeed-install.sh @@ -2,8 +2,9 @@ # Copyright (c) 2021-2024 tteck # Author: tteck +# Co-Author: MickLesk (Canbiz) # License: MIT -# https://github.com/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://github.com/gnmyt/myspeed source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" @@ -22,8 +23,8 @@ $STD apt-get install -y \ gpg \ ca-certificates \ mc \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -35,6 +36,8 @@ 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 cb6b592ac..e194489a8 100644 --- a/install/mysql-install.sh +++ b/install/mysql-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 tteck # Author: tteck # Co-Author: MickLesk (Canbiz) # License: MIT @@ -22,8 +22,8 @@ $STD apt-get install -y \ curl \ gnupg \ mc \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" RELEASE_REPO="mysql-8.0" @@ -41,7 +41,9 @@ $STD apt-get update export DEBIAN_FRONTEND=noninteractive $STD apt-get install -y \ mysql-community-client \ - mysql-community-server + mysql-community-server \ + openssh-server \ + wget msg_ok "Installed MySQL" msg_info "Configure MySQL Server" @@ -56,14 +58,16 @@ 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 + apache2 \ + php \ + php-mysqli \ + php-mbstring \ + php-zip \ + php-gd \ + php-json \ + php-curl \ + openssh-server \ + wget 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 96ef5e460..f2a58a589 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $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,6 +32,8 @@ 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 bfe26deda..52960ce34 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,16 +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 ffmpeg -$STD apt-get install -y wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" -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" +RELEASE=$(curl -s https://api.github.com/repos/navidrome/navidrome/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') 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_arm64.tar.gz -O Navidrome.tar.gz +wget -q https://github.com/navidrome/navidrome/releases/download/v${RELEASE}/navidrome_${RELEASE}_linux_amd64.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 762f93e73..286dafbb7 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Neo4j (patience)" @@ -28,6 +28,8 @@ 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 c05ce6aa5..a0e4ae588 100644 --- a/install/netbox-install.sh +++ b/install/netbox-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Setting up PostgreSQL" diff --git a/install/nextcloudpi-install.sh b/install/nextcloudpi-install.sh index 1ec7d8982..6945768ef 100644 --- a/install/nextcloudpi-install.sh +++ b/install/nextcloudpi-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing NextCloudPi (Patience)" diff --git a/install/nextpvr-install.sh b/install/nextpvr-install.sh index a3ab3b70c..58d7631fb 100644 --- a/install/nextpvr-install.sh +++ b/install/nextpvr-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 communtiy-scripts ORG +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Setup NextPVR (Patience)" diff --git a/install/nginxproxymanager-install.sh b/install/nginxproxymanager-install.sh index 6c6b0fd80..a7ce91de2 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color @@ -27,10 +27,9 @@ $STD apt-get -y install \ apache2-utils \ logrotate \ build-essential \ - git \ - wget \ - openssh-server + git msg_ok "Installed Dependencies" + msg_info "Installing Python Dependencies" $STD apt-get install -y \ python3 \ @@ -39,10 +38,12 @@ $STD apt-get install -y \ python3-venv \ python3-cffi \ python3-certbot \ - python3-certbot-dns-cloudflare -rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED -$STD pip3 install certbot-dns-multi==4.15.0 + python3-certbot-dns-cloudflare \ + openssh-server \ + wget +$STD pip3 install certbot-dns-multi $STD python3 -m venv /opt/certbot/ +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED 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 1171d3e8d..6aa490264 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing NocoDB" mkdir -p /opt/nocodb cd /opt/nocodb -curl -s http://get.nocodb.com/linux-arm64 -o nocodb -L +curl -s http://get.nocodb.com/linux-x64 -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 ce4be5795..823cd7384 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -33,6 +33,8 @@ 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 054df6878..cd2a97c58 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Notifiarr" @@ -29,6 +29,8 @@ 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 36b858bc6..10433490b 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,16 +19,18 @@ $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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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=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 +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 $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 8ccc90716..d044e5197 100644 --- a/install/nzbget-install.sh +++ b/install/nzbget-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 tteck # Author: tteck # Co-Author: havardthom # License: MIT @@ -20,13 +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 par2 -$STD apt-get install -y wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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" @@ -36,6 +38,8 @@ 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 ede7d9eb5..fc6445dbd 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Updating Python3" @@ -29,9 +29,13 @@ $STD apt-get install -y \ python3 \ python3-dev \ python3-pip \ - python3-venv + python3-venv \ + openssh-server \ + wget $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 701560bde..7632e3c8a 100644 --- a/install/ollama-install.sh +++ b/install/ollama-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 tteck # Author: tteck # Co-Author: havardthom # License: MIT @@ -23,13 +23,15 @@ $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-arm64.tar.gz -$STD tar -xzf go1.23.2.linux-arm64.tar.gz -C /usr/local +$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 ln -s /usr/local/go/bin/go /usr/local/bin/go -rm -rf go1.23.2.linux-arm64.tar.gz +rm -rf go1.23.2.linux-amd64.tar.gz msg_ok "Installed Golang" msg_info "Setting up Intel® Repositories" @@ -42,7 +44,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,vainfo,level-zero,level-zero-dev} +$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} if [[ "$CTTYPE" == "0" ]]; then chgrp video /dev/dri chmod 755 /dev/dri @@ -52,6 +54,12 @@ 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 84f906d10..03c44f912 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -14,13 +14,14 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y curl -$STD apt-get install -y sudo -$STD apt-get install -y mc -$STD apt-get install -y gnupg -$STD apt-get install -y jsvc -$STD apt-get install -y wget -$STD apt-get install -y openssh-server +$STD apt-get install -y \ + curl \ + sudo \ + mc \ + gnupg \ + jsvc \ + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Installing Azul Zulu" @@ -32,25 +33,28 @@ $STD apt-get -y install zulu8-jdk msg_ok "Installed Azul Zulu" msg_info "Installing MongoDB" -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 +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 msg_ok "Installed MongoDB" -latest_url=$(curl -fsSL "https://www.tp-link.com/en/support/download/omada-software-controller/" | grep -o 'https://.*x64.deb' | head -n1) +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_version=$(basename "$latest_url") msg_info "Installing Omada Controller" wget -qL ${latest_url} -$STD dpkg -i --ignore-depends=jsvc,mongodb-server ${latest_version} +$STD dpkg -i ${latest_version} msg_ok "Installed Omada Controller" motd_ssh customize msg_info "Cleaning up" -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 +rm -rf ${latest_version} mongodb-org-server_3.6.23_amd64.deb zulu-repo_1.0.0-3_all.deb $libssl $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 663742758..2428a3b33 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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-arm64.tar.gz +wget -q https://github.com/Ombi-app/Ombi/releases/download/${RELEASE}/linux-x64.tar.gz echo "${RELEASE}" >/opt/${APPLICATION}_version.txt mkdir -p /opt/ombi -tar -xzf linux-arm64.tar.gz -C /opt/ombi -rm -rf linux-arm64.tar.gz +tar -xzf linux-x64.tar.gz -C /opt/ombi +rm -rf linux-x64.tar.gz msg_ok "Installed Ombi" msg_info "Creating Service" diff --git a/install/omv-install.sh b/install/omv-install.sh index bd4b661b0..d79f75287 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing OpenMediaVault (Patience)" diff --git a/install/onedev-install.sh b/install/onedev-install.sh index 1acc780cd..dc3bf8528 100644 --- a/install/onedev-install.sh +++ b/install/onedev-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 community-scripts ORG # Author: kristocopani # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -15,14 +15,13 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ - curl \ - mc \ - sudo \ - default-jdk \ - git \ - git-lfs \ - wget \ - openssh-server + curl \ + mc \ + sudo \ + default-jdk \ + git \ + openssh-server \ + wget msg_ok "Installed Dependencies" @@ -44,4 +43,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" +msg_ok "Cleaned" \ No newline at end of file diff --git a/install/openhab-install.sh b/install/openhab-install.sh index dcab412f1..22e06cf8e 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Azul Zulu" diff --git a/install/openobserve-install.sh b/install/openobserve-install.sh index 738b32234..2ec7987e3 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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-arm64.tar.gz) -C /opt/openobserve +$STD tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-amd64.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 84ce4054f..4f115523d 100644 --- a/install/openwebui-install.sh +++ b/install/openwebui-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 tteck # Author: tteck # Co-Author: havardthom # License: MIT @@ -20,15 +20,14 @@ $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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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" @@ -40,6 +39,8 @@ 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 ea30e155b..826959e58 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -33,6 +33,8 @@ 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 6331c97f6..9a61112d0 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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-arm64 | cut -d\" -f4) +wget -q $(curl -s https://api.github.com/repos/owncast/owncast/releases/latest | grep download | grep linux-64bit | 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 9ec88c64b..aebb8b798 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $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,6 +32,8 @@ 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 a70d5b232..1460afd1f 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color @@ -90,7 +90,6 @@ $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 bc6e61959..f34d4a373 100644 --- a/install/part-db-install.sh +++ b/install/part-db-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Setting up PostgreSQL" @@ -51,6 +51,8 @@ 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 9dd3ab5e7..26f930c19 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 git -$STD apt-get install -y wget -$STD apt-get install -y dpkg-dev $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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 -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/* +$STD apt-get install -y proxmox-backup-server +$STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Proxmox Backup Server" motd_ssh diff --git a/install/peanut-install.sh b/install/peanut-install.sh index 77d60a734..2f4227c07 100644 --- a/install/peanut-install.sh +++ b/install/peanut-install.sh @@ -2,8 +2,9 @@ # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) +# Co-Author: remz1337 # License: MIT -# https://github.com/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -18,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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Node.js" @@ -28,10 +29,14 @@ 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 9624df9c3..656ddc82e 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing MongoDB 4.4" @@ -35,6 +35,8 @@ 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 deleted file mode 100644 index cf26abcc1..000000000 --- a/install/pf2etools-install.sh +++ /dev/null @@ -1,77 +0,0 @@ -#!/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 38d1559e7..db8fd4457 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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/arm64.tar.gz | tar -xz -C /opt/photoprism --strip-components=1 +wget -q -cO - https://dl.photoprism.app/pkg/linux/amd64.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-arm64-v1.17.1.tar.gz | tar -xzf - -C /usr/local --strip-components=1 + 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 else - 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 + 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 fi ldconfig cat </opt/photoprism/config/.env PHOTOPRISM_AUTH_MODE='password' -PHOTOPRISM_ADMIN_PASSWORD='helper-scripts.com' +PHOTOPRISM_ADMIN_PASSWORD='changeme' PHOTOPRISM_HTTP_HOST='0.0.0.0' PHOTOPRISM_HTTP_PORT='2342' -PHOTOPRISM_SITE_CAPTION='https://tteck.github.io/Proxmox/' +PHOTOPRISM_SITE_CAPTION='https://Helper-Scripts.com' 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 78aa6d7d1..04292dd92 100644 --- a/install/pialert-install.sh +++ b/install/pialert-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -33,7 +33,6 @@ $STD apt-get -y install \ aria2 \ wakeonlan \ wget \ - cron \ openssh-server msg_ok "Installed Dependencies" @@ -70,7 +69,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/arm64/shoutrrr +chmod go+x /opt/pialert /opt/pialert/back/shoutrrr/x86/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 455b8b1d9..a0939126d 100644 --- a/install/pihole-install.sh +++ b/install/pihole-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Pi-hole" @@ -49,6 +49,8 @@ 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 b6cfa583b..8e17727e1 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $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,6 +32,8 @@ 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 055712a38..8bac2de70 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget -$STD apt-get install -y openssh-server $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 Hardware Acceleration" -$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,vainfo} +$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools} 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 42b072797..86f685272 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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_arm64.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_amd64.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,6 +51,7 @@ 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 3dccd3bb3..d8bb586b3 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Podman" diff --git a/install/podman-install.sh b/install/podman-install.sh index d71d2b20c..84e8ff4aa 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Podman" diff --git a/install/postgresql-install.sh b/install/postgresql-install.sh index 3e85f11ef..56c88b644 100644 --- a/install/postgresql-install.sh +++ b/install/postgresql-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Setting up PostgreSQL Repository" @@ -31,6 +31,8 @@ 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 4ab8f274f..6d9260114 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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-arm64.tar.gz -tar -xf prometheus-${RELEASE}.linux-arm64.tar.gz -cd prometheus-${RELEASE}.linux-arm64 +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 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-arm64 ../prometheus-${RELEASE}.linux-arm64.tar.gz +rm -rf ../prometheus-${RELEASE}.linux-amd64 ../prometheus-${RELEASE}.linux-amd64.tar.gz msg_ok "Cleaned" diff --git a/install/prowlarr-install.sh b/install/prowlarr-install.sh index adad73e82..62ef532ba 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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=arm64' +$STD wget --content-disposition 'https://prowlarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64' $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 750a1dc3d..7deeaf03a 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-2025 community-scripts ORG +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + curl \ + sudo \ + gpg \ + mc \ + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Installing Proxmox Datacenter Manager" @@ -28,8 +28,10 @@ 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 + proxmox-datacenter-manager \ + proxmox-datacenter-manager-ui \ + openssh-server \ + wget msg_ok "Installed Proxmox Datacenter Manager" motd_ssh diff --git a/install/qbittorrent-install.sh b/install/qbittorrent-install.sh index 8458dd779..5284f15a5 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,12 +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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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 a319151c1..5fd4aaf64 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://www.rabbitmq.com/ source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" @@ -20,13 +20,12 @@ $STD apt-get install -y \ sudo \ lsb-release \ curl \ - gnupg \ + gnupg \ apt-transport-https \ make \ mc \ - wget \ openssh-server \ - software-properties-common + wget msg_ok "Installed Dependencies" msg_info "Adding RabbitMQ signing key" @@ -37,11 +36,14 @@ 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/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 +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 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 2f76b8905..ae122c09f 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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=arm64' +$STD wget --content-disposition 'https://radarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64' $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 14e7bed9e..1066d3994 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -14,28 +14,22 @@ 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 unzip -$STD apt-get install -y wget -$STD apt-get install -y openssh-server +$STD apt-get install -y \ + mc \ + curl \ + sudo \ + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Installing ASP.NET Core Runtime" -$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 +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 msg_ok "Installed ASP.NET Core Runtime" msg_info "Installing rdtclient" diff --git a/install/readarr-install.sh b/install/readarr-install.sh index 974f01e32..360ea5452 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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=arm64' +$STD wget --content-disposition 'https://readarr.servarr.com/v1/update/develop/updatefile?os=linux&runtime=netcore&arch=x64' $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 297ee1a74..8dad2d1c7 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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-arm64 +wget -q -O readeck https://codeberg.org/readeck/readeck/releases/download/${LATEST}/readeck-${LATEST}-linux-amd64 chmod a+x readeck msg_ok "Installed Readeck" diff --git a/install/recyclarr-install.sh b/install/recyclarr-install.sh index 7349a8079..a0fb7e5eb 100644 --- a/install/recyclarr-install.sh +++ b/install/recyclarr-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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-arm64 | cut -d\" -f4) +wget -q $(curl -s https://api.github.com/repos/recyclarr/recyclarr/releases/latest | grep download | grep linux-x64 | 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 44c718252..f4d5903a7 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Redis" @@ -29,6 +29,8 @@ 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 1c19aba47..7faac428b 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $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.20.1.linux-arm64.tar.gz -$STD tar -xzf go1.20.1.linux-arm64.tar.gz -C /usr/local +$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 ln -s /usr/local/go/bin/go /usr/local/bin/go -rm -rf go1.20.1.linux-arm64.tar.gz +rm -rf go1.20.1.linux-amd64.tar.gz msg_ok "Installed Golang" msg_info "Installing RTSPtoWeb" diff --git a/install/runtipi-install.sh b/install/runtipi-install.sh index a2040a88e..7c9e54d1b 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Runtipi (Patience)" diff --git a/install/sabnzbd-install.sh b/install/sabnzbd-install.sh index ad4bc475b..b3a37d874 100644 --- a/install/sabnzbd-install.sh +++ b/install/sabnzbd-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -19,21 +19,27 @@ $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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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 + python3-pip \ + openssh-server \ + wget $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 deleted file mode 100644 index 97197b2e4..000000000 --- a/install/scrypted-install.sh +++ /dev/null @@ -1,138 +0,0 @@ -#!/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 deleted file mode 100644 index 730db6b23..000000000 --- a/install/semaphore-install.sh +++ /dev/null @@ -1,89 +0,0 @@ -#!/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 c44892c57..6615adae8 100644 --- a/install/sftpgo-install.sh +++ b/install/sftpgo-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Golang" set +o pipefail -RELEASE=$(curl -s https://go.dev/dl/ | grep -o "go.*\linux-arm64.tar.gz" | head -n 1) +RELEASE=$(curl -s https://go.dev/dl/ | grep -o "go.*\linux-amd64.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,6 +37,8 @@ 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 6b83d3600..acc90fe8d 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $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,10 +32,14 @@ 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" @@ -55,6 +59,8 @@ 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 6c9c39078..5f62a34f1 100644 --- a/install/silverbullet-install.sh +++ b/install/silverbullet-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + openssh-server \ + wget 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-aarch64.zip -unzip -oq -d /opt/silverbullet/bin/ silverbullet-server-linux-aarch64.zip +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 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-aarch64.zip +rm -rf silverbullet-server-linux-x86_64.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 ea51989bd..9a6e4fbb9 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,12 +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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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 53b1f20d1..59396cdee 100644 --- a/install/snipeit-install.sh +++ b/install/snipeit-install.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -#Copyright (c) 2021-2025 community-scripts ORG +#Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Setting up database" diff --git a/install/sonarr-install.sh b/install/sonarr-install.sh index 2c21d3cd1..3d8e07324 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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=arm64' +wget -q -O SonarrV4.tar.gz 'https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=x64' 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 7d7a20dcf..ae261e2b6 100644 --- a/install/spoolman-install.sh +++ b/install/spoolman-install.sh @@ -1,7 +1,8 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck -# Author: tteck (tteckster) +# Copyright (c) 2021-2024 tteck +# Author: tteck +# Co-Author: MickLesk (Canbiz) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://github.com/Donkie/Spoolman @@ -24,8 +25,8 @@ $STD apt-get install -y \ gpg \ ca-certificates \ mc \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Installing Python3" @@ -33,7 +34,9 @@ $STD apt-get install -y \ python3-dev \ python3-setuptools \ python3-wheel \ - python3-pip + python3-pip \ + openssh-server \ + wget msg_ok "Installed Python3" msg_info "Installing Spoolman" diff --git a/install/stirling-pdf-install.sh b/install/stirling-pdf-install.sh index d7be36b60..c2e8ac7c7 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -28,23 +28,27 @@ $STD apt-get install -y \ make \ g++ \ unpaper \ - ocrmypdf \ + qpdf \ poppler-utils \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Installing LibreOffice Components" $STD apt-get install -y \ libreoffice-writer \ libreoffice-calc \ - libreoffice-impress + libreoffice-impress \ + openssh-server \ + wget msg_ok "Installed LibreOffice Components" msg_info "Installing Python Dependencies" $STD apt-get install -y \ python3 \ - python3-pip + python3-pip \ + openssh-server \ + wget rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED $STD pip3 install \ uno \ @@ -73,6 +77,8 @@ 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 0e9ece07e..ab944376d 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 -rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Syncthing" @@ -27,6 +27,8 @@ 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 ae5fbbffd..41e4fa80e 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -29,9 +29,7 @@ $STD apt-get install -y --no-install-recommends \ sudo \ git \ make \ - mc \ - wget \ - openssh-server + mc msg_ok "Installed Dependencies" msg_info "Updating Python3" @@ -39,7 +37,9 @@ $STD apt-get install -y \ python3 \ python3-dev \ python3-setuptools \ - python3-pip + python3-pip \ + openssh-server \ + wget rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Updated Python3" @@ -52,6 +52,8 @@ 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" @@ -82,6 +84,8 @@ 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 1a832c153..39b15bf5b 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing TasmoAdmin" diff --git a/install/tautulli-install.sh b/install/tautulli-install.sh index 945b7a4df..a3ddc1dfb 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,15 +19,17 @@ $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 wget $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 + python3-pip \ + openssh-server \ + wget rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Updated Python3" diff --git a/install/tdarr-install.sh b/install/tdarr-install.sh index b8a7337d9..85ed4a255 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Setting Up Hardware Acceleration" -$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,vainfo} +$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools} 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_arm64 | head -n 1) +RELEASE=$(curl -s https://f000.backblazeb2.com/file/tdarrs/versions.json | grep -oP '(?<="Tdarr_Updater": ")[^"]+' | grep linux_x64 | 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 d3e47019a..b0cea9183 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,17 +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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing ASP.NET Core Runtime" -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 +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 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 75c04b12d..2a64090ac 100644 --- a/install/teddycloud-install.sh +++ b/install/teddycloud-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Installing TeddyCloud" diff --git a/install/the-lounge-install.sh b/install/the-lounge-install.sh index 8b6bdefc0..1cab417a2 100644 --- a/install/the-lounge-install.sh +++ b/install/the-lounge-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -32,6 +32,8 @@ 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 d62d15cab..ff2aeb30a 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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_arm64' +wget -q -O /opt/threadfin/threadfin 'https://github.com/Threadfin/Threadfin/releases/latest/download/Threadfin_linux_amd64' chmod +x /opt/threadfin/threadfin msg_ok "Installed Threadfin" diff --git a/install/tianji-install.sh b/install/tianji-install.sh index 950c9679d..b9bc01556 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Installing Node.js" @@ -39,6 +39,8 @@ 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 2854ae7b0..e841f04d9 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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-arm-${RELEASE}.zip -$STD unzip traccar-linux-arm-${RELEASE}.zip +wget -q https://github.com/traccar/traccar/releases/download/v${RELEASE}/traccar-linux-64-${RELEASE}.zip +$STD unzip traccar-linux-64-${RELEASE}.zip $STD ./traccar.run systemctl enable -q --now traccar -rm -rf README.txt traccar-linux-arm-${RELEASE}.zip traccar.run +rm -rf README.txt traccar-linux-64-${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 a157dea7b..1b8ece230 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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_arm64.tar.gz +wget -q https://github.com/traefik/traefik/releases/download/v${RELEASE}/traefik_v${RELEASE}_linux_amd64.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 ecb814d93..98701cd5f 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -16,14 +16,16 @@ 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 8dc3512a7..3e94ad7dd 100644 --- a/install/trilium-install.sh +++ b/install/trilium-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 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 deleted file mode 100644 index beab980ee..000000000 --- a/install/typesense-install.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/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 6b0e6b85f..c2e69c2e3 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" motd_ssh diff --git a/install/umami-install.sh b/install/umami-install.sh index 1b850aee2..19f5557ce 100644 --- a/install/umami-install.sh +++ b/install/umami-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -33,6 +33,8 @@ 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 1b976b9bf..4b4e766a1 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Umbrel (Patience)" diff --git a/install/unbound-install.sh b/install/unbound-install.sh index 387e57e75..33294fd41 100644 --- a/install/unbound-install.sh +++ b/install/unbound-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 community-scripts ORG # Author: wimb0 # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -18,14 +18,16 @@ $STD apt-get install -y \ sudo \ curl \ mc \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Installing Unbound" $STD apt-get install -y \ unbound \ - unbound-host + unbound-host \ + openssh-server \ + wget 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 243765d5f..e19a5674c 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -19,29 +19,50 @@ $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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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=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 +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 $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" -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 +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_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=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 +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 $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 3657fc1b1..c67efc0b4 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server -rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED +$STD apt-get install -y wget 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 + ocl-icd-libopencl1 \ + intel-opencl-icd 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 e9b49382a..7cdfb7ecd 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -33,6 +33,8 @@ 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 d3dabf4a5..610f090e6 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color diff --git a/install/vikunja-install.sh b/install/vikunja-install.sh index 9245647bd..2fd68afdd 100644 --- a/install/vikunja-install.sh +++ b/install/vikunja-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Setup Vikunja (Patience)" diff --git a/install/wallos-install.sh b/install/wallos-install.sh index 7c876dc30..12366e5ea 100644 --- a/install/wallos-install.sh +++ b/install/wallos-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 tteck # Author: tteck # Co-Author: MickLesk (Canbiz) # License: MIT @@ -23,9 +23,8 @@ $STD apt-get install -y \ apache2 \ libapache2-mod-php \ php8.2-{mbstring,gd,curl,intl,imagick,bz2,sqlite3,zip,xml} \ - wget \ openssh-server \ - cron + wget msg_ok "Installed Dependencies" msg_info "Installing Wallos (Patience)" diff --git a/install/wastebin-install.sh b/install/wastebin-install.sh index ac60f080e..8180ca4e9 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://github.com/matze/wastebin source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" @@ -15,33 +15,22 @@ setting_up_container network_check update_os -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_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_ok "Installed Dependencies" -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)" +msg_info "Installing Wastebin" 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/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 +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 msg_ok "Installed Wastebin" msg_info "Creating Service" @@ -51,9 +40,8 @@ Description=Start Wastebin Service After=network.target [Service] -User=root WorkingDirectory=/opt/wastebin -ExecStart=/root/.cargo/bin/cargo run --release --quiet +ExecStart=/opt/wastebin/wastebin [Install] WantedBy=multi-user.target @@ -67,4 +55,4 @@ customize msg_info "Cleaning up" $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/watchyourlan-install.sh b/install/watchyourlan-install.sh index d725115e6..7f5d5014f 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -14,14 +14,16 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y {curl,sudo,mc,gpg,arp-scan,ieee-data,libwww-perl,wget,openssh-server} +$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 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_arm64.deb -$STD dpkg -i watchyourlan_${RELEASE}_linux_arm64.deb -rm watchyourlan_${RELEASE}_linux_arm64.deb +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 mkdir /data cat </data/config.yaml arp_timeout: "500" diff --git a/install/wavelog-install.sh b/install/wavelog-install.sh index 5785d718e..74b5a5bbf 100644 --- a/install/wavelog-install.sh +++ b/install/wavelog-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 community-scripts ORG +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Setting up Database" diff --git a/install/whisparr-install.sh b/install/whisparr-install.sh index 906d61894..4007f0cb5 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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=arm64' +$STD wget --content-disposition 'https://whisparr.servarr.com/v1/update/nightly/updatefile?os=linux&runtime=netcore&arch=x64' $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 0c2b51e89..d014cfcc8 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -17,15 +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 wget $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 + python3-pip \ + openssh-server \ + wget rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Updated Python3" diff --git a/install/wikijs-install.sh b/install/wikijs-install.sh index 8d8cd9785..2a3fcbad9 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -33,6 +33,8 @@ 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 f5aa93670..51ea5b350 100644 --- a/install/wireguard-install.sh +++ b/install/wireguard-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -18,12 +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 git -$STD apt-get install -y wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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 f82fa4b66..155cb4c3f 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing YunoHost (Patience)" diff --git a/install/zabbix-install.sh b/install/zabbix-install.sh index 2a0e56ab0..8b1881171 100644 --- a/install/zabbix-install.sh +++ b/install/zabbix-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Installing Zabbix" @@ -29,10 +29,14 @@ $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 eea279ee6..44d2e9e43 100644 --- a/install/zammad-install.sh +++ b/install/zammad-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -#Copyright (c) 2021-2025 community-scripts ORG +#Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Setting up Elasticsearch" diff --git a/install/zigbee2mqtt-install.sh b/install/zigbee2mqtt-install.sh index 8dc8cedb6..11d8c4d2d 100644 --- a/install/zigbee2mqtt-install.sh +++ b/install/zigbee2mqtt-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck +# Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -14,72 +14,63 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ - curl \ - sudo \ - mc \ - git \ - make \ - g++ \ - gcc \ - ca-certificates \ - gnupg \ - wget \ - openssh-server +$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 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_22.x nodistro main" >/etc/apt/sources.list.d/nodesource.list +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 +$STD apt-get install -y openssh-server +$STD apt-get install -y wget msg_ok "Installed Node.js" -msg_info "Installing pnpm" -$STD npm install -g pnpm -msg_ok "Installed pnpm" +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 "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 +msg_info "Installing Zigbee2MQTT" cd /opt/zigbee2mqtt -$STD pnpm install --frozen-lockfile -$STD pnpm build +$STD npm ci msg_ok "Installed Zigbee2MQTT" msg_info "Creating Service" -cat </etc/systemd/system/zigbee2mqtt.service -[Unit] +service_path="/etc/systemd/system/zigbee2mqtt.service" +echo "[Unit] Description=zigbee2mqtt After=network.target [Service] Environment=NODE_ENV=production -ExecStart=/usr/bin/pnpm start +ExecStart=/usr/bin/npm start WorkingDirectory=/opt/zigbee2mqtt StandardOutput=inherit StandardError=inherit Restart=always User=root [Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now zigbee2mqtt.service +WantedBy=multi-user.target" >$service_path +$STD systemctl enable 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 0cee201e5..84919e10b 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 \ - wget \ - openssh-server + openssh-server \ + wget msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" @@ -35,6 +35,8 @@ 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 3b455eb20..3aee2e31e 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/tteck/Proxmox/raw/main/LICENSE +# https://github.com/community-scripts/ProxmoxVE/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 wget $STD apt-get install -y openssh-server +$STD apt-get install -y wget 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_arm64" +wget -q "https://github.com/tobychui/zoraxy/releases/download/${RELEASE}/zoraxy_linux_amd64" mkdir -p /opt/zoraxy -mv zoraxy_linux_arm64 /opt/zoraxy/zoraxy +mv zoraxy_linux_amd64 /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 4d0ee268f..e3aec663f 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-2025 tteck +# Copyright (c) 2021-2024 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 \ - wget \ - openssh-server + openssh-server \ + wget 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-arm64.zip -unzip -q zwave-js-ui-${RELEASE}-linux-arm64.zip +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 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-arm64.zip +rm zwave-js-ui-${RELEASE}-linux.zip $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned"