Changes between Version 170 and Version 171 of GIS/InstallationGuidelines/Linux
- Timestamp:
- 07/15/13 11:27:33 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GIS/InstallationGuidelines/Linux
v170 v171 235 235 {{{ 236 236 apt-get install unzip 237 wget http://kent.dl.sourceforge.net/project/geoserver/GeoServer/2. 1.3/geoserver-2.1.3-war.zip238 239 cd /var/lib/tomcat 6/webapps240 unzip ~/geoserver-2. 1.3-war.zip241 242 /etc/init.d/tomcat 6restart237 wget http://kent.dl.sourceforge.net/project/geoserver/GeoServer/2.3.3/geoserver-2.3.3-war.zip 238 239 cd /var/lib/tomcat7/webapps 240 unzip ~/geoserver-2.3.3-war.zip 241 242 /etc/init.d/tomcat7 restart 243 243 244 244 # Allow time to decompress the .war 245 /etc/init.d/tomcat 6stop245 /etc/init.d/tomcat7 stop 246 246 # Move the data directory somewhere to allow upgrades to happen easily 247 247 mkdir /var/gis 248 mv /var/lib/tomcat 6/webapps/geoserver/data /var/gis/geoserver_data249 vim /var/lib/tomcat 6/webapps/geoserver/WEB-INF/web.xml248 mv /var/lib/tomcat7/webapps/geoserver/data /var/gis/geoserver_data 249 vim /var/lib/tomcat7/webapps/geoserver/WEB-INF/web.xml 250 250 <!-- Uncomment --> 251 251 <param-name>GEOSERVER_DATA_DIR</param-name> 252 252 <param-value>/var/gis/geoserver_data</param-value> 253 253 254 /etc/init.d/tomcat 6restart254 /etc/init.d/tomcat7 restart 255 255 256 256 vim /etc/iptables.rules … … 263 263 {{{ 264 264 cp *.ttf /usr/lib/jvm/java-6-sun/jre/lib/fonts 265 /etc/init.d/tomcat 6restart265 /etc/init.d/tomcat7 restart 266 266 }}} 267 267 … … 269 269 * http://docs.geoserver.org/latest/en/user/services/wcs/basics.html 270 270 {{{ 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.gz271 wget https://java.net/downloads/imageio-ext/Releases/1.0.5/native-libraries/linux64/imageio-ext-1.0.5-linux64-base-lib.tar.gz 272 272 mkdir -p /usr/local/lib/imageio-ext 273 273 cd /usr/local/lib/imageio-ext 274 274 tar zxvf ~/imageio-ext-1.0.5-linux64-base-lib.tar.gz 275 vim /etc/default/tomcat 6275 vim /etc/default/tomcat7 276 276 LD_LIBRARY_PATH=/usr/local/lib/imageio-ext 277 277 278 278 cd 279 wget http://kent.dl.sourceforge.net/project/geoserver/GeoServer%20Extensions/2. 1.3/geoserver-2.1.3-gdal-plugin.zip280 cd /var/lib/tomcat 6/webapps/geoserver/WEB-INF/lib/281 unzip ~/geoserver-2. 1.3-gdal-plugin.zip279 wget http://kent.dl.sourceforge.net/project/geoserver/GeoServer%20Extensions/2.3.3/geoserver-2.3.3-gdal-plugin.zip 280 cd /var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/ 281 unzip ~/geoserver-2.3.3-gdal-plugin.zip 282 282 /etc/init.d/tomcat6 restart 283 283 }}} 284 Cache of downloadable ( since main site seems to not have this file available currently):284 Cache of downloadable (if main site has issues): 285 285 * http://eden.sahanafoundation.org/raw-attachment/wiki/InstallationGuidelinesGISDataLinux/imageio-ext-1.0.5-linux64-base-lib.tar.gz 286 286 … … 294 294 Upgrades: 295 295 {{{ 296 /etc/init.d/tomcat 6stop297 298 mv /var/lib/tomcat 6/webapps/geoserver ~/geoserver-2.1.1_backup299 300 cd /var/lib/tomcat 6/webapps301 unzip ~/geoserver-2. 1.3-war.zip302 303 /etc/init.d/tomcat 6restart296 /etc/init.d/tomcat7 stop 297 298 mv /var/lib/tomcat7/webapps/geoserver ~/geoserver-2.1.1_backup 299 300 cd /var/lib/tomcat7/webapps 301 unzip ~/geoserver-2.3.3-war.zip 302 303 /etc/init.d/tomcat7 restart 304 304 305 305 # Allow time to decompress the .war 306 /etc/init.d/tomcat 6stop307 vim /var/lib/tomcat 6/webapps/geoserver/WEB-INF/web.xml306 /etc/init.d/tomcat7 stop 307 vim /var/lib/tomcat7/webapps/geoserver/WEB-INF/web.xml 308 308 <!-- Uncomment --> 309 309 <param-name>GEOSERVER_DATA_DIR</param-name> 310 310 <param-value>/var/gis/geoserver_data</param-value> 311 311 312 /etc/init.d/tomcat 6restart312 /etc/init.d/tomcat7 restart 313 313 }}} 314 314 === [http://mapserver.org MapServer] ===