CentOS/Ubuntu安装Guacamole
EXP1:准备环境
1.安装Maven
参见http://www.xn--it-1e1d738b.cn/centos/39.html
2.运行环境
CentOS:
yum install cairo-devel libping-devel uuid-devel libtool –yUbuntu:
apt-get install libcairo2-dev libpng12-dev libossp-uuid-dev libtool
3.必要支持库
CentOS:
yum install freerdp-devel pango-devel libsshd-devel libtelnet-devel libvncserver-devel pulseaudio-libs-devel openssl-devel libvorbis-devel libssh2-devel –y
Ubuntu:
apt-get install libfreerdp-dev libpango1.0-dev libssh2-1-dev libtelnet-dev libvncserver-dev libpulse-dev libssl-dev libvorbis-dev
EXP2:安装Gnacamole-server
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
EXP3:安装guacamole-client
git clone git://github.com/glyptodon/guacamole-client.git cd guacamole-client mvn package cp guacamole/target/guacamole-0.9.7.war /var/lib/tomcat/webapps/guacamole.war mkdir /etc/guacamole mkdir /usr/share/tomcat7/.guacamole
(CentOS中为/usr/share/tomcat/)
cp guacamole/doc/example/guacamole.properties /etc/guacamole/guacamole.properties ln -s /etc/guacamole/guacamole.properties /usr/share/tomcat7/.guacamole/
(CentOS中为/usr/share/tomcat/)
ln -s /var/lib/guacamole/guacamole.war /var/lib/tomcat7/webapps
(CentOS中为/var/lib/tomcat/)
EXP4:启动Guacamole
/etc/init.d/tomcat7 restart /etc/init.d/guacd start
CM部落 》原创,转载请保留文章出处。
本文链接:CentOS/Ubuntu安装Guacamole https://www.itkz.cn/note/40.html
版权声明:若无特殊注明,本文皆为《
正文到此结束
CM部落
少年
Eric