Changes between Version 224 and Version 225 of GIS/InstallationGuidelines/Linux


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

--

Legend:

Unmodified
Added
Removed
Modified
  • GIS/InstallationGuidelines/Linux

    v224 v225  
    233233unzip ~/geoserver-2.9.0-war.zip
    234234
    235 /etc/init.d/tomcat7 restart
     235/etc/init.d/tomcat8 restart
    236236
    237237# Allow time to decompress the .war
    238 /etc/init.d/tomcat7 stop
     238/etc/init.d/tomcat8 stop
    239239# Move the data directory somewhere to allow upgrades to happen easily
    240240mkdir /var/gis
    241 mv /var/lib/tomcat7/webapps/geoserver/data /var/gis/geoserver_data
    242 vim /var/lib/tomcat7/webapps/geoserver/WEB-INF/web.xml
     241mv /var/lib/tomcat8/webapps/geoserver/data /var/gis/geoserver_data
     242vim /var/lib/tomcat8/webapps/geoserver/WEB-INF/web.xml
    243243<!-- Uncomment -->
    244244<param-name>GEOSERVER_DATA_DIR</param-name>
    245245<param-value>/var/gis/geoserver_data</param-value>
    246246
    247 /etc/init.d/tomcat7 restart
     247/etc/init.d/tomcat8 restart
    248248
    249249vim /etc/iptables.rules
     
    257257cd /tmp
    258258wget http://kent.dl.sourceforge.net/project/geoserver/GeoServer%20Extensions/2.9.0/geoserver-2.9.0-css-plugin.zip
    259 cd /var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/
     259cd /var/lib/tomcat8/webapps/geoserver/WEB-INF/lib/
    260260unzip /tmp/geoserver-2.9.0-css-plugin.zip
    261 /etc/init.d/tomcat7 restart
     261/etc/init.d/tomcat8 restart
    262262}}}
    263263
     
    265265{{{
    266266cp *.ttf /usr/lib/jvm/java-6-sun/jre/lib/fonts
    267 /etc/init.d/tomcat7 restart
     267/etc/init.d/tomcat8 restart
    268268}}}
    269269
     
    276276cd /usr/local/lib/imageio-ext
    277277tar zxvf /tmp/imageio-ext-1.0.5-linux64-base-lib.tar.gz
    278 vim /etc/default/tomcat7
     278vim /etc/default/tomcat8
    279279LD_LIBRARY_PATH=/usr/local/lib/imageio-ext
    280280
    281281cd /tmp
    282282wget http://kent.dl.sourceforge.net/project/geoserver/GeoServer%20Extensions/2.9.0/geoserver-2.9.0-gdal-plugin.zip
    283 cd /var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/
     283cd /var/lib/tomcat8/webapps/geoserver/WEB-INF/lib/
    284284unzip /tmp/geoserver-2.9.0-gdal-plugin.zip
    285 /etc/init.d/tomcat7 restart
     285/etc/init.d/tomcat8 restart
    286286}}}
    287287Cache of downloadable (if main site has issues):
     
    300300Upgrades:
    301301{{{
    302 /etc/init.d/tomcat7 stop
    303 
    304 mv /var/lib/tomcat7/webapps/geoserver ~/geoserver-2.5.1_backup
    305 
    306 cd /var/lib/tomcat7/webapps
     302/etc/init.d/tomcat8 stop
     303
     304mv /var/lib/tomcat8/webapps/geoserver ~/geoserver-2.5.1_backup
     305
     306cd /var/lib/tomcat8/webapps
    307307unzip ~/geoserver-2.9.0-war.zip
    308308
    309 /etc/init.d/tomcat7 restart
     309/etc/init.d/tomcat8 restart
    310310
    311311# Allow time to decompress the .war
    312 /etc/init.d/tomcat7 stop
    313 vim /var/lib/tomcat7/webapps/geoserver/WEB-INF/web.xml
     312/etc/init.d/tomcat8 stop
     313vim /var/lib/tomcat8/webapps/geoserver/WEB-INF/web.xml
    314314<!-- Uncomment -->
    315315<param-name>GEOSERVER_DATA_DIR</param-name>
    316316<param-value>/var/gis/geoserver_data</param-value>
    317317
    318 /etc/init.d/tomcat7 restart
     318/etc/init.d/tomcat8 restart
    319319}}}
    320320=== [http://mapserver.org MapServer] ===