Guacamole Installation: Difference between revisions
From blinkenwiki
Blinkenjim (talk | contribs) |
Blinkenjim (talk | contribs) |
||
Line 59: | Line 59: | ||
sudo cp ~/Downloads/guacamole-1.3.0.war /var/lib/tomcat9/webapps/ | sudo cp ~/Downloads/guacamole-1.3.0.war /var/lib/tomcat9/webapps/ | ||
systemctl restart tomcat9 | systemctl restart tomcat9 | ||
</pre> | |||
Note: after copying the war file to the webapps directory, and restarting Tomcat, it will un-jar the war file into guacamole-1.3.0. This makes the file accessible at <code>http://localhost:8080/guacamole-1.3.0</code>. To make the URL more convenient, just move the unpacked directory to ''guacamole'': | |||
<pre> | |||
mv guacamole-1.3.0 guacamole | |||
</pre> | |||
The guad daemon must be restarted: | |||
<pre> | |||
sudo /etc/init.d/guacd start | sudo /etc/init.d/guacd start | ||
</pre> | </pre> | ||
The Guacamole web will now be available at <code>http://localhost:8080/guacamole</code>. |
Revision as of 21:28, 1 June 2021
Server
These are supposed to be the only necessary steps to install Guacamole, but the add-repository step didn't work:
sudo add-apt-repository ppa:guacamole/stable sudo apt-get install guacamole-tomcat
So, had to install from source. Installation of prerquisites:
Basic stuff:
sudo apt install make
Required stuff:
sudo apt install libcairo2-dev sudo apt install libjpeg-turbo8-dev sudo apt install libpng-dev sudo apt install libtool-bin sudo apt install libossp-uuid-dev
Optional stuff:
sudo apt install libvncclient1 sudo apt install freerdp2-dev sudo apt install libssh2-1-dev sudo apt install libpango1.0-dev sudo apt install libavcodec-dev libavformat-dev libavutil-dev libswscale-dev sudo apt install libvncserver-dev
Configuring:
./configure --with-init-dir=/etc/init.d --disable-dependency-tracking
Make and install:
make sudo make install sudo ldconfig
Client
Install tomcat:
sudo apt install tomcat9 sudo cp ~/Downloads/guacamole-1.3.0.war /var/lib/tomcat9/webapps/ systemctl restart tomcat9
Note: after copying the war file to the webapps directory, and restarting Tomcat, it will un-jar the war file into guacamole-1.3.0. This makes the file accessible at http://localhost:8080/guacamole-1.3.0
. To make the URL more convenient, just move the unpacked directory to guacamole:
mv guacamole-1.3.0 guacamole
The guad daemon must be restarted:
sudo /etc/init.d/guacd start
The Guacamole web will now be available at http://localhost:8080/guacamole
.