Update 'Install_GeoNetwork'

Kaimbacher 2022-06-30 15:38:45 +00:00
parent 2d9ca02073
commit 7069637630

@ -13,10 +13,10 @@ https://next.agrarforschung.at/index.php/s/wAPmRtsY5waLGYb/download?path=%2F&fil
## 2. GeoNetwork Configuration ## 2. GeoNetwork Configuration
### Define DB connection ### Define DB connection
`sudo nano /opt/tomcat/webapps/geonetwork/WEB-INF/config-db/jdbc.properties` `sudo nano /opt/webbase/work/jetty-0_0_0_0-8080-geonetwork_war-_geonetwork-any-/webapp/WEB-INF/config-db/jdbc.properties`
``` ```
jdbc.username=#{systemEnvironment['GEONETWORK_DB_USERNAME']?:'gn_app'} jdbc.username=#{systemEnvironment['GEONETWORK_DB_USERNAME']?:'gn_app'}
jdbc.password=#{systemEnvironment['GEONETWORK_DB_PASSWORD']?:'gn_app007'} jdbc.password=#{systemEnvironment['GEONETWORK_DB_PASSWORD']?:'xxx'}
jdbc.database=#{systemEnvironment['GEONETWORK_DB_NAME']?:'gn_db'} jdbc.database=#{systemEnvironment['GEONETWORK_DB_NAME']?:'gn_db'}
jdbc.host=#{systemEnvironment['GEONETWORK_DB_HOST']?:'localhost'} jdbc.host=#{systemEnvironment['GEONETWORK_DB_HOST']?:'localhost'}
jdbc.port=#{systemEnvironment['GEONETWORK_DB_PORT']?:'5432'} jdbc.port=#{systemEnvironment['GEONETWORK_DB_PORT']?:'5432'}