Changes between Version 131 and Version 132 of GIS/InstallationGuidelines/Linux
- Timestamp:
- 05/01/11 23:45:21 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GIS/InstallationGuidelines/Linux
v131 v132 207 207 /etc/init.d/tomcat6 restart 208 208 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 212 mkdir /var/gis 213 mv /var/lib/tomcat6/webapps/geoserver/data /var/gis/geoserver_data 214 vim /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 209 221 vim /etc/iptables.rules 210 222 -A INPUT -p tcp --dport 8080 -j ACCEPT … … 231 243 http://geo.host.domain:8080/geoserver 232 244 233 or234 {{{235 wget http://downloads.sourceforge.net/project/geoserver/GeoServer/2.0.2/geoserver-2.0.2-bin.zip236 cd /usr/local237 unzip ~/geoserver-2.0.2-bin.zip238 ln -sf /usr/local/geoserver-2.0.2 /usr/local/geoserver239 240 vim /etc/profile241 GEOSERVER_HOME=/usr/local/geoserver242 export GEOSERVER_HOME243 244 vim /etc/rc.local245 /usr/local/geoserver/bin/startup.sh &246 247 vim /etc/iptables.rules248 -A INPUT -p tcp --dport 8080 -j ACCEPT249 250 reboot251 }}}252 http://geo.host.domain:8080/geoserver253 254 245 Configure: 255 246 * [wiki:UserGuidelinesGISData#GeoServer] 256 247 * [http://docs.geoserver.org/stable/en/user/production/index.html Production Performance] 257 248 249 Upgrades: 250 {{{ 251 /etc/init.d/tomcat6 stop 252 253 mv /var/lib/tomcat6/webapps/geoserver ~/geoserver-2.1-RC4_backup 254 255 cd /var/lib/tomcat6/webapps 256 unzip ~/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 262 vim /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 }}} 258 269 === [http://mapserver.org MapServer] === 259 270 * [http://www.tinyows.org TinyOWS] can complement this for WFS-T