Difference between revisions of "Guacamole"

From MyWiki
Jump to: navigation, search
(Replaced content with " Install Guacamole on Ubuntu 14.04 <br>")
Line 1: Line 1:
'''Reference :'''  http://tomba.tweakblogs.net/blog/9833/no-more-logmein-free-opensource-to-the-rescue!.html<br>
+
[[ Install Guacamole on Ubuntu 14.04 ]]<br>
 
+
'''Install the prerequisites :'''<br>
+
apt-get install make libcairo2-dev libpng12-dev freerdp-x11 libssh2-1 libvncserver-dev libfreerdp-dev libvorbis-dev libssl0.9.8 gcc libssh-dev libpulse-dev tomcat7 tomcat7-admin tomcat7-docs <br>
+
 
+
'''Download the source and the war file :'''<br>
+
 
+
wget -O guacamole-server-0.8.3.tar.gz http://sourceforge.net/projects/guacamole/files/current/source/guacamole-server-0.8.3.tar.gz/download?use_mirror=freefr&r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fguacamole%2Ffiles%2Fcurrent%2Fsource%2F&use_mirror=optimate<br>
+
 
+
 
+
wget http://sourceforge.net/projects/guacamole/files/current/binary/guacamole-0.8.3.war/download?use_mirror=heanet&r=http%3A%2F%2Fsourceforge.net%2Fprojects2Fguacamole%2Ffiles%2Fcurrent%2Fbinary%2F&use_mirror=gar??????????????????????????????<br>
+
 
+
tar -xzf guacamole-server-0.8.3.tar.gz<br>
+
cd guacamole-server-0.8.3/<br>
+
./configure --with-init-dir=/etc/init.d<br>
+
 
+
make<br>
+
make install <br>
+
update-rc.d guacd defaults<br>
+
ldconfig<br>
+
mkdir /etc/guacamole<br>
+
vi /etc/guacamole/guacamole.properties<br>
+
 
+
<source lang="text">
+
 
+
# Hostname and port of guacamole proxy
+
guacd-hostname: localhost
+
guacd-port: 4822
+
 
+
# Location to read extra .jar's from
+
lib-directory: /var/lib/tomcat7/webapps/guacamole/WEB-INF/classes
+
 
+
# Authentication provider class
+
auth-provider: net.sourceforge.guacamole.net.basic.BasicFileAuthenticationProvider
+
 
+
# Properties used by BasicFileAuthenticationProvider
+
basic-user-mapping: /etc/guacamole/user-mapping.xml
+
</source>
+
 
+
Now edit the file /etc/guacamole/user-mapping.xml <br>
+
 
+
mkdir /usr/share/tomcat7/.guacamole<br>
+
ln -s /etc/guacamole/guacamole.properties /usr/share/tomcat7/.guacamole<br>
+
cp guacamole-0.8.3.war /var/lib/tomcat7/webapps/guacamole.war<br>
+
 
+
service guacd start <br>
+
sudo service tomcat7 restart<br>
+
 
+
'''Adding ssh support ( not sure if this is needed )''' <br>
+
http://neuro.debian.net/pkgs/libguac-client-ssh0.html
+

Revision as of 15:42, 22 September 2015

Install Guacamole on Ubuntu 14.04