No more logmein Free? OpenSource to the rescue! Part 3:Upgrading Guacamole

Door Tomba op zaterdag 19 april 2014 14:48 - Reacties (4)
CategorieŽn: Guacamole, Linux, Systeembeheer, Views: 7.205

In part 1 of my series on Guacamole we learned how to install Guacamole on an Ubuntu machine. In part 2 of my series on Guacamole we learned how to further secure the machine running Guacamole. Since Guacamole 0.9.0 was released recently, this time we will look into upgrading to a newer version of Guacamole .

First off, I upgraded my Ubuntu machine to 14.04 first to enable SSH support. We also need two specific packages to enable this: libpango2-1 and libssh2-1-dev
Installing these was as easy as running
apt-get install libpango2-1 libssh2-1-dev

Screenshots to follow later

1. Stop both guacamole and Tomcat7 by running
service guacd stop
service tomcat7 stop

2. Download the new War file by running
wget -O guacamole-0.9.0.war http://sourceforge.net/pr...camole-0.9.0.war/download

3. Download the new server source by running
wget -O guacamole-server-0.9.0.tar.gz http://sourceforge.net/pr...ver-0.9.0.tar.gz/download

4. Now we can unpack the source files of Guacamole server and we configure the package (Note by adding the --with-init-dir=/etc/init.d switch we prepare the build to install a startup script for guacd into the /etc/init.d directory)
tar -xzf guacamole-server-0.9.0.tar.gz
cd guacamole-server-0.9.0/
./configure --with-init-dir=/etc/init.d

5. If no errors occur we can make the source
make

6. And install Guacamole server:
make install

7. Now we tell Ubuntu to create the startupscript for Guacamole server and tell Ubuntu to rescan the libs
update-rc.d guacd defaults
ldconfig

8. Now we need to remove the existing Tomcat package and copy the new war-file
rm -r /var/lib/tomcat7/webapps/guacamole
cp guacamole-0.9.0.war /var/lib/tomcat7/webapps/guacamole.war

9. All preparations are now done, so it's time to restart Guacamole and Tomcat7
service guacd start
service tomcat7 restart

Now Guacamole 0.9.0 should be running on port 8080 on your server :)

Volgende: No more logmein Free? OpenSource to the rescue! Part 4: Using Guacamole to connect to Hyper-V guests 09-'16 No more logmein Free? OpenSource to the rescue! Part 4: Using Guacamole to connect to Hyper-V guests
Volgende: No more logmein Free? OpenSource to the rescue! Part 2:Securing Guacamole and exposing it to the Web 02-'14 No more logmein Free? OpenSource to the rescue! Part 2:Securing Guacamole and exposing it to the Web

Reacties


Door Tweakers user Dreeke fixed, zaterdag 19 april 2014 17:18

Is Chrome Remote Desktop an option?

Door Tweakers user Tomba, zaterdag 19 april 2014 17:36

Obviously not :)
Also, the goal of this series is to run the software yourself, to avoid running into trouble like when Logmein changed their policy with one weeks notice.


Door Tweakers user Tomba, maandag 21 april 2014 22:25

Another option, but I'll quote myself:
I briefly considered switching to one of the other solutions like Teamviewer, but hated to put my fate into the hands of yet another company able to pull support at any minute.

Reageren is niet meer mogelijk