yum -y install cairo-devel libjpeg-turbo-devel libjpeg-devel libpng-devel uuid-devel

yum -y install freerdp-devel pango-devel libssh2-devel libtelnet-devel libvncserver-devel pulseaudio-libs-devel openssl-devel libvorbis-devel libwebp-deve

下载 guacmole

http://ojv12llai.bkt.clouddn.com/guacamole.tar.gz

解压到 /opt/guacamole

server guacd编译

cd /opt/guacamole/guacamole-server-0.9.12-incubating
./configure --with-init-dir=/etc/init.d
make -j 2
make install

client配置

# /etc/guacamole/guacamole.properties
basic-user-mapping: /etc/guacamole/user-mapping.xml
# /etc/guacamole/user-mapping.xml
<user-mapping>

    <!-- Per-user authentication and config information -->
    <authorize username="admin" password="admin">
        <connection name="tableau server">
            <protocol>rdp</protocol>
            <param name="hostname">172.16.10.190</param>
            <param name="port">administrator</param>
            <param name="password">123</param>
        </connection>
        <connection name="openfalcon">
            <protocol>ssh</protocol>
            <param name="hostname">172.16.10.99</param>
            <param name="port">root</param>
            <param name="password">123</param>
        </connection>
    </authorize>

    <!-- Another user, but using md5 to hash the password
         (example below uses the md5 hash of "PASSWORD") -->
    <authorize 
            username="USERNAME2"
            password="319f4d26e3c536b5dd871bb2c52e3178"
            encoding="md5">

        <!-- First authorized connection -->
        <connection name="localhost">
            <protocol>vnc</protocol>
            <param name="hostname">localhost</param>
            <param name="port">5901</param>
            <param name="password">VNCPASS</param>
        </connection>

        <!-- Second authorized connection -->
        <connection name="otherhost">
            <protocol>vnc</protocol>
            <param name="hostname">otherhost</param>
            <param name="port">5900</param>
            <param name="password">VNCPASS</param>
        </connection>

    </authorize>

</user-mapping>
  • 启动
/etc/init.d/guacd restart
cd /opt/guacamole/tomcat/bin ; ./catalina.sh restart

访问

http://172.16.10.99:8080/guacmole
账号密码 admin admin

参考

Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-07-11 11:32:48

results matching ""

    No results matching ""