Changes between Version 171 and Version 172 of GIS/InstallationGuidelines/Linux


Ignore:
Timestamp:
07/15/13 11:29:09 (8 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIS/InstallationGuidelines/Linux

    v171 v172  
    157157 * [http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html Debian]:
    158158{{{
    159 apt-get install -y sun-java6-jdk tomcat6 libtcnative-1
     159apt-get install -y sun-java6-jdk tomcat7 libtcnative-1
    160160echo 'JAVA_HOME="/usr/lib/jvm/java-6-sun"' >> /etc/environment 
    161161echo 'JRE_HOME="/usr/lib/jvm/java-6-sun/jre"' >> /etc/environment
    162162
    163163# http://docs.geoserver.org/latest/en/user/production/container.html#optimize-your-jvm
    164 vim /etc/default/tomcat6
     164vim /etc/default/tomcat7
    165165JAVA_OPTS="-Djava.awt.headless=true -Xmx256m -Xms48m -XX:MaxPermSize=128m -XX:SoftRefLRUPolicyMSPerMB=36000 -XX:+UseConcMarkSweepGC"
    166166JAVA_OPTS="-Djava.awt.headless=true -Xmx2g -Xms64m -XX:MaxPermSize=128m -XX:SoftRefLRUPolicyMSPerMB=36000 -XX:+UseConcMarkSweepGC"
    167167
    168 vim /etc/init.d/tomcat6
     168vim /etc/init.d/tomcat7
    169169TOMCAT6_SECURITY=no
    170170
    171 vim /etc/tomcat6/server.xml
     171vim /etc/tomcat7/server.xml
    172172# Uncomment these lines (& add the extra options)
    173173<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="off" />
     
    175175<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" emptySessionPath="true" enableLookups="false" maxThreads="256" connectionTimeout="45000" />
    176176
    177 /etc/init.d/tomcat6 restart
     177/etc/init.d/tomcat7 restart
    178178}}}
    179179