dpkg-reconfigure tzdata dpkg-reconfigure locales
mkdir -p /etc/guacamole/lib /etc/guacamole/extensions
apt install tomcat8 -y
apt-get install libcairo2-dev libossp-uuid-dev libavcodec-dev libavutil-dev apt-get install libswscale-dev libvncserver-dev libjpeg62-turbo-dev apt-get install libfreerdp-dev libpango1.0-dev libssh2-1-dev libtelnet-dev apt-get install libpulse-dev libssl-dev libvorbis-dev libwebp-dev apt-get install libpng-dev libpng16-16 git
git clone git://github.com/apache/incubator-guacamole-server.git
cd incubator-guacamole-server.git autoreconf -fi ./configure --with-init-dir=/etc/init.d make && make install ldconfig
guacd
scharf machensystemctl enable guacd /etc/init.d/guacd start
/etc/guacamole/guacamole.properties
anlegen:touch /etc/guacamole/guacamole.properties editor /etc/guacamole/guacamole.properties
# Hostname and port of guacamole proxy guacd-hostname: localhost guacd-port: 4822
ln -s /etc/guacamole/ /var/lib/tomcat8/.guacamole
wget https://sourceforge.net/projects/guacamole/files/current/binary/guacamole-0.9.14.war
root@web-rdp-ct-test:~/Software# md5sum guacamole-0.9.14.war bbee385b00329a32d89452791776f652 guacamole-0.9.14.war
cp guacamole-0.9.14.war /var/lib/tomcat8/webapps/guacamole.war service tomcat8 restart
guacadmin
)/usr/share/doc/tomcat8-common/RUNNING.txt.gz
:CATALINA_HOME | /usr/share/tomcat8 |
---|---|
CATALINA_BASE | /var/lib/tomcat8 |
index.html
steht zuviel drauf - entfernen oder bearbeiten (bis auf „It works“ alles rauslöschen)cd /var/lib/tomcat8/webapps/ROOT/ cp index.html index2.html editor /var/lib/tomcat8/webapps/ROOT/index.html
Paket | Was | Wo |
---|---|---|
tomcat8-docs | Dokumentation zum Online nachlesen | http://IP:8080/docs/ |
tomcat8-examples | Tomcat 8 Servlet / JSP Beispiele | http://IP:8080/examples/ |
tomcat8-admin | Administration und Verwaltung | http://IP:8080/manager/html http://IP:8080/host-manager/html |
für die Administration muss man noch (einen) Benutzer anlegen und
berechtigen in /etc/tomcat8/tomcat-users.xml
editor /etc/tomcat8/tomcat-users.xml
... <user username="tomcat-admin" password="..." roles="manager-gui,admin-gui"/> ...