Tomcat on n-1-136
Jump to navigation
Jump to search
- The arthor web app code lives in /opt/tomcat/apache-tomcat-9.0.27
- The arthor data files live in /usr/local/tomcat/arthor_data
- The arthor binaries for the command line version live on n-1-136 on /opt/nextmove/arthor/arthor-2.1.2-centos7
- Tomcat is slightly different on CentOS 7 than it is on CentOS 6. I followed this link https://linuxize.com/post/how-to-install-tomcat-9-on-centos-7/ to install TomCat on n-1-136. Since I used the sudo useradd -m -U -d /opt/tomcat -s /bin/false tomcat
so when you do su - tomcat it doesn't actually open a shell. On n-9-22 (which is Centos 6.10) the tomcat user has a normal shell. I'm not sure what the reason for doing it this way is, but I got it from that link.