Vorleak Chy's Blog
Installing GeoServer on Ubuntu
Recently, I install GeoServer 1.7.6 on Ubuntu 9.04. I would like to share some information with everybody what I have configured on my local PC.
As far as I follow the installation instruction of GeoServer documentation for Linux I get the error message “The JAVA_HOME environment variable is not defined
This environment variable is needed to run this program” when I try to startup server by typing “sudo sh startup.sh”. It means that it doesn’t find the default path for JAVA_HOME so you need to setup.
Setting up JAVA_HOME you need to lookup the Java program path in your PC. In my local PC is “/usr/lib/jvm/java-6-sun”.
Finally you also setup GEOSERVER_HOME is where GeoServer folder stores on your local PC.
Anyway you can copy the codes below to startup.sh, shutdown.sh files in /geoserver/bin folder, put on the top and replace the path.
JAVA_HOME="/usr/lib/jvm/java-6-sun"; GEOSERVER_HOME="/home/administrator/software/geoserver";
Subscribe-
Search-
Tags-
Categories-
Recent Comments-
- Using UUID as Primary Key in Ruby on Rails Thanks @Chamnap, I have...
- Using UUID as Primary Key in Ruby on Rails Not working. You need to...
- Installing GeoServer on Ubuntu Thanks for that! You saved me a lot...
- Change background color of TextBox or ComboBox in Windows Forms Hi....
- SQL Server 2005 Update Trigger Effect Multiple Rows Its really helpful...
- Copyright 2010 Vorleak Chy's Blog. All Rights Reserved. Powered by Wordpress | Theme designed by Chris Murphy
- Back To Top
- Home


Leave a Comment-