From b01331480cddd5a7481169c678c2b5fea6fbaf7f Mon Sep 17 00:00:00 2001 From: moodyblue Date: Fri, 24 Jan 2025 23:36:01 +0000 Subject: [PATCH] openHAB - Update to Zulu21 (#1734) * Use Zulu 21 instead of 17 * Increase RAM from 2 to 3GB * Revert RAM to 2G * Add https url --- ct/openhab.sh | 2 +- install/openhab-install.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ct/openhab.sh b/ct/openhab.sh index 79e24984..9cd9fc0e 100644 --- a/ct/openhab.sh +++ b/ct/openhab.sh @@ -46,4 +46,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL} or ${TAB}${GATEWAY}${BGN}https://${IP}:8443${CL}" diff --git a/install/openhab-install.sh b/install/openhab-install.sh index 37c90316..675a30e6 100644 --- a/install/openhab-install.sh +++ b/install/openhab-install.sh @@ -21,13 +21,13 @@ $STD apt-get install -y gnupg $STD apt-get install -y apt-transport-https msg_ok "Installed Dependencies" -msg_info "Installing Azul Zulu" +msg_info "Installing Azul Zulu21" wget -qO /etc/apt/trusted.gpg.d/zulu-repo.asc "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xB1998361219BD9C9" wget -q https://cdn.azul.com/zulu/bin/zulu-repo_1.0.0-3_all.deb $STD dpkg -i zulu-repo_1.0.0-3_all.deb $STD apt-get update -$STD apt-get -y install zulu17-jdk -msg_ok "Installed Azul Zulu" +$STD apt-get -y install zulu21-jdk +msg_ok "Installed Azul Zulu21" msg_info "Installing openHAB" curl -fsSL "https://openhab.jfrog.io/artifactory/api/gpg/key/public" | gpg --dearmor >openhab.gpg