Robert,
You don't say what distribution you are using, however below is a
step-by-step install of Guacamole 1.4 using Ubuntu Server 20.04 and
Tomcat 9. You will see where I've put the .war file (and the symlink to
webapps).
This uses MySQL for user data etc, the user mapping file is probably
best avoided if you can.
If you have trouble with your install you could just follow these
instructions and it should get you up and running, although it's a few
months old now so some version numbers may have changed.
#
# Install Guacamole 1.4.0 on Ubuntu 20.04.3 server (VM)
#
su
# libpng12-0 is no longer part of the main packages, so need PPA
# ***but may work ok with just libpng-dev***
add-apt-repository ppa:linuxuprising/libpng12
apt-get update
#
apt-get install build-essential autoconf libtool-bin m4
libjpeg-turbo8-dev libcairo2-dev libossp-uuid-dev libtelnet-dev
libpango1.0-dev freerdp2-dev libssh2-1-dev libwebp-dev libvncserver-dev
libpulse-dev libvorbis-dev libssl-dev libpng-dev
apt-get install tomcat9 tomcat9-admin tomcat9-common tomcat9-user
cd /tmp
wget
https://www.apache.org/dist/guacamole/1.4.0/source/guacamole-server-1.4.0.tar.gz
tar -zxvf guacamole-server-1.4.0.tar.gz
cd guacamole-server-1.4.0
./configure --with-init-dir=/etc/init.d
make
make install
ldconfig
wget https://www.apache.org/dist/guacamole/1.4.0/binary/guacamole-1.4.0.war
mkdir /etc/guacamole
cp guacamole-1.4.0.war /etc/guacamole/guacamole.war
ln -s /etc/guacamole/guacamole.war /var/lib/tomcat9/webapps/
systemctl restart tomcat9
systemctl enable guacd
systemctl start guacd
#
# Above this line works in standard auth mode, below is detail for MySQL
auth
#
su
cd /tmp
apt-get install mysql-server
#apt-get install libmysql-java
wget
https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java_8.0.28-1ubuntu20.04_all.deb
dpkg -i mysql-connector-java_8.0.28-1ubuntu20.04_all.deb
wget
https://www.apache.org/dist/guacamole/1.4.0/binary/guacamole-auth-jdbc-1.4.0.tar.gz
tar -zxvf guacamole-auth-jdbc-1.4.0.tar.gz
mkdir /etc/guacamole/extensions
mkdir /etc/guacamole/lib
cp guacamole-auth-jdbc-1.4.0/mysql/guacamole-auth-jdbc-mysql-1.4.0.jar
/etc/guacamole/extensions/
nano /etc/guacamole/guacamole.properties:
mysql-hostname: localhost
mysql-port: 3306
mysql-database: guacamole_db
mysql-username: guacamole_user
mysql-password:
(ctrl-x then y)
mysql -u root -p
create database guacamole_db;
create user 'guacamole_user'@'localhost' identified by '';
grant select,insert,update,delete on guacamole_db.* to
'guacamole_user'@'localhost';
flush privileges;
quit
cat guacamole-auth-jdbc-1.4.0/mysql/schema/*.sql | mysql -u root -p
guacamole_db
ln -s /usr/share/java/mysql-connector-java-8.0.28.jar /etc/guacamole/lib/
mkdir -p /usr/lib/$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)/freerdp
ln -s /usr/local/lib/freerdp/guac*.so /usr/lib/$(dpkg-architecture
-qDEB_BUILD_GNU_TYPE)/freerdp/
ldconfig
systemctl restart guacd
systemctl restart tomcat9.service
Go to http://<ip-address>:8080/guacamole
Default login guacadmin:guacadmin
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org