Ubuntu Installation Gucamole

Source: Internet
Author: User

Update

Apt-get Update && apt-get-y dist-upgrade

Installing dependent libraries

Install libcairo2-dev libpng12-dev libossp-uuid-dev libfreerdp-dev libpango1. 0-dev libssh2-1-dev libtelnet-dev libvncserver-dev libpulse-dev libssl-dev Libvorbis-dev Mysql-server mysql-client Mysql-common mysql-utilities tomcat8

Add guacamole to Tomcat

Echo  ">>/etc/default/tomcat8echo"# guacamole EVN VARIABLE" >>/etc/default/tomcat8echo"guacamole_home=/etc/guacamole  " >>/etc/default/tomcat8

Download guacamole file and MySQL

wget-O guacamole-0.9.8.war http://Downloads.sourceforge.net/project/guacamole/current/binary/guacamole-0.9.8.warwget-O guacamole-server-0.9.8.Tar. GZ http://sourceforge.net/projects/guacamole/files/current/source/guacamole-server-0.9.8.tar.gzwget-O guacamole-auth-jdbc-0.9.8.Tar. GZ http://sourceforge.net/projects/guacamole/files/current/extensions/guacamole-auth-jdbc-0.9.8.tar.gzwget-O mysql-connector-java-5.1. $.Tar. GZ http://dev.mysql.com/get/downloads/connector/j/mysql-connector-java-5.1.36.tar.gz

Unzip these files

tar -xzf guacamole-server-0. 9.8.tar. GZtar -xzf guacamole-auth-jdbc-0. 9.8.tar. GZtar -xzf mysql-connector-java-5.1. . tar. gz

Create a Guacmole folder

mkdir /etc/guacamolemkdir /etc/guacamole/libmkdir /etc/guacamole/ Extensions mkdir /usr/share/tomcat8/.guacamole

Installing Gucamole

CD guacamole-server-0.9. 8 . /configure--with-init-dir=/etc/init.dmake doinstall ldconfigsystemctl enable GUACDCD.

Move the file to the appropriate location

MV guacamole-0. 9.8.war/etc/guacamole/guacamole.warLn -s/etc/guacamole/guacamole.war/var/lib/tomcat8/webapps/ CP mysql-connector-java-5.1. /mysql-connector-java-5.1. -bin.jar/etc/guacamole/lib/cp guacamole-auth-jdbc-0. 9.8/mysql/guacamole-auth-jdbc-mysql-0. 9.8.jar/etc/guacamole/extensions/

Related Settings for Guacmole

Echo "Mysql-hostname:localhost">>/etc/guacamole/guacamole.propertiesEcho "mysql-port:3306">>/etc/guacamole/guacamole.propertiesEcho "mysql-database:guacamole_db">>/etc/guacamole/guacamole.propertiesEcho "Mysql-username:guacamole_user">>/etc/guacamole/guacamole.propertiesEcho "Mysql-password:password">>/etc/guacamole/guacamole.propertiesLN-s/etc/guacamole/guacamole.properties/usr/share/tomcat8/.guacamole/Service tomcat8 Restart

Settings for MySQL

Mysql-u Root-pmysqlrootpasswordcreate Database guacamole_db;create user'Guacamole_user'@'localhost'Identified by'PASSWORD'; GRANT select,insert,update,delete on guacamole_db.* To'Guacamole_user'@'localhost'; flush Privileges;quitCatguacamole-auth-jdbc-0.9.8/mysql/schema/*. sql | mysql-u root-pmysqlrootpassword guacamole_db

Ubuntu Installation Gucamole

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.