Установка GeoServer

13 March 2013

Install Oracle Java

	
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java7-installer

Install Tomcat7

$ sudo apt-get install tomcat7

if tomcat write: “no JDK found - please set JAVA_HOME”

$ sudo vim  /etc/default/tomcat7
JAVA_HOME=/usr/lib/jvm/java-7-oracle

look at http://localhost:8080/

Install GeoServer

$ mkdir geoserver_src
$ cd geoserver_srv
$ wget http://downloads.sourceforge.net/geoserver/geoserver-2.2.5-war.zip
$ unzip geoserver-2.2.5-war.zip
$ sudo cp geoserver.war /var/lib/tomcat7/webapps

test : http://localhost:8080/geoserver/web/ user : admin pass : geoserver

Теги

Навигация

Комментарии

blog comments powered by Disqus