[Live-demo] Re: install location

Cameron Shorter cameron.shorter at lisasoft.com
Sat Sep 5 16:37:48 EDT 2009


Thanks, excellent GeoNetwork feedback Simon.

Re install location. Thanks for your unix purist input, I've been 
looking for guidelines on where to install things on the liveDVD/GISVM, 
which has been listed here:

http://wiki.osgeo.org/wiki/GISVM_Build#Directory_Structure

We see our build scripts as the first steps toward building a .deb file 
for the DebianGIS and UbuntuGIS projects. And I assume that once in 
those projects, files should be installed into /usr/lib instead of 
/usr/local.
Are the directory guidelines in the wiki above logical from a purist 
point of view?

Simon.Pigot at csiro.au wrote:
> 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
>   


-- 
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



More information about the Live-demo mailing list