[Live-demo] Re: Getting GeoNetwork on the Live DVD being handed out at the FOSS4G conference

Ricardo Pinho rpinho_eng at yahoo.com.br
Sun Sep 6 01:51:01 PDT 2009


Hi Simon,

And thank you!
I've just SVN commit to the trunk! (and put your name on it!)
https://svn.osgeo.org/osgeo/livedvd/gisvm/trunk/bin/

> 1. If looking to reduce footprint then don't install geoserver

Let it be there for the time being! It' the official installation...
We could probably make a install_geoserver_light.sh...  ;-)


> 2. Advise people to change system config to port 8880

Yes, thats a big problem!
I've tried, two months ago, to install Geoserver on Tomcat and PostgreSQL. But didn't had time and skills to conclude it.
http://gisvm.com/forum/index.php?topic=47.0

I think installing Geoserver over tomcat can be a smarter solution for this VM!
Could you please help me on this?


> 3. cp jetty.xml $GEONETWORK_FOLDER/bin

Of course, my mistake! (the problem of doing things at 1:00AM after a working day!)


> Finally, I assume the choice of /usr/lib for install is because you are using a VM image for all this stuff?
> ...
> but this is really just me being a UNIX purist (offends my dignity even though this is a VM :-))

LOL...

I'm just trying to follow the rules made for this project:
http://wiki.osgeo.org/wiki/GISVM_Build#Directory_Structure

I really never understood where to put things on linux!!!
As a windows purist, I prefer to put all the stuff on the Desktop... heheh, just joking!
Well, as long as it works, it's alright for me (and for the user)!

Cheers,
Ricardo Pinho
http://gisvm.com



----- Mensagem original ----
De: "Simon.Pigot at csiro.au" <Simon.Pigot at csiro.au>
Para: Simon.Pigot at csiro.au; rpinho_eng at yahoo.com.br; live-demo at lists.osgeo.org
Cc: byron.cochrane at nzdf.mil.nz; cameron.shorter at lisasoft.com
Enviadas: Sábado, 5 de Setembro de 2009 16:53:14
Assunto: RE: Getting GeoNetwork on the Live DVD being handed out at the FOSS4G conference

Hi Ricardo,

Attached are desktop properties files that will start & stop the geonetwork server and crank up firefox (which I'm assuming is on your VM image) with GN open in it and a modified installer script to get these things and put them in the right place.

Works locally here - however this took a lot longer than it should have since there was a Ubuntu bug which caused the desktop icons to fail intermittently if you requested a Terminal to see the output....grrrr

Cheers,
Simon
_______________________________________
From: Pigot, Simon (CMAR, Hobart)
Sent: Sunday, 6 September 2009 12:04 AM
To: Ricardo Pinho; live-demo at lists.osgeo.org
Cc: byron.cochrane at nzdf.mil.nz; Cameron Shorter
Subject: RE: Getting GeoNetwork on the Live DVD being handed out at the FOSS4G conference

Hi Ricardo,

Looks good. Yes admin/admin is default GN admin user and password. A few things I'd change maybe:

1. If looking to reduce footprint then don't install geoserver (remove <pack index="2"> from <selected> element in  <com.izforge.izpack.panels.PacksPanel> element in install.xml) - GN still functions without it (brings in web map stuff from demis.nl etc instead of using the bluemarble stuff from its own geoserver).
2. Advise people to change system config to port 8880 (Administration->System Configuration menu) after they start GN up otherwise GN will build incorrect URLs for things like file downloads using its default port of 8080.
3. cp jetty.xml $GEONETWORK_FOLDER/bin
needs to be added to the install_geonetwork.sh script to make sure that the installed GN starts up on port 8880 rather than 8080.

Finally, I assume the choice of /usr/lib for install is because you are using a VM image for all this stuff? Even so, its not really the place that I'd go looking for 3rd party software (why not /usr/local?) but this is really just me being a UNIX purist (offends my dignity even though this is a VM :-)) - but this doesn't really matter :-)

Cheers, thanks and good work!
Simon


________________________________________
From: Ricardo Pinho [rpinho_eng at yahoo.com.br]
Sent: Saturday, 5 September 2009 6:23 PM
To: Pigot, Simon (CMAR, Hobart); live-demo at lists.osgeo.org
Cc: byron.cochrane at nzdf.mil.nz; Cameron Shorter
Subject: Re: Getting GeoNetwork on the Live DVD being handed out at the FOSS4G conference

Hi Simon,

I've made a first draft of a "install_geonetwork.sh"
https://svn.osgeo.org/osgeo/livedvd/gisvm/trunk/bin/


Along with some config files:
https://svn.osgeo.org/osgeo/livedvd/gisvm/trunk/geonetwork-conf/

This is based on Geonetwork official install jar application.
So it uses Jetty, Geoserver and McKoy.
I haven't change the heap memory on the start_geoserver.sh
(java -Xms48m -Xmx512m -Xss2M -XX:MaxPermSize=128m)
But we can eventually change  it.

The script still lacks creating a Desktop/Menu start/stop link/icon so users can easily start/stop geonetwork.

Please give it a look and help us improve the install script and test it.
I'm not a geonetwork user... :-(

And please confirm this:
The default geonetwork user is:
login = admin
passw = admin

Cheers,
Ricardo Pinho
http://gisvm.com



----- Mensagem original ----
De: Cameron Shorter <cameron.shorter at lisasoft.com>
Para: "Simon.Pigot at csiro.au" <Simon.Pigot at csiro.au>
Cc: "byron.cochrane at nzdf.mil.nz" <byron.cochrane at nzdf.mil.nz>; "rpinho_eng at yahoo.com.br" <rpinho_eng at yahoo.com.br>
Enviadas: Sexta-feira, 4 de Setembro de 2009 8:40:26
Assunto: Re: Getting GeoNetwork on the Live DVD being handed out at the FOSS4G conference

Simon,
As the LiveDVD is memory poor, we aim to have applications set up one at
a time.
I didn't realise that GeoNetwork also includes GeoServer. That would
likely be the reason it uses up more memory.

Ricardo, I'm interested to know how much memory is being used.

Richardo should be able to tell is the details.

Simon.Pigot at csiro.au wrote:
> Hi Cameron and Ricardo,
>
> Happy to help - let me know what you need.
>
> Just a point of clarification Cameron: I assume the problem 'with footprint' is the fact that GN is using Jetty and everything else is using Tomcat? Or would you like to remove the Geoserver part of GeoNetwork as well?
>
> Cheers,
> Simon
> ________________________________________
> From: Cameron Shorter [cameron.shorter at lisasoft.com]
> Sent: Friday, 4 September 2009 3:10 PM
> To: Byron Cochrane
> Cc: Pigot, Simon (CMAR, Hobart); Ricardo Pinho
> Subject: Getting GeoNetwork on the Live DVD being handed out at the FOSS4G conference
>
> Simon, Byron, (Geonetwork coding wizards)
>
> We are putting together a Xubuntu based Live DVD which will be handed
> out to all delegates at the upcoming Free and Open Source Software for
> Geopatial conference, coming to Sydney in October. http://2009.foss4g.org
>
> So far, we have a full stack of most of the key Open Source Geospatial
> applications on the LiveDVD, and Ricardo has made a brave crack at
> getting GeoNetwork onto the LiveDVD, but is asking for help. (Ricardo is
> more a GIS user than a programmer)
>
> The process for getting an application onto the LiveDVD is to write a
> shell install script, as per:
> http://wiki.osgeo.org/wiki/GISVM_Build
>
> I understand that Ricardo has this mostly working, but needs some help,
> in particular in trying to reduce the footprint of GeoNetwork so that it
> can run on the memory restricted virtual machine or LiveDVD.
>
> Ricardo should be able to provide more details about where his script
> is, and what help he is looking for.
>
> Byron, Simon,
> Is it ok if Ricardo can ask you questions, and if you could review his
> install script which I understand he will be putting into svn within the
> next 24 hours.
> https://svn.osgeo.org/osgeo/livedvd/gisvm/trunk/bin/
>
> --
> Cameron Shorter
> Geospatial Systems Architect
> Tel: +61 (0)2 8570 5050
> Mob: +61 (0)419 142 254
>
> Think Globally, Fix Locally
> Geospatial Solutions enhanced with Open Standards and Open Source
> http://www.lisasoft.com
>
>


--
Cameron Shorter
Geospatial Systems Architect
Tel: +61 (0)2 8570 5050
Mob: +61 (0)419 142 254

Think Globally, Fix Locally
Geospatial Solutions enhanced with Open Standards and Open Source
http://www.lisasoft.com


      ____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com



      ____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com



More information about the Osgeolive mailing list