This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| guacomole_with_ldap_centos7 [2015/03/31 12:05] – created herwarth | guacomole_with_ldap_centos7 [2015/05/16 11:01] (current) – herwarth | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======Guacamole with LDAP on CentOS 7====== | ======Guacamole with LDAP on CentOS 7====== | ||
| =====Installation===== | =====Installation===== | ||
| + | yum install guacd libguac-client-rdp libguac-client-vnc libguac-client-ssh guacamole liberation-mono-fonts | ||
| + | |||
| + | echo " | ||
| + | echo " | ||
| + | |||
| + | =====Download LDAP classes===== | ||
| + | [[http:// | ||
| + | extract and copy the jar files from the lib directory in / | ||
| + | |||
| + | cd / | ||
| + | ln -s / | ||
| =====Configuration===== | =====Configuration===== | ||
| Line 20: | Line 31: | ||
| ldap-config-base-dn: | ldap-config-base-dn: | ||
| </ | </ | ||
| + | |||
| + | =====Configure firewall===== | ||
| + | Allow access from web-server to the Tomcat server | ||
| + | firewall-cmd --permanent --zone=dmz --add-rich-rule=" | ||
| + | source address=" | ||
| + | firewall-cmd --permanent --zone=dmz --add-rich-rule=" | ||
| + | source address=" | ||
| + | |||
| + | ======Own compiled guacd with .war webapp====== | ||
| + | =====Installation===== | ||
| + | yum localinstall guacd-0.9.6-1.el7.centos.x86_64.rpm libguac-* guacamole-server-debuginfo-0.9.6-1.el7.centos.x86_64.rpm | ||
| + | |||
| + | systemctl stop tomcat | ||
| + | cp guacamole-0.9.6.war / | ||
| + | systemctl start tomcat | ||
| + | systemctl stop tomcat | ||
| + | cd / | ||
| + | rm guacamole-0.9.6.war | ||
| + | ln -s guacamole-0.9.6 guacamole | ||
| + | mkdir / | ||
| + | cd / | ||
| + | ln -s / | ||
| + | |||
| + | =====Configuration===== | ||
| + | mkdir / | ||
| + | |||
| + | <code - / | ||
| + | # Guacamole - Clientless Remote Desktop | ||
| + | # Copyright (C) 2010 Michael Jumper | ||
| + | # | ||
| + | # This program is free software: you can redistribute it and/or modify | ||
| + | # it under the terms of the GNU Affero General Public License as published by | ||
| + | # the Free Software Foundation, either version 3 of the License, or | ||
| + | # (at your option) any later version. | ||
| + | # | ||
| + | # This program is distributed in the hope that it will be useful, | ||
| + | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| + | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
| + | # GNU Affero General Public License for more details. | ||
| + | # | ||
| + | # You should have received a copy of the GNU Affero General Public License | ||
| + | # along with this program. | ||
| + | |||
| + | |||
| + | # Hostname and port of guacamole proxy | ||
| + | guacd-hostname: | ||
| + | guacd-port: | ||
| + | lib-directory: | ||
| + | |||
| + | # Auth provider class (authenticates user/pass combination, | ||
| + | auth-provider: | ||
| + | basic-user-mapping: | ||
| + | </ | ||
| + | |||
| + | =====Restart everything===== | ||
| + | systemctl enable guacd | ||
| + | systemctl enable tomcat | ||
| + | systemctl restart guacd | ||
| + | systemctl restart tomcat | ||
| {{tag> | {{tag> | ||