From 7c5d75d602fcb5e74646f1612a30d33bfc89c72c Mon Sep 17 00:00:00 2001 From: Kaimbacher Date: Thu, 30 Jun 2022 15:35:12 +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 47e3fe2..1c2fe1b 100644 --- a/Install_GeoNetwork.md +++ b/Install_GeoNetwork.md @@ -12,7 +12,7 @@ https://next.agrarforschung.at/index.php/s/wAPmRtsY5waLGYb/download?path=%2F&fil `sudo systemctl restart jetty9.service` ## 2. GeoNetwork Configuration -### Define DB connection: +### Define DB connection `sudo nano /opt/tomcat/webapps/geonetwork/WEB-INF/config-db/jdbc.properties` ``` jdbc.username=#{systemEnvironment['GEONETWORK_DB_USERNAME']?:'gn_app'} @@ -28,3 +28,11 @@ activate postgresql-postgis and deactivate h2: ``` + +### Define tmp directory for file caching +`sudo nano /opt/tomcat/webapps/geonetwork/WEB-INF/classes/cache/cache.ccf` \ +add the following path: +``` +jcs.auxiliary.DC.attributes.DiskPath=${java.io.tmpdir}/jcs_caching + +``` \ No newline at end of file