How to install Guacamole

Guacamole is an HTML5 web application that provides access to desktop environments using remote desktop protocols (such as VNC or RDP). So with Guacamole you can give web access to your linux machines remotely to your devops team. Guacamole consists of a server application and a client application.

To install Guacamole server execute the following commands

#1. Download the guacamole server
Visit https://guacamole.apache.org/releases/ and look for the latest stable release which is 1.5.0 as of now. 

#2. Extract the tar
tar -xzf guacamole-server-1.5.0.tar.gz

#3. change directory
cd guacamole-server-1.5.0/

#4. Configure
./configure --with-init-dir=/etc/init.d

#5. install required libraries
#use apt-get or yum depending on your linux
libcairo2-dev
libjpeg-turbo8-dev
libjpeg62-dev
libossp-uuid-dev

libpango1.0-dev
libavcodec-dev, libavutil-dev, libswscale-dev
libssh2-1-dev
libtelnet-dev
libwebp-dev

#6. Make and install
make
make install
ldconfig

#7. Start the server
service guacd start

The guacamole client is a war file that runs in Tomcat. Assuming you have tomcat installed in your VM, you can download the client war file from guacamole website and then copy it to tomcat.

cp guacamole.war /var/lib/tomcat/webapps

#restart tomcat
/etc/init.d/tomcat7 restart
Stopping Tomcat... OK
Starting Tomcat... OK
#restart guacamole server
/etc/init.d/guacd restart
Starting guacd: SUCCESS
guacd[6229]: INFO:  Guacamole proxy daemon (guacd) version 1.5.0 started

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.