On Fri, May 1, 2020 at 5:11 PM Zer0Cool <[email protected]> wrote: > Maybe a better way to ask for your help regarding directories for Guac and > tomcat...(again, if your willing, if not no problem). > > I don't mind at all - just with the caveat that this is just how I do things, and not necessarily "the right way" to do things. More habits that I've developed that work for me :-).
> Could you detail where you place: > - Guacamole server > /opt/guac > - Guacamole client .war file > /opt/tomcat/webapps/ROOT.war or /opt/tomcat/webapps/guacamole.war - depending on whether I'm deploying it with other applications or on its own. > - Guacamole extensions (JDBC, TOTP, LDAP, etc) > In the extensions subdirectory of GUACAMOLE_HOME, which is, in all of my installs /etc/guacamole - so, /etc/guacamole/extensions > - guacamole.properties > In GUACAMOLE_HOME - so file is /etc/guacamole/guacamole.properties > - MySQL Connector J (I plan to use 8.x) > I use PostgreSQL, not MySQL, but I usually *symlink* the JDBC driver from whatever it's install location is to /etc/guacamole/lib (GUACAMOLE_HOME/lib) > - Tomcat (I assume /opt/tomcat) > Yes, generally /opt/tomcat > - Any other relevant dirs/files > > I almost always proxy Guacamole through either Nginx or Apache httpd, depending on the web server. More often than not it's Nginx these days because it's very simple to set up. So, the relevant nginx configuration files for whatever distribution you happen to be using. > Do you then need to create symlinks between any files (IE: like > guacamole.war symlinked to something in /opt/tomcat/webapps)? > > No, I generally copy the WAR file directly into /opt/tomcat/webapps, and I copy the authentication extension JAR files into /etc/guacamole/extensions. > My preliminary idea based on your earlier response is to start with: > - Guac server installed to /opt/guacamole > - Tomcat installed to /opt/apache-tomcat-version (symlinked to /opt/tomcat) > - guacamole.properties in /etc/guacamole/guacamole.properties > > Pretty much, yeah, except that I'm lazy, so it's usually /opt/guac :-). But, again, habit on my part and not "the right way." > the rest I am still trying to work out. > > Any advice would help. Thanks > > > My only other advice is not to over-think it. Like I said, this is what works for me, but it's not the right way or the wrong way, and may not be the best way, particularly for your environment. Find the few things that work and do them consistently. -Nick
