Last active
February 18, 2016 13:30
-
-
Save crmaxx/a52bb7ab63b63ce4b2a9 to your computer and use it in GitHub Desktop.
guacamole install log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add-apt-repository ppa:webupd8team/java | |
apt-get update | |
apt-get install libcairo2-dev libjpeg-turbo8-dev libpng12-dev libossp-uuid-dev libfreerdp-dev \ | |
libpango1.0-dev libssh2-1-dev libtelnet-dev libvncserver-dev libpulse-dev libssl-dev libvorbis-dev \ | |
libwebp-dev maven tomcat7 tomcat7-admin oracle-java8-installer | |
echo "JAVA_HOME=/usr/lib/jvm/java-8-oracle" >> /etc/default/tomcat7 | |
echo "GUACAMOLE_HOME=/opt/guacamole" >> /etc/default/tomcat7 | |
git clone git://github.com/glyptodon/guacamole-server.git | |
cd guacamole-server/ | |
autoreconf -fi | |
./configure --with-init-dir=/etc/init.d | |
make && make install | |
ldconfig | |
git clone git://github.com/glyptodon/guacamole-client.git | |
cd guacamole-client/ | |
mvn package | |
cp guacamole/target/guacamole-0.9.9.war /var/lib/tomcat7/webapps/guacamole.war | |
/etc/init.d/tomcat7 restart | |
/etc/init.d/guacd start | |
mkdir -p /opt/guacamole | |
cat /opt/guacamole/user-mapping.xml | |
<user-mapping> | |
</user-mapping> | |
cat /opt/guacamole/noauth-config.xml | |
<configs> | |
</configs> | |
cat /opt/guacamole/guacamole.properties | |
#Hoctname and port of guacamoole proxy | |
guacd-hostname: localhost | |
guacd-port: 4822 | |
#Location to read extra .jar's from | |
lib-directory: /var/lib/guacamole/classpath | |
# Auth provider class | |
auth-provider: net.sourceforge.guacamole.net.auth.noauth.NoAuthenticationProvider | |
# NoAuth properties | |
noauth-config: /opt/guacamole/noauth-config.xml | |
mkdir /usr/share/tomcat7/.guacamole | |
ln -s /opt/guacamole/guacamole.properties /usr/share/tomcat7/.guacamole | |
update-rc.d guacd defaults | |
cat /etc/tomcat7/tomcat-users.xml | |
<?xml version='1.0' encoding='utf-8'?> | |
<tomcat-users> | |
<role rolename="manager-script" /> | |
<user username="admin" password="secret" roles="manager-script" /> | |
</tomcat-users> | |
wget http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-noauth-0.9.9.tar.gz | |
tar zxvf guacamole-auth-noauth-0.9.9.tar.gz | |
mkdir -p /var/lib/guacamole/classpath | |
cp guacamole-auth-noauth-0.9.9/guacamole-auth-noauth-0.9.9.jar /var/lib/guacamole/classpath | |
chmod +rw /opt/guacamole/noauth-config.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment