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


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

--

Legend:

Unmodified
Added
Removed
Modified
  • GIS/InstallationGuidelines/Linux

    v170 v171  
    235235{{{
    236236apt-get install unzip
    237 wget http://kent.dl.sourceforge.net/project/geoserver/GeoServer/2.1.3/geoserver-2.1.3-war.zip
    238 
    239 cd /var/lib/tomcat6/webapps
    240 unzip ~/geoserver-2.1.3-war.zip
    241 
    242 /etc/init.d/tomcat6 restart
     237wget http://kent.dl.sourceforge.net/project/geoserver/GeoServer/2.3.3/geoserver-2.3.3-war.zip
     238
     239cd /var/lib/tomcat7/webapps
     240unzip ~/geoserver-2.3.3-war.zip
     241
     242/etc/init.d/tomcat7 restart
    243243
    244244# Allow time to decompress the .war
    245 /etc/init.d/tomcat6 stop
     245/etc/init.d/tomcat7 stop
    246246# Move the data directory somewhere to allow upgrades to happen easily
    247247mkdir /var/gis
    248 mv /var/lib/tomcat6/webapps/geoserver/data /var/gis/geoserver_data
    249 vim /var/lib/tomcat6/webapps/geoserver/WEB-INF/web.xml
     248mv /var/lib/tomcat7/webapps/geoserver/data /var/gis/geoserver_data
     249vim /var/lib/tomcat7/webapps/geoserver/WEB-INF/web.xml
    250250<!-- Uncomment -->
    251251<param-name>GEOSERVER_DATA_DIR</param-name>
    252252<param-value>/var/gis/geoserver_data</param-value>
    253253
    254 /etc/init.d/tomcat6 restart
     254/etc/init.d/tomcat7 restart
    255255
    256256vim /etc/iptables.rules
     
    263263{{{
    264264cp *.ttf /usr/lib/jvm/java-6-sun/jre/lib/fonts
    265 /etc/init.d/tomcat6 restart
     265/etc/init.d/tomcat7 restart
    266266}}}
    267267
     
    269269 * http://docs.geoserver.org/latest/en/user/services/wcs/basics.html
    270270{{{
    271 wget http://java.net/projects/imageio-ext/downloads/download/Releases/1.0.8/native_libraries/linux64/imageio-ext-1.0.5-linux64-base-lib.tar.gz
     271wget https://java.net/downloads/imageio-ext/Releases/1.0.5/native-libraries/linux64/imageio-ext-1.0.5-linux64-base-lib.tar.gz
    272272mkdir -p /usr/local/lib/imageio-ext
    273273cd /usr/local/lib/imageio-ext
    274274tar zxvf ~/imageio-ext-1.0.5-linux64-base-lib.tar.gz
    275 vim /etc/default/tomcat6
     275vim /etc/default/tomcat7
    276276LD_LIBRARY_PATH=/usr/local/lib/imageio-ext
    277277
    278278cd
    279 wget http://kent.dl.sourceforge.net/project/geoserver/GeoServer%20Extensions/2.1.3/geoserver-2.1.3-gdal-plugin.zip
    280 cd /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/
    281 unzip ~/geoserver-2.1.3-gdal-plugin.zip
     279wget http://kent.dl.sourceforge.net/project/geoserver/GeoServer%20Extensions/2.3.3/geoserver-2.3.3-gdal-plugin.zip
     280cd /var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/
     281unzip ~/geoserver-2.3.3-gdal-plugin.zip
    282282/etc/init.d/tomcat6 restart
    283283}}}
    284 Cache of downloadable (since main site seems to not have this file available currently):
     284Cache of downloadable (if main site has issues):
    285285 * http://eden.sahanafoundation.org/raw-attachment/wiki/InstallationGuidelinesGISDataLinux/imageio-ext-1.0.5-linux64-base-lib.tar.gz
    286286
     
    294294Upgrades:
    295295{{{
    296 /etc/init.d/tomcat6 stop
    297 
    298 mv /var/lib/tomcat6/webapps/geoserver ~/geoserver-2.1.1_backup
    299 
    300 cd /var/lib/tomcat6/webapps
    301 unzip ~/geoserver-2.1.3-war.zip
    302 
    303 /etc/init.d/tomcat6 restart
     296/etc/init.d/tomcat7 stop
     297
     298mv /var/lib/tomcat7/webapps/geoserver ~/geoserver-2.1.1_backup
     299
     300cd /var/lib/tomcat7/webapps
     301unzip ~/geoserver-2.3.3-war.zip
     302
     303/etc/init.d/tomcat7 restart
    304304
    305305# Allow time to decompress the .war
    306 /etc/init.d/tomcat6 stop
    307 vim /var/lib/tomcat6/webapps/geoserver/WEB-INF/web.xml
     306/etc/init.d/tomcat7 stop
     307vim /var/lib/tomcat7/webapps/geoserver/WEB-INF/web.xml
    308308<!-- Uncomment -->
    309309<param-name>GEOSERVER_DATA_DIR</param-name>
    310310<param-value>/var/gis/geoserver_data</param-value>
    311311
    312 /etc/init.d/tomcat6 restart
     312/etc/init.d/tomcat7 restart
    313313}}}
    314314=== [http://mapserver.org MapServer] ===