From dd8383e87f5fd561918a65fbf9eee43679f3b503 Mon Sep 17 00:00:00 2001 From: Kaimbacher Date: Thu, 30 Jun 2022 15:29:11 +0000 Subject: [PATCH] Update 'Install_GeoNetwork' --- Install_GeoNetwork.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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