and run the following command:
cat ./*.sql | mysql -uroot -phda guacdb
Create a directory for the configuration file.
mkdir -p /etc/guacamole/
=== Configure Database Settings ===
Create a file called "guacamole.properties" in that directory
vi /etc/guacamole/guacamole.properties
Press the <i>i</i> key to begin inserting text into the guacamole.properties file and include the following contents:
# MySQL properties
mysql-hostname: localhost
mysql-port: 3306
mysql-database: guacdb
mysql-username: guacdb
mysql-password: guacdb
# Additional settings
mysql-default-max-connections-per-user: 0
mysql-default-max-group-connections-per-user: 0
If you use vi for creating this file, press the <i>Esc</i> key to get back in command mode and <i>:wq</i> to write the changes and quit vi.
Now create a symbolic link of this file for Tomcat
ln -s /etc/guacamole/guacamole.properties /usr/share/tomcat/.guacamole/
== Install Guacamole Server ==