[Geoserver-users] How to install GeoServer on Ubuntu?

Hi
I am looking for documentation on how to install GeoServer 2.0.2 on Ubuntu
10.04. The Linux section over at
http://docs.geoserver.org/stable/en/user/installation/binary/linux.html is
not so informative. I don't have much Linux/Ubuntu experience, so any
documentation or step by step guide would be of great help to me.

Regards,

Magnus
--
View this message in context: http://old.nabble.com/How-to-install-GeoServer-on-Ubuntu--tp30136066p30136066.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

On Thu, Nov 4, 2010 at 4:46 PM, johnrobot <johnrobot@anonymised.com> wrote:

Hi
I am looking for documentation on how to install GeoServer 2.0.2 on Ubuntu
10.04. The Linux section over at
http://docs.geoserver.org/stable/en/user/installation/binary/linux.html is
not so informative. I don't have much Linux/Ubuntu experience, so any
documentation or step by step guide would be of great help to me.

Try http://ian01.geog.psu.edu/geoserver_docs/ which describes how I
went about installing GeoServer on a Fedora 13 machine. I'm an old
school Unix hacker so I don't really understand the differences
between Linux brands so it may or may not apply to how you do things
on an Ubuntu server.

Ian
PS It needs an update as I'm up to 2.1-Beta now but the principals are
the same anyway.
--
Ian Turton

Hi Magnus. What do you mean that page isn't informative? :slight_smile:

I unfortunately don't have an answer (not much of a Linux user) but if someone comes through with a viable installation checklist, I will gladly add it to the docs.

Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.org

On 11/4/2010 4:46 PM, johnrobot wrote:

Hi
I am looking for documentation on how to install GeoServer 2.0.2 on Ubuntu
10.04. The Linux section over at
http://docs.geoserver.org/stable/en/user/installation/binary/linux.html is
not so informative. I don't have much Linux/Ubuntu experience, so any
documentation or step by step guide would be of great help to me.

Regards,

Magnus

The instructions on http://docs.geoserver.org/stable/en/user/installation/binary/osx.html should be applicable for Linux as well. They don’t mention installing Java (since OSX comes with it) but you can just install Java the usual Ubuntu way: https://help.ubuntu.com/community/Java

Sun Java is recommended for performance reasons.

Hope this helps.


David Winslow
OpenGeo - http://opengeo.org/

On Thu, Nov 4, 2010 at 4:55 PM, Mike Pumphrey <mike@anonymised.com> wrote:

Hi Magnus. What do you mean that page isn’t informative? :slight_smile:

I unfortunately don’t have an answer (not much of a Linux user) but if someone comes through with a viable installation checklist, I will gladly add it to the docs.

Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.org

On 11/4/2010 4:46 PM, johnrobot wrote:

Hi
I am looking for documentation on how to install GeoServer 2.0.2 on Ubuntu
10.04. The Linux section over at
http://docs.geoserver.org/stable/en/user/installation/binary/linux.html is
not so informative. I don’t have much Linux/Ubuntu experience, so any
documentation or step by step guide would be of great help to me.

Regards,

Magnus


The Next 800 Companies to Lead America’s Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book “Blueprint to a
Billion” shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

I’ve attached a text file with instructions for the linux installation (they’re marked up a little funny because they are in the source format used to generate the manual). They’re adapted from the OSX installation instructions, but untested. If you want to give them a spin and report back on how they work, it’d be appreciated. Once these have been verified we can update the online manual to include this information.


David Winslow
OpenGeo - http://opengeo.org/

On Thu, Nov 4, 2010 at 5:07 PM, David Winslow <dwinslow@anonymised.com> wrote:

The instructions on http://docs.geoserver.org/stable/en/user/installation/binary/osx.html should be applicable for Linux as well. They don’t mention installing Java (since OSX comes with it) but you can just install Java the usual Ubuntu way: https://help.ubuntu.com/community/Java

Sun Java is recommended for performance reasons.

Hope this helps.


David Winslow
OpenGeo - http://opengeo.org/

On Thu, Nov 4, 2010 at 4:55 PM, Mike Pumphrey <mike@anonymised.com> wrote:

Hi Magnus. What do you mean that page isn’t informative? :slight_smile:

I unfortunately don’t have an answer (not much of a Linux user) but if someone comes through with a viable installation checklist, I will gladly add it to the docs.

Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.org

On 11/4/2010 4:46 PM, johnrobot wrote:

Hi
I am looking for documentation on how to install GeoServer 2.0.2 on Ubuntu
10.04. The Linux section over at
http://docs.geoserver.org/stable/en/user/installation/binary/linux.html is
not so informative. I don’t have much Linux/Ubuntu experience, so any
documentation or step by step guide would be of great help to me.

Regards,

Magnus


The Next 800 Companies to Lead America’s Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book “Blueprint to a
Billion” shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

linux.rst (2.29 KB)

OK,

her is the way I did it months ago:
----
geoServer
    apt-get install sun-java6-jdk sun-java6-fonts
    unzip geoserver-2.0.1-bin.zip -d geoserver
    apt-get install tomcat6 tomcat6-admin
    edit /etc/tomcat6/tomcat-users.xml and add propriate users
    some more helps here: http://grimmeister.wordpress.com/2008/07/28/revisiting-geoserver-on-ubuntu/
    add in: /etc/tomcat6/policy.d/04webapps.policy at the end:
      permission java.security.AllPermission;
    edit: /usr/share/tomcat6/bin/setclasspath.sh and add near the first line:
      CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/data/geoserver_data"
-----
Go to http://localhost:8080/ (resp. your servername) and deploy the geoserver-XXX.war

Worked for me

Greetings from Vienna, Austria

Wolfgang

-----Original Message-----
From: Mike Pumphrey [mailto:mike@anonymised.com]
Sent: Thursday, November 04, 2010 9:55 PM
To: johnrobot
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] How to install GeoServer on Ubuntu?

Hi Magnus. What do you mean that page isn't informative? :slight_smile:

I unfortunately don't have an answer (not much of a Linux user) but if someone comes through with a viable installation checklist, I will gladly add it to the docs.

Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.org

On 11/4/2010 4:46 PM, johnrobot wrote:

Hi
I am looking for documentation on how to install GeoServer 2.0.2 on Ubuntu
10.04. The Linux section over at
http://docs.geoserver.org/stable/en/user/installation/binary/linux.html is
not so informative. I don't have much Linux/Ubuntu experience, so any
documentation or step by step guide would be of great help to me.

Regards,

Magnus

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Additionally , Lennart denoted an init script

http://docs.geoserver.org/stable/en/user/production/linuxscript.html

Quoting johnrobot <johnrobot@anonymised.com>:

Hi
I am looking for documentation on how to install GeoServer 2.0.2 on Ubuntu
10.04. The Linux section over at
http://docs.geoserver.org/stable/en/user/installation/binary/linux.html is
not so informative. I don't have much Linux/Ubuntu experience, so any
documentation or step by step guide would be of great help to me.

Regards,

Magnus
--
View this message in context: http://old.nabble.com/How-to-install-GeoServer-on-Ubuntu--tp30136066p30136066.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Hi,

I had my first try couple of weeks ago with Geoserver 2.1 beta1 and Jetty and the hardest part was to get sun-java installed on the new Ubuntu 10.04 virtual server. The link below helped me but I had to do one additional installation before successful Java installation. Unfortunaly I do not remember any more what it was, propably I was prompted to install something with sudo apt-get.

http://www.ubuntugeek.com/how-install-sun-java-runtime-environment-jre-in-ubuntu-10-04-lucid-lynx.html#more-5267

The main thing was that "apt-get install sun-java6-jdk sun-java6-fonts" does not work out-of-the-box and in the thread there are instructions about what to do

"after adding the new repo you need to update the apt database, i.e.
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts"

Other link I used was
http://sites.google.com/site/jukkahellen/preparingubuntuforgeoserver

What I still miss is advice on how to keep Geoserver running on the virtual server after closing the remote SSH console. Perhaps it is to use "nohup" in some place.

-Jukka Rahkonen-

Wolfgang Wasserburger wrote:
Lähetetty: pe 5.11.2010 3:13
Vastaanottaja: 'Mike Pumphrey'; 'johnrobot'
Kopio: geoserver-users@lists.sourceforge.net
Aihe: Re: [Geoserver-users] How to install GeoServer on Ubuntu?

OK,

her is the way I did it months ago:
----
geoServer
    apt-get install sun-java6-jdk sun-java6-fonts
    unzip geoserver-2.0.1-bin.zip -d geoserver
    apt-get install tomcat6 tomcat6-admin
    edit /etc/tomcat6/tomcat-users.xml and add propriate users
    some more helps here: http://grimmeister.wordpress.com/2008/07/28/revisiting-geoserver-on-ubuntu/
    add in: /etc/tomcat6/policy.d/04webapps.policy at the end:
      permission java.security.AllPermission;
    edit: /usr/share/tomcat6/bin/setclasspath.sh and add near the first line:
      CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/data/geoserver_data"
-----
Go to http://localhost:8080/ (resp. your servername) and deploy the geoserver-XXX.war

Worked for me

Greetings from Vienna, Austria

Wolfgang

-----Original Message-----
From: Mike Pumphrey [mailto:mike@anonymised.com]
Sent: Thursday, November 04, 2010 9:55 PM
To: johnrobot
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] How to install GeoServer on Ubuntu?

Hi Magnus. What do you mean that page isn't informative? :slight_smile:

I unfortunately don't have an answer (not much of a Linux user) but if someone comes through with a viable installation checklist, I will gladly add it to the docs.

Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.org

On 11/4/2010 4:46 PM, johnrobot wrote:

Hi
I am looking for documentation on how to install GeoServer 2.0.2 on Ubuntu
10.04. The Linux section over at
http://docs.geoserver.org/stable/en/user/installation/binary/linux.html is
not so informative. I don't have much Linux/Ubuntu experience, so any
documentation or step by step guide would be of great help to me.

Regards,

Magnus

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users