guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Bernard <...@clemson.edu>
Subject installing 0.9.10-incubating on Oracle Linux 7
Date Fri, 02 Dec 2016 16:42:27 GMT
My job uses Oracle Linux 7 which isn’t quite the same as CentOS 7.  This should help someone
else in the same situation.  These commands cover everything as far as getting everything
you need downloaded, compiled, and installed.  The configuration of the pieces is up to you
and can be found in the manual.

Thanks,
Joseph B.


yum -y install yum-utils \
  https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
  http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm

yum-config-manager --enable ol7_optional_latest

yum -y install gcc libpng-devel libjpeg-turbo-devel cairo-devel uuid-devel \
  freerdp-devel pango-devel libssh2-devel libtelnet-devel libvncserver-devel \
  pulseaudio-libs-devel openssl-devel libvorbis-devel libwebp-devel \
  dejavu-sans-mono-fonts terminus-fonts terminus-fonts-console \
  git maven libtool tomcat ffmpeg-devel

cd ~
git clone https://github.com/apache/incubator-guacamole-client
cd ~/incubator-guacamole-client/
mvn package

cd ~
git clone https://github.com/apache/incubator-guacamole-server
cd ~/incubator-guacamole-server/
autoreconf -fi
./configure --with-init-dir=/etc/init.d
make
make install
ldconfig

cp ~/incubator-guacamole-client/guacamole/target/guacamole-0.9.10-incubating.war /var/lib/tomcat/webapps/guacamole.war

# figure out where GUACAMOLE_HOME will be; a lot of people like /etc/guacamole ( mkdir -p
/etc/guacamole/{lib,extensions} )
echo GUACAMOLE_HOME=/path/to/GUACAMOLE_HOME >> /etc/tomcat/tomcat.conf

# you will be using this a lot when you change your configurations
systemctl restart tomcat.service

# if you’re not using a proxy server or just want to test
firewall-cmd --zone=public --add-port=8080/tcp --permanent
firewall-cmd --reload

# if you want to do the MySQL authentication, here’s the trick to getting MariaDB installed
yum -y remove mysql-community-common
yum -y install mariadb-server postfix mysql-connector-java
# make symbolic link like this; remember to use path you figured out for GUACAMOLE_HOME and
to make the lib directory under it
ln -s /usr/share/java/mysql-connector-java.jar /path/to/GUACAMOLE_HOME/lib/

systemctl restart mariadb.service

# MySQL authentication module
# remember to use path you figured out for GUACAMOLE_HOME and to make the extensions directory
under it
cp ~/incubator-guacamole-client/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/target/guacamole-auth-jdbc-mysql-0.9.10-incubating.jar
/path/to/GUACAMOLE_HOME/extensions/

# the directory to be in for the ‘cat schema/*.sql’ command is ~/incubator-guacamole-client/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/


# LDAP authentication module
# remember to use path you figured out for GUACAMOLE_HOME and to make the extensions directory
under it
cp ~/incubator-guacamole-client/extensions/guacamole-auth-ldap/target/guacamole-auth-ldap-0.9.10-incubating.jar
/path/to/GUACAMOLE_HOME/extensions/


Mime
View raw message