Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tutorial:adm:server_preparation [2019/01/31 09:40]
urbanl
tutorial:adm:server_preparation [2019/02/19 12:43]
urbanl Upraven tomcat.service - přidáno umístění PID file
Line 292: Line 292:
 [Service] [Service]
 Type=forking Type=forking
 +
 +PIDFile=/opt/tomcat/current/temp/tomcat.pid
  
 Environment=JAVA_HOME=/usr/lib/jvm/java-openjdk Environment=JAVA_HOME=/usr/lib/jvm/java-openjdk
Line 396: Line 398:
  
   * Remove unnecessary aplications that comes with Tomcat:   * Remove unnecessary aplications that comes with Tomcat:
 +
 <code bash> <code bash>
 rm -rf /opt/tomcat/current/webapps/{examples,docs,ROOT,host-manager,manager} rm -rf /opt/tomcat/current/webapps/{examples,docs,ROOT,host-manager,manager}
-</code bash>+</code> 
   * Turn off the shutdown port:   * Turn off the shutdown port:
     * In the config file ''/opt/tomcat/current/conf/server.xml'' set value -1 from 8005 to the Server port tag, thus you deactivate it:     * In the config file ''/opt/tomcat/current/conf/server.xml'' set value -1 from 8005 to the Server port tag, thus you deactivate it:
  • by koulaj