From b6e83bcae28fb3f27a50387c810a78ecb1dc3323 Mon Sep 17 00:00:00 2001 From: Brett England Date: Thu, 23 May 2024 17:05:02 -0400 Subject: [PATCH 1/6] Update photoprism-install.sh (#3049) fixes https://github.com/tteck/Proxmox/issues/3048 --- install/photoprism-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/photoprism-install.sh b/install/photoprism-install.sh index e16cb6ee1..9737f0ec1 100644 --- a/install/photoprism-install.sh +++ b/install/photoprism-install.sh @@ -26,6 +26,7 @@ $STD apt-get install -y libtiff-dev $STD apt-get install -y imagemagick $STD apt-get install -y darktable $STD apt-get install -y rawtherapee +$STD apt-get install -y libvips42 echo 'export PATH=/usr/local:$PATH' >>~/.bashrc export PATH=/usr/local:$PATH From 0e24893e52aef3b6988cfe413ea36edf8c2a9aed Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 23 May 2024 21:38:21 -0400 Subject: [PATCH 2/6] Create bunkerweb.sh --- ct/bunkerweb.sh | 71 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 ct/bunkerweb.sh diff --git a/ct/bunkerweb.sh b/ct/bunkerweb.sh new file mode 100644 index 000000000..a6a53f868 --- /dev/null +++ b/ct/bunkerweb.sh @@ -0,0 +1,71 @@ +#!/usr/bin/env bash +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +# Copyright (c) 2021-2024 tteck +# Author: tteck (tteckster) +# License: MIT +# https://github.com/tteck/Proxmox/raw/main/LICENSE + +function header_info { +clear +cat <<"EOF" + ____ __ _ __ __ + / __ )__ ______ / /_____ ____| | / /__ / /_ + / __ / / / / __ \/ //_/ _ \/ ___/ | /| / / _ \/ __ \ + / /_/ / /_/ / / / / ,< / __/ / | |/ |/ / __/ /_/ / +/_____/\__,_/_/ /_/_/|_|\___/_/ |__/|__/\___/_.___/ + +EOF +} +header_info +echo -e "Loading..." +APP="BunkerWeb" +var_disk="4" +var_cpu="1" +var_ram="1024" +var_os="debian" +var_version="12" +variables +color +catch_errors + +function default_settings() { + CT_TYPE="1" + PW="" + CT_ID=$NEXTID + HN=$NSAPP + DISK_SIZE="$var_disk" + CORE_COUNT="$var_cpu" + RAM_SIZE="$var_ram" + BRG="vmbr0" + NET="dhcp" + GATE="" + APT_CACHER="" + APT_CACHER_IP="" + DISABLEIP6="no" + MTU="" + SD="" + NS="" + MAC="" + VLAN="" + SSH="no" + VERB="no" + echo_default +} + +function update_script() { +header_info +if [[ ! -d /etc/bunkerweb ]]; then msg_error "No ${APP} Installation Found!"; exit; fi +msg_info "Updating $APP" +apt-get update &>/dev/null +apt-get -y upgrade &>/dev/null +msg_ok "Updated $APP" +exit +} + +start +build_container +description + +msg_ok "Completed Successfully!\n" +echo -e "${APP} setup should be reachable by going to the following URL. + ${BL}http://${IP}/setup${CL} \n" From 14798991b47ff444bcc4e00c45150ccff86cfe1b Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 23 May 2024 21:39:30 -0400 Subject: [PATCH 3/6] Create bunkerweb-install.sh --- install/bunkerweb-install.sh | 46 ++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 install/bunkerweb-install.sh diff --git a/install/bunkerweb-install.sh b/install/bunkerweb-install.sh new file mode 100644 index 000000000..ac8595da3 --- /dev/null +++ b/install/bunkerweb-install.sh @@ -0,0 +1,46 @@ +#!/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" +$STD apt-get install -y curl +$STD apt-get install -y sudo +$STD apt-get install -y mc +$STD apt-get install -y gnupg2 +$STD apt-get install -y ca-certificates +$STD apt-get install -y lsb-release +$STD apt-get install -y debian-archive-keyring +msg_ok "Installed Dependencies" + +msg_info "Installing Nginx v1.20.0" +wget -qO- https://nginx.org/keys/nginx_signing.key | gpg --dearmor >/usr/share/keyrings/nginx-archive-keyring.gpg +echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] http://nginx.org/packages/debian `lsb_release -cs` nginx" >/etc/apt/sources.list.d/nginx.list +$STD apt-get update +$STD apt-get install -y nginx=1.24.0-1~$(lsb_release -cs) +msg_ok "Installed Nginx v1.20.0" + +msg_info "Installing BunkerWeb v1.5.7" +export UI_WIZARD=1 +$STD curl -sSL https://packagecloud.io/install/repositories/bunkerity/bunkerweb/script.deb.sh | bash +$STD apt-get install -y bunkerweb=1.5.7 +#$STD apt-mark hold nginx bunkerweb +msg_ok "Installed BunkerWeb v1.5.7" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD apt-get -y autoremove +$STD apt-get -y autoclean +msg_ok "Cleaned" From 31ae6d829c073d1fffb91b88c664af83865629a6 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 23 May 2024 21:43:30 -0400 Subject: [PATCH 4/6] Update bunkerweb-install.sh tweak --- install/bunkerweb-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/bunkerweb-install.sh b/install/bunkerweb-install.sh index ac8595da3..f0a8d4aa7 100644 --- a/install/bunkerweb-install.sh +++ b/install/bunkerweb-install.sh @@ -32,7 +32,7 @@ msg_ok "Installed Nginx v1.20.0" msg_info "Installing BunkerWeb v1.5.7" export UI_WIZARD=1 -$STD curl -sSL https://packagecloud.io/install/repositories/bunkerity/bunkerweb/script.deb.sh | bash +curl -sSL https://packagecloud.io/install/repositories/bunkerity/bunkerweb/script.deb.sh | bash &>/dev/null $STD apt-get install -y bunkerweb=1.5.7 #$STD apt-mark hold nginx bunkerweb msg_ok "Installed BunkerWeb v1.5.7" From e5788637b75ef46975732cd39b463a98ca259fc9 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 23 May 2024 22:02:46 -0400 Subject: [PATCH 5/6] Update bunkerweb.sh tweak --- ct/bunkerweb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/bunkerweb.sh b/ct/bunkerweb.sh index a6a53f868..701d6d83e 100644 --- a/ct/bunkerweb.sh +++ b/ct/bunkerweb.sh @@ -20,7 +20,7 @@ header_info echo -e "Loading..." APP="BunkerWeb" var_disk="4" -var_cpu="1" +var_cpu="2" var_ram="1024" var_os="debian" var_version="12" From 5efcac2bc5f86ce118180493d0f8546b41248ac2 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 23 May 2024 22:03:42 -0400 Subject: [PATCH 6/6] Update CHANGELOG.md --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2640af1d4..ee22badf2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,13 @@ - All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment. - 🚨 **The scripts in the repository will no longer provide support for Proxmox VE 7 starting from July 2024 (scripts will not execute on PVE7). Subsequent Proxmox VE - Support Lifecycle** +## 2024-05-23 + +### Changed + +- **BunkerWeb LXC** + - NEW Script + ## 2024-05-20 ### Changed