Configure GeoNetwork with postgreSQL

المشرف العام

Administrator
طاقم الإدارة
For testing purposes, I deployed geonetwork 3.0.1 on tomcat7 and ubuntu 14.04 with default configuration, especially h2 database.

Now I wanted to switch to postgres and followed the instructions found on several sources, e.g. here:

I edited the file /WEB-INF/config-node/srv.xml, enabling the line

After that, I created a postgresql user and database 'geonetwork' in postgresql.

Then I changed the default database password in /WEB-INF/config-db/jdbc.properties with the information from the created database and database user and restarted tomcat.

I read here that after configuring this information and starting geonetwork, there would be run sql scripts automatically to initialize database structure for geonetwork.

I cannot find anything changed from my setup with the h2 database before. When I access localhost:8080/geonetwork, there are still layer information that I created in h2 database before. I would guess they would not be transferred.

How can I check, if I successfully started geonetwork with the underlying postgres database?



أكثر...
 
أعلى