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