== How to install guacamole server on CentOS == Make sure centos release is latest (Or at least 6.6) {{{ yum update }}} Then make sure EPEL repository is active (set enabled=1) This will install the server components: {{{ yum install uuid libwebp guacd libguac-client-* chkconfig guacd on }}} This will install the client components (web application): {{{ yum install tomcat6 chkconfig tomcat6 on }}} Then you need to download the main Guacamole web application archive from the [[http://sourceforge.net/projects/guacamole/files/current/binary/guacamole-0.8.3.war/download|Guacamole homepage]]. Place the downloaded ''war'' file in /var/libt/tomcat6/webapps for Tomcat consumption. {{{ mv guacamole-0.8.3.war /var/lib/tomcat6/webapps/guacamole.war }}} These would place your guacamole related configuration files in /etc/guacamole: {{{ mkdir -p /etc/guacamole echo "export GUACAMOLE_HOME=/etc/guacamole" > /etc/profile.d/guacamole.sh echo "setenv GUACAMOLE_HOME /etc/guacamole" > /etc/profile.d/guacamole.csh chcon system_u:object_r:bin_t:s0 /etc/profile.d/guacamole.* }}} This does not actually let you log in yet. At bare minimum you need to set up 2 files in /etc/guacamole: guacamole.properties {{{ guacd-hostname: localhost guacd-port: 4822 auth-provider: net.sourceforge.guacamole.net.basic.BasicFileAuthenticationProvider basic-user-mapping: /etc/guacamole/user-mapping.xml }}} user-mapping.xml {{{ vnc localhost 5900 VNCPASS vnc localhost 5901 VNCPASS vnc otherhost 5900 VNCPASS }}} To start the guacamole server: {{{ service guacd start service tomcat6 start }}} The above 2 files let you log in as USERNAME2 with the password PASSWORD only on the local machine using URL http://127.0.0.1:8080/guacamole/