Changes between Version 131 and Version 132 of GIS/InstallationGuidelines/Linux


Ignore:
Timestamp:
05/01/11 23:45:21 (11 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIS/InstallationGuidelines/Linux

    v131 v132  
    207207/etc/init.d/tomcat6 restart
    208208
     209# Allow time to decompress the .war
     210/etc/init.d/tomcat6 stop
     211# Move the data directory somewhere to allow upgrades to happen easily
     212mkdir /var/gis
     213mv /var/lib/tomcat6/webapps/geoserver/data /var/gis/geoserver_data
     214vim /var/lib/tomcat6/webapps/geoserver/WEB-INF/web.xml
     215<!-- Uncomment -->
     216<param-name>GEOSERVER_DATA_DIR</param-name>
     217<param-value>/var/gis/geoserver_data</param-value>
     218
     219/etc/init.d/tomcat6 restart
     220
    209221vim /etc/iptables.rules
    210222-A INPUT -p tcp --dport 8080 -j ACCEPT
     
    231243http://geo.host.domain:8080/geoserver
    232244
    233 or
    234 {{{
    235 wget http://downloads.sourceforge.net/project/geoserver/GeoServer/2.0.2/geoserver-2.0.2-bin.zip
    236 cd /usr/local
    237 unzip ~/geoserver-2.0.2-bin.zip
    238 ln -sf /usr/local/geoserver-2.0.2 /usr/local/geoserver
    239 
    240 vim /etc/profile
    241 GEOSERVER_HOME=/usr/local/geoserver
    242 export GEOSERVER_HOME
    243 
    244 vim /etc/rc.local
    245 /usr/local/geoserver/bin/startup.sh &
    246 
    247 vim /etc/iptables.rules
    248 -A INPUT -p tcp --dport 8080 -j ACCEPT
    249 
    250 reboot
    251 }}}
    252 http://geo.host.domain:8080/geoserver
    253 
    254245Configure:
    255246 * [wiki:UserGuidelinesGISData#GeoServer]
    256247 * [http://docs.geoserver.org/stable/en/user/production/index.html Production Performance]
    257248   
     249Upgrades:
     250{{{
     251/etc/init.d/tomcat6 stop
     252
     253mv /var/lib/tomcat6/webapps/geoserver ~/geoserver-2.1-RC4_backup
     254
     255cd /var/lib/tomcat6/webapps
     256unzip ~/geoserver-2.1-RC5-war.zip
     257
     258/etc/init.d/tomcat6 restart
     259
     260# Allow time to decompress the .war
     261/etc/init.d/tomcat6 stop
     262vim /var/lib/tomcat6/webapps/geoserver/WEB-INF/web.xml
     263<!-- Uncomment -->
     264<param-name>GEOSERVER_DATA_DIR</param-name>
     265<param-value>/var/gis/geoserver_data</param-value>
     266
     267/etc/init.d/tomcat6 restart
     268}}}
    258269=== [http://mapserver.org MapServer] ===
    259270 * [http://www.tinyows.org TinyOWS] can complement this for WFS-T