How to install Geoserver on cPanel

cPanel 7.3.2015 No Comments

Download URL
http://geoserver.org/download/

http://ares.boundlessgeo.com/geoserver/2.4.x/geoserver-2.4.x-latest-bin.zip

unzip geoserver-2.0.2-bin.zip
cp –R geoserver-2.0.2 /usr/local/geoserver
find / -name jre
export JAVA_HOME=/usr/lib/jvm/jre/
cd /usr/local/geoserver/bin
./startup.sh

cd /usr/local/tomcat/apache-tomcat-7.0.47/bin
./shutdown.sh
./startup.sh

http://serverip:8080/geoserver

export JAVA_HOME=/usr/lib/jvm/jre/
export GEOSERVER_HOME=/usr/local/geoserver/
/usr/local/geoserver/bin/startup.sh &
Now you need to add a user to /usr/local/tomcat/apache-tomcat-7.0.47/conf/tomcat-users.xml

The following file defines a user “admin” with password “geoserver:

<?xml version=’1.0′ encoding=’utf-8′?>
<tomcat-users>
<role rolename=”manager”/>
<user username=”admin” password=”geoserver” roles=”manager”/>
</tomcat-users>

cd /usr/local/tomcat/apache-tomcat-7.0.47/bin
./shutdown.sh
./startup.sh

by-

eLite Server Management

We Specialize In cPanel Server Management
Affordable 24/7 Technical Support Company

Leave a Reply