17e5793676
Make note about TOTP cli options |
||
---|---|---|
docker-install.sh | ||
guac-install-server.sh | ||
guac-install.sh | ||
guac-upgrade.sh | ||
README.md |
guac-install
Script for installing Guacamole 1.0.0 on Ubuntu 16.04 or newer with MySQL. It should also work on pure Debian 7, 8, and 9. It seems Debian 10 is not working right now
Run script, enter MySQL Root Password and Guacamole User password. Guacamole User is used to connect to the Guacamole Database.
The script attempts to install tomcat8 if the available version is 8.5.x or newer, if tomcat8 is only 8.0.x it will fall back to tomcat7. If you want to manually specify a tomcat version there's a commented out line you can modify at line #73. Have at it.
If you're looking to also have NGINX / Let's Encrypt / HTTPS click HERE
MFA/2FA
By default the script will install with TOTP support (Google Authenticator), if you do not want TOTP support (which if installed is mandatory for every user) you need to specify the -n
or --nototp
flags on the command line. Or Modify the script variable installTOTP=false
How to Run:
Download file directly from here:
wget https://git.io/fxZq5
Make it executable:
chmod +x guac-install.sh
Run it as root:
Interactive (asks for passwords):
./guac-install.sh
Non-Interactive (passwords provided via cli):
./guac-install.sh --mysqlpwd password --guacpwd password
OR
./guac-install.sh -m password -g password
Once installation is done you can access guacamole by browsing to: http://<host_or_ip>:8080/guacamole/ The default credentials are guacadmin as both username and password. Please change them or disable guacadmin after install!
guac-upgrade
Script for upgrading currently installed Guacamole instance (previously installed via this script/guide)
If looks for the tomcat folder in /etc/ (E.G. /etc/tomcat7
or /etc/tomcat8
) hopefully that works to identify the correct tomcat version/path 😄 I'm open to suggestions/pull requests for a cleaner method.
WARNING
I don't think this script is working anymore. Way too many reports that 0.9.14 -> 1.0.0 are not working. I don't know why.
How to Run:
Download file directly from here:
wget https://raw.githubusercontent.com/MysticRyuujin/guac-install/master/guac-upgrade.sh
Make it executable:
chmod +x guac-upgrade.sh
Run it as root:
Interactive (asks for passwords):
./guac-upgrade.sh
Non-Interactive (password provided via cli):
./guac-upgrade.sh --mysqlpwd password