Hi all,
An installation without X would be nice indeed.
Running 'java -jar gast/gast.jar -setup' still requires X. Moreover, it
fails miserably when config.xml is configured to use another DB (in my
case MySQL). It tries to use the McKoi credentials to authenticate with
MySQL DB.
One can create the tables using the sql script in gast/setup/sql/ but the
tables need to be subsequently filled with initial data, and that requires
GAST.
I suppose that the freshly set-up/filled database could be dumped
(mysqldump for MySQL) and then used to populate the initial data instead
of using GAST on subsequent headless install.
A problem with this would be the Settings table, which contains the siteID
which is unique to each install, I suppose. Does GAST generate that id?
Also, having configured GN 2.1 for MySQL, I am unable to populate the DB
with the sample data using GAST (without the -setup switch). It gives
"You need to authenticate" error as described by Christian earlier.
Does anyone have a solution for this?
I have installed GN 2.1 on Ubuntu 7.04 with Java 1.5 JDK, MySQL and
Tomcat5.
I made a script that does the install on a fresh Ubuntu 7.04. It installs
Java, MySQL and Tomcat 5 and configures them also.
If anyone wishes to try it, here it is:
http://atlas.mems.uwindsor.ca/public/geonetwork_21.html
Paul
"Pēteris Brūns" <peteris.bruns@anonymised.com>
Sent by: geonetwork-users-bounces@lists.sourceforge.net
2007-10-22 08:29 AM
To
geonetwork-users@lists.sourceforge.net
cc
Subject
Re: [GeoNetwork-users] Geonetwork 2.1.0 installation without X
Thanks Andrea and Francois about gstat at eve I'll try to test it.
Maybe is some documentation or someone have experience to install
GeoNetwork
on headless mode?! On my desktop machine with debian is ok to install with
GUI but server is headless and I'm sceptic to move geonetwork dir as was
recommended because server is running on other distribution.
Thanks!
pb
On 22/10/2007, Andrea Carboni <acarboni@anonymised.com> wrote:
GAST has a command line option to do the setup:
java -jar gast/gast.jar -setup
At the end of the process it shows a dialog asking if it has to install
sample metadata.
I did not try this command in headless mode. Maybe the first phase (the
real installation)
could work.
Cheers,
Andrea
> Hello Peteris, regarding your first question, you have to use GAST to
set up a new database.
> Check the manual under directory docs\manuals for more info about
GAST.
>
> For the second question, I'm not sure, any ideas? You could do the
installation on a machine and then move the GeoNetwork dir to another
(checking db connection)...
>
> HTH. Francois
>
> -----Message d'origine-----
> De : geonetwork-users-bounces@lists.sourceforge.net [mailto:
geonetwork-users-bounces@lists.sourceforge.net] De la part de Peteris
Bruns
> Envoyé : dimanche 21 octobre 2007 12:29
> ? : geonetwork-users@lists.sourceforge.net
> Objet : [GeoNetwork-users] Geonetwork 2.1.0 installation without X
>
> Hello!
>
> I'm installing geonetwork 2.1.0 on debian etch, with postgresql
> 8.2.5database, to run with tomcat5 and apache2.
> As installation example I used
>
http://geonetwork-opensource.org/documentation/how-to/installation-on-ubuntu(it
> is for
> 2.0.3)
>
> In installation process missed steps where I can define database
parameters
> etc.
> 1.How can I define this parameters?! Is it possible to define it after
> geonetwork installation?!
>
> 2.Is it possible to install geonetwork without graphical installer, in
shell
> (for example on server without X)?!
> As root in shell i get:
>
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> Exception in thread "main" java.lang.InternalError: Can't connect to
X11
> window
> server using ':0.0' as the value of the DISPLAY variable.
> etc...
>
> Thanks!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork