[GeoNetwork-users] Commandline installation without GUI

Hi there,

I'm just trying to install GeoNetwork 2.2.0 on a Debian box without X. I
think all requirements are met, but I'm having trouble with the
commandline installer. According to the manual, you have to do somthing like

java -jar geonetwork-install-2.2.0.jar install.xml

but the result is a file not found exception (first I thought this file
would be created during installation). Unfortunately I don't know what
to write in or where to get it. Any hints? Thanks!

Regards,
Dietmar

Hi Dietmar,
First do a local install with GUI and make sure you save the installation script at the end of the process. You can then edit that script in a text editor and use it exactly the way you described below.
Ciao,
Jeroen

On Jul 9, 2008, at 6:47 PM, Dietmar Fleischhauer wrote:

Hi there,

I'm just trying to install GeoNetwork 2.2.0 on a Debian box without X. I
think all requirements are met, but I'm having trouble with the
commandline installer. According to the manual, you have to do somthing like

java -jar geonetwork-install-2.2.0.jar install.xml

but the result is a file not found exception (first I thought this file
would be created during installation). Unfortunately I don't know what
to write in or where to get it. Any hints? Thanks!

Regards,
Dietmar

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at GeoNetwork - Geographic Metadata Catalog download | SourceForge.net

Hi Jeroen,

that step worked fine, thanks a lot! Is there also one or more xml files
for the database configuration generated with the gast frontend?

Greets,
Dietmar

Jeroen Ticheler schrieb:

Hi Dietmar,
First do a local install with GUI and make sure you save the
installation script at the end of the process. You can then edit that
script in a text editor and use it exactly the way you described below.
Ciao,
Jeroen

On Jul 9, 2008, at 6:47 PM, Dietmar Fleischhauer wrote:

Hi there,

I'm just trying to install GeoNetwork 2.2.0 on a Debian box without X. I
think all requirements are met, but I'm having trouble with the
commandline installer. According to the manual, you have to do
somthing like

java -jar geonetwork-install-2.2.0.jar install.xml

but the result is a file not found exception (first I thought this file
would be created during installation). Unfortunately I don't know what
to write in or where to get it. Any hints? Thanks!

Regards,
Dietmar

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
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

Hi Dietmar,
No, the database configuration is all handled by GAST for those databases supported. The only thing you need to do first is create the database schema and user.
Ciao,
Jeroen

On Jul 10, 2008, at 3:18 PM, Dietmar Fleischhauer wrote:

Hi Jeroen,

that step worked fine, thanks a lot! Is there also one or more xml files
for the database configuration generated with the gast frontend?

Greets,
Dietmar

Jeroen Ticheler schrieb:

Hi Dietmar,
First do a local install with GUI and make sure you save the
installation script at the end of the process. You can then edit that
script in a text editor and use it exactly the way you described below.
Ciao,
Jeroen

On Jul 9, 2008, at 6:47 PM, Dietmar Fleischhauer wrote:

Hi there,

I'm just trying to install GeoNetwork 2.2.0 on a Debian box without X. I
think all requirements are met, but I'm having trouble with the
commandline installer. According to the manual, you have to do
somthing like

java -jar geonetwork-install-2.2.0.jar install.xml

but the result is a file not found exception (first I thought this file
would be created during installation). Unfortunately I don't know what
to write in or where to get it. Any hints? Thanks!

Regards,
Dietmar

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at
GeoNetwork - Geographic Metadata Catalog download | SourceForge.net

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at GeoNetwork - Geographic Metadata Catalog download | SourceForge.net

Hi again,

sorry, maybe my question was a bit misleading. The reason for it has
been the lack of X support on my Debian target system (and there won't
be any ;-). Following your advice, I have made an auxiliary installation
on my Linux desktop in order to create the install.xml needed for the
commandline installation on my non-graphics server. That worked just
fine, but (how) can I transfer the gast-made database configuration from
my desktop to the server? Or are there some config files I could edit
manually?

Bye,
Dietmar

Jeroen Ticheler schrieb:

Hi Dietmar,
No, the database configuration is all handled by GAST for those
databases supported. The only thing you need to do first is create the
database schema and user.
Ciao,
Jeroen

On Jul 10, 2008, at 3:18 PM, Dietmar Fleischhauer wrote:

Hi Jeroen,

that step worked fine, thanks a lot! Is there also one or more xml files
for the database configuration generated with the gast frontend?

Greets,
Dietmar

Jeroen Ticheler schrieb:

Hi Dietmar,
First do a local install with GUI and make sure you save the
installation script at the end of the process. You can then edit that
script in a text editor and use it exactly the way you described below.
Ciao,
Jeroen

On Jul 9, 2008, at 6:47 PM, Dietmar Fleischhauer wrote:

Hi there,

I'm just trying to install GeoNetwork 2.2.0 on a Debian box without
X. I
think all requirements are met, but I'm having trouble with the
commandline installer. According to the manual, you have to do
somthing like

java -jar geonetwork-install-2.2.0.jar install.xml

but the result is a file not found exception (first I thought this file
would be created during installation). Unfortunately I don't know what
to write in or where to get it. Any hints? Thanks!

Regards,
Dietmar

Hi,
Just do the default installation with the embedded DB also remotely. Than, once installed and tested, change the database using GAST from your local system but pointing to the remote database and GN instance.
Ciao,
Jeroen

On Jul 10, 2008, at 5:10 PM, Dietmar Fleischhauer wrote:

Hi again,

sorry, maybe my question was a bit misleading. The reason for it has
been the lack of X support on my Debian target system (and there won't
be any ;-). Following your advice, I have made an auxiliary installation
on my Linux desktop in order to create the install.xml needed for the
commandline installation on my non-graphics server. That worked just
fine, but (how) can I transfer the gast-made database configuration from
my desktop to the server? Or are there some config files I could edit
manually?

Bye,
Dietmar

Jeroen Ticheler schrieb:

Hi Dietmar,
No, the database configuration is all handled by GAST for those
databases supported. The only thing you need to do first is create the
database schema and user.
Ciao,
Jeroen

On Jul 10, 2008, at 3:18 PM, Dietmar Fleischhauer wrote:

Hi Jeroen,

that step worked fine, thanks a lot! Is there also one or more xml files
for the database configuration generated with the gast frontend?

Greets,
Dietmar

Jeroen Ticheler schrieb:

Hi Dietmar,
First do a local install with GUI and make sure you save the
installation script at the end of the process. You can then edit that
script in a text editor and use it exactly the way you described below.
Ciao,
Jeroen

On Jul 9, 2008, at 6:47 PM, Dietmar Fleischhauer wrote:

Hi there,

I'm just trying to install GeoNetwork 2.2.0 on a Debian box without
X. I
think all requirements are met, but I'm having trouble with the
commandline installer. According to the manual, you have to do
somthing like

java -jar geonetwork-install-2.2.0.jar install.xml

but the result is a file not found exception (first I thought this file
would be created during installation). Unfortunately I don't know what
to write in or where to get it. Any hints? Thanks!

Regards,
Dietmar

Hi Jeroen,

ah, I'm getting it at last :wink: It worked well, thank you very much.
In the long term it would be a nice feature to have the possibility for
a mere local installation process via commandline. Remote
configururation can be rather annoying when you have to let someone else
(e.g. your hosting provider) fumble around with the firewall settings in
order to give access for a remote database client.

Greets,
Dietmar

Jeroen Ticheler schrieb:

Hi,
Just do the default installation with the embedded DB also remotely.
Than, once installed and tested, change the database using GAST from
your local system but pointing to the remote database and GN instance.
Ciao,
Jeroen

On Jul 10, 2008, at 5:10 PM, Dietmar Fleischhauer wrote:

Hi again,

sorry, maybe my question was a bit misleading. The reason for it has
been the lack of X support on my Debian target system (and there won't
be any ;-). Following your advice, I have made an auxiliary installation
on my Linux desktop in order to create the install.xml needed for the
commandline installation on my non-graphics server. That worked just
fine, but (how) can I transfer the gast-made database configuration from
my desktop to the server? Or are there some config files I could edit
manually?

Bye,
Dietmar

Jeroen Ticheler schrieb:

Hi Dietmar,
No, the database configuration is all handled by GAST for those
databases supported. The only thing you need to do first is create the
database schema and user.
Ciao,
Jeroen

On Jul 10, 2008, at 3:18 PM, Dietmar Fleischhauer wrote:

Hi Jeroen,

that step worked fine, thanks a lot! Is there also one or more xml
files
for the database configuration generated with the gast frontend?

Greets,
Dietmar

Jeroen Ticheler schrieb:

Hi Dietmar,
First do a local install with GUI and make sure you save the
installation script at the end of the process. You can then edit that
script in a text editor and use it exactly the way you described
below.
Ciao,
Jeroen

On Jul 9, 2008, at 6:47 PM, Dietmar Fleischhauer wrote:

Hi there,

I'm just trying to install GeoNetwork 2.2.0 on a Debian box without
X. I
think all requirements are met, but I'm having trouble with the
commandline installer. According to the manual, you have to do
somthing like

java -jar geonetwork-install-2.2.0.jar install.xml

but the result is a file not found exception (first I thought this
file
would be created during installation). Unfortunately I don't know
what
to write in or where to get it. Any hints? Thanks!

Regards,
Dietmar