From 517b19a62b93a0bd47a1ee5cfb1c26cbbaa443e2 Mon Sep 17 00:00:00 2001 From: JBSAN3 <72016241+sannier3@users.noreply.github.com> Date: Fri, 27 Dec 2024 20:28:25 +0100 Subject: [PATCH] Apache-Guacamole script bug fix (#1039) * Fix apache-guacamole-script * Update apache-guacamole-install.sh Changed ip address binding for more security * Update apache-guacamole-install.sh * remove systemctl start --------- Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com> --- install/apache-guacamole-install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install/apache-guacamole-install.sh b/install/apache-guacamole-install.sh index 39b10cb4..71393235 100644 --- a/install/apache-guacamole-install.sh +++ b/install/apache-guacamole-install.sh @@ -98,6 +98,11 @@ cat *.sql | mysql -u root ${DB_NAME} msg_ok "Setup Database" msg_info "Setup Service" +cat </etc/guacamole/guacd.conf +[server] +bind_host = 127.0.0.1 +bind_port = 4822 +EOF JAVA_HOME=$(update-alternatives --query javadoc | grep Value: | head -n1 | sed 's/Value: //' | sed 's@bin/javadoc$@@') cat </etc/systemd/system/tomcat.service [Unit]