Difference between revisions of "Apache Guacamole"
Jump to navigation
Jump to search
→Installation
Line 43: | Line 43: | ||
'''Install''' | '''Install''' | ||
<code>cd guacamole-server-1.4.0/ | <code>cd guacamole-server-1.4.0/</code> | ||
<code>./configure --with-systemd-dir=/etc/systemd/system/ --disable-dependency-tracking</code> | |||
<code>make</code> | |||
<code>make install</code> | |||
<code>sudo ldconfig</code> | |||
<code>sudo systemctl daemon-reload</code> | |||
<code>sudo systemctl enable --now guacd</code> | |||
<code>sudo systemctl status guacd</code> | |||
'''Edit Guac Config''' | |||
<code>echo GUACAMOLE_HOME=/etc/guacamole >> /etc/default/tomcat9</code> | |||
<code>mkdir -p /etc/guacamole/{extensions,lib}</code> | |||
<code>touch /etc/guacamole/{guacamole.properties,guacd.conf}</code> | |||
'''Set Up MariaDB''' | |||
<code>mysql -u root -p</code> | |||
<code>CREATE DATABASE guacamole_db;</code> | |||
<code>exit</code> | |||
'''Set Up MySQL Connector''' | |||
<code>wget https://dlcdn.apache.org/guacamole/1.4.0/binary/guacamole-auth-jdbc-1.4.0.tar.gz</code> | |||
<code>tar -xf guacamole-auth-jdbc-1.4.0.tar.gz</code> | |||
<code>cd guacamole-auth-jdbc-1.4.0/mysql/<code> | |||
<code>cat schema/*.sql | mysql -u root -p guacamole_db</code> | |||
'''Connect Guac to MySQL''' | |||
<code>mysql -u root -p</code> | |||
<code>CREATE USER 'guacamole_user'@'localhost' IDENTIFIED BY 'StrongPassword';</code> | |||
<code>GRANT SELECT,INSERT,UPDATE,DELETE ON guacamole_db.* TO 'guacamole_user'@'localhost';</code> | |||
<code>FLUSH PRIVILEGES;</code> | |||
<code>exit</code> | |||
== 2nd section title == | == 2nd section title == |