diff --git a/Install_GeoNetwork.md b/Install_GeoNetwork.md index 6d32999..bb2bf45 100644 --- a/Install_GeoNetwork.md +++ b/Install_GeoNetwork.md @@ -12,4 +12,12 @@ https://next.agrarforschung.at/index.php/s/wAPmRtsY5waLGYb/download?path=%2F&fil `sudo systemctl restart jetty9.service` ## 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'} +``` \ No newline at end of file