Thanks for the new version of Guacamole :-)

I thought it might be useful to update the previous step-by-step install detail I'd done for Guacamole 1.0.0 on Ubuntu 18.04.2 server.

The following worked for me in a new VM, but note that I installed libpng-dev rather than libpng12-dev, seemingly with no detriment. Also I didn't need to create a reduced-privilege user with writable home directory as I understand has been required for some. That said my testing has been brief and limited to one RDP session only, so YMMV...

---

su
apt-get install build-essential libcairo2-dev libjpeg-turbo8-dev libpng-dev libtool-bin libossp-uuid-dev libavcodec-dev libavutil-dev libswscale-dev freerdp2-dev libpango1.0-dev libssh2-1-dev libtelnet-dev libvncserver-dev libwebsockets-dev libpulse-dev libssl-dev libvorbis-dev libwebp-dev
apt-get install tomcat8 tomcat8-admin tomcat8-common tomcat8-user
cd /tmp
wget https://www.apache.org/dist/guacamole/1.1.0/source/guacamole-server-1.1.0.tar.gz
tar -zxvf guacamole-server-1.1.0.tar.gz
cd guacamole-server-1.1.0
./configure --with-init-dir=/etc/init.d
make
make install
ldconfig
wget https://www.apache.org/dist/guacamole/1.1.0/binary/guacamole-1.1.0.war
mkdir /etc/guacamole
cp guacamole-1.1.0.war /etc/guacamole/guacamole.war
ln -s /etc/guacamole/guacamole.war /var/lib/tomcat8/webapps/
systemctl restart tomcat8
systemctl enable guacd
systemctl start guacd

# Above this line should work in standard auth mode, below is detail for MySQL auth

su
cd /tmp
apt-get install mysql-server
apt-get install libmysql-java
wget https://www.apache.org/dist/guacamole/1.1.0/binary/guacamole-auth-jdbc-1.1.0.tar.gz
tar -zxvf guacamole-auth-jdbc-1.1.0.tar.gz
mkdir /etc/guacamole/extensions
mkdir /etc/guacamole/lib
cp guacamole-auth-jdbc-1.1.0/mysql/guacamole-auth-jdbc-mysql-1.1.0.jar /etc/guacamole/extensions/
nano /etc/guacamole/guacamole.properties

mysql-hostname: localhost
mysql-port: 3306
mysql-database: guacamole_db
mysql-username: guacamole_user
mysql-password:
(ctrl-x then y)

mysql -u root -p

create database guacamole_db;
create user 'guacamole_user'@'localhost' identified by '';
grant select,insert,update,delete on guacamole_db.* to 'guacamole_user'@'localhost';
flush privileges;
quit

cat guacamole-auth-jdbc-1.1.0/mysql/schema/*.sql | mysql -u root -p guacamole_db
ln -s /usr/share/java/mysql-connector-java.jar /etc/guacamole/lib/
systemctl restart guacd
systemctl restart tomcat8.service


Go to http://<ip-address>:8080/guacamole
Default login guacadmin:guacadmin

Reply via email to