Changes between Version 220 and Version 221 of GIS/InstallationGuidelines/Linux


Ignore:
Timestamp:
06/13/16 13:28:15 (5 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIS/InstallationGuidelines/Linux

    v220 v221  
    125125[http://tomcat.apache.org Tomcat] is the recommended way to deploy Java applications:
    126126{{{
    127 apt-get install -y tomcat7 libtcnative-1
     127apt-get install -y tomcat8 libtcnative-1
    128128
    129129# http://docs.geoserver.org/latest/en/user/production/container.html#optimize-your-jvm
    130130# Select appropriate value based on your available RAM
    131 vim /etc/default/tomcat7
     131vim /etc/default/tomcat8
    132132JAVA_HOME=/usr/lib/jvm/java-sun
    133133JAVA_OPTS="-Djava.awt.headless=true -Xmx256m -Xms48m -XX:MaxPermSize=128m -XX:SoftRefLRUPolicyMSPerMB=36000 -XX:+UseConcMarkSweepGC"
     
    135135
    136136# Should be set already:
    137 #vim /etc/init.d/tomcat7
    138 #TOMCAT7_SECURITY=no
     137#vim /etc/init.d/tomcat8
     138#TOMCAT8_SECURITY=no
    139139
    140140# Modify logging
    141 vim /etc/tomcat7/server.xml
     141vim /etc/tomcat8/server.xml
    142142<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
    143143               ...
     
    145145               rotatable="false" />
    146146
    147 vim /etc/logrotate.d/tomcat7
    148 /var/log/tomcat7/catalina.out /var/log/tomcat7/localhost_access_log..txt {
     147vim /etc/logrotate.d/tomcat8
     148/var/log/tomcat8/catalina.out /var/log/tomcat7/localhost_access_log..txt {
    149149  copytruncate
    150150  daily
     
    155155}
    156156
    157 /etc/init.d/tomcat7 restart
     157/etc/init.d/tomcat8 restart
    158158}}}
    159159