Changes between Version 224 and Version 225 of GIS/InstallationGuidelines/Linux
- Timestamp:
- 06/13/16 13:33:44 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GIS/InstallationGuidelines/Linux
v224 v225 233 233 unzip ~/geoserver-2.9.0-war.zip 234 234 235 /etc/init.d/tomcat 7restart235 /etc/init.d/tomcat8 restart 236 236 237 237 # Allow time to decompress the .war 238 /etc/init.d/tomcat 7stop238 /etc/init.d/tomcat8 stop 239 239 # Move the data directory somewhere to allow upgrades to happen easily 240 240 mkdir /var/gis 241 mv /var/lib/tomcat 7/webapps/geoserver/data /var/gis/geoserver_data242 vim /var/lib/tomcat 7/webapps/geoserver/WEB-INF/web.xml241 mv /var/lib/tomcat8/webapps/geoserver/data /var/gis/geoserver_data 242 vim /var/lib/tomcat8/webapps/geoserver/WEB-INF/web.xml 243 243 <!-- Uncomment --> 244 244 <param-name>GEOSERVER_DATA_DIR</param-name> 245 245 <param-value>/var/gis/geoserver_data</param-value> 246 246 247 /etc/init.d/tomcat 7restart247 /etc/init.d/tomcat8 restart 248 248 249 249 vim /etc/iptables.rules … … 257 257 cd /tmp 258 258 wget http://kent.dl.sourceforge.net/project/geoserver/GeoServer%20Extensions/2.9.0/geoserver-2.9.0-css-plugin.zip 259 cd /var/lib/tomcat 7/webapps/geoserver/WEB-INF/lib/259 cd /var/lib/tomcat8/webapps/geoserver/WEB-INF/lib/ 260 260 unzip /tmp/geoserver-2.9.0-css-plugin.zip 261 /etc/init.d/tomcat 7restart261 /etc/init.d/tomcat8 restart 262 262 }}} 263 263 … … 265 265 {{{ 266 266 cp *.ttf /usr/lib/jvm/java-6-sun/jre/lib/fonts 267 /etc/init.d/tomcat 7restart267 /etc/init.d/tomcat8 restart 268 268 }}} 269 269 … … 276 276 cd /usr/local/lib/imageio-ext 277 277 tar zxvf /tmp/imageio-ext-1.0.5-linux64-base-lib.tar.gz 278 vim /etc/default/tomcat 7278 vim /etc/default/tomcat8 279 279 LD_LIBRARY_PATH=/usr/local/lib/imageio-ext 280 280 281 281 cd /tmp 282 282 wget http://kent.dl.sourceforge.net/project/geoserver/GeoServer%20Extensions/2.9.0/geoserver-2.9.0-gdal-plugin.zip 283 cd /var/lib/tomcat 7/webapps/geoserver/WEB-INF/lib/283 cd /var/lib/tomcat8/webapps/geoserver/WEB-INF/lib/ 284 284 unzip /tmp/geoserver-2.9.0-gdal-plugin.zip 285 /etc/init.d/tomcat 7restart285 /etc/init.d/tomcat8 restart 286 286 }}} 287 287 Cache of downloadable (if main site has issues): … … 300 300 Upgrades: 301 301 {{{ 302 /etc/init.d/tomcat 7stop303 304 mv /var/lib/tomcat 7/webapps/geoserver ~/geoserver-2.5.1_backup305 306 cd /var/lib/tomcat 7/webapps302 /etc/init.d/tomcat8 stop 303 304 mv /var/lib/tomcat8/webapps/geoserver ~/geoserver-2.5.1_backup 305 306 cd /var/lib/tomcat8/webapps 307 307 unzip ~/geoserver-2.9.0-war.zip 308 308 309 /etc/init.d/tomcat 7restart309 /etc/init.d/tomcat8 restart 310 310 311 311 # Allow time to decompress the .war 312 /etc/init.d/tomcat 7stop313 vim /var/lib/tomcat 7/webapps/geoserver/WEB-INF/web.xml312 /etc/init.d/tomcat8 stop 313 vim /var/lib/tomcat8/webapps/geoserver/WEB-INF/web.xml 314 314 <!-- Uncomment --> 315 315 <param-name>GEOSERVER_DATA_DIR</param-name> 316 316 <param-value>/var/gis/geoserver_data</param-value> 317 317 318 /etc/init.d/tomcat 7restart318 /etc/init.d/tomcat8 restart 319 319 }}} 320 320 === [http://mapserver.org MapServer] ===