Update 'Install_GeoNetwork'

Kaimbacher 2022-06-30 15:29:11 +00:00
parent 6fc5ee384c
commit dd8383e87f

@ -12,4 +12,12 @@ https://next.agrarforschung.at/index.php/s/wAPmRtsY5waLGYb/download?path=%2F&fil
`sudo systemctl restart jetty9.service` `sudo systemctl restart jetty9.service`
## GeoNetwork Configuration ## GeoNetwork Configuration
### define DB connection:
`sudo nano /opt/tomcat/webapps/geonetwork/WEB-INF/config-db/jdbc.properties`
```
jdbc.username=#{systemEnvironment['GEONETWORK_DB_USERNAME']?:'gn_app'}
jdbc.password=#{systemEnvironment['GEONETWORK_DB_PASSWORD']?:'gn_app007'}
jdbc.database=#{systemEnvironment['GEONETWORK_DB_NAME']?:'gn_db'}
jdbc.host=#{systemEnvironment['GEONETWORK_DB_HOST']?:'localhost'}
jdbc.port=#{systemEnvironment['GEONETWORK_DB_PORT']?:'5432'}
```