Update 'Install_GeoNetwork'
parent
dd8383e87f
commit
d492d944aa
|
@ -1,4 +1,4 @@
|
||||||
## GeoNetwork Installation
|
## 1. GeoNetwork Installation
|
||||||
|
|
||||||
Download zip package including the WAR file:
|
Download zip package including the WAR file:
|
||||||
https://next.agrarforschung.at/index.php/s/wAPmRtsY5waLGYb/download?path=%2F&files=geonetwork-enterprise-2022.2.zip
|
https://next.agrarforschung.at/index.php/s/wAPmRtsY5waLGYb/download?path=%2F&files=geonetwork-enterprise-2022.2.zip
|
||||||
|
@ -11,8 +11,8 @@ https://next.agrarforschung.at/index.php/s/wAPmRtsY5waLGYb/download?path=%2F&fil
|
||||||
`sudo -u jetty cp geonetwork.war /opt/webbase/webapps/` \
|
`sudo -u jetty cp geonetwork.war /opt/webbase/webapps/` \
|
||||||
`sudo systemctl restart jetty9.service`
|
`sudo systemctl restart jetty9.service`
|
||||||
|
|
||||||
## GeoNetwork Configuration
|
## 2. GeoNetwork Configuration
|
||||||
### define DB connection:
|
### Define DB connection:
|
||||||
`sudo nano /opt/tomcat/webapps/geonetwork/WEB-INF/config-db/jdbc.properties`
|
`sudo nano /opt/tomcat/webapps/geonetwork/WEB-INF/config-db/jdbc.properties`
|
||||||
```
|
```
|
||||||
jdbc.username=#{systemEnvironment['GEONETWORK_DB_USERNAME']?:'gn_app'}
|
jdbc.username=#{systemEnvironment['GEONETWORK_DB_USERNAME']?:'gn_app'}
|
||||||
|
@ -20,4 +20,11 @@ jdbc.password=#{systemEnvironment['GEONETWORK_DB_PASSWORD']?:'gn_app007'}
|
||||||
jdbc.database=#{systemEnvironment['GEONETWORK_DB_NAME']?:'gn_db'}
|
jdbc.database=#{systemEnvironment['GEONETWORK_DB_NAME']?:'gn_db'}
|
||||||
jdbc.host=#{systemEnvironment['GEONETWORK_DB_HOST']?:'localhost'}
|
jdbc.host=#{systemEnvironment['GEONETWORK_DB_HOST']?:'localhost'}
|
||||||
jdbc.port=#{systemEnvironment['GEONETWORK_DB_PORT']?:'5432'}
|
jdbc.port=#{systemEnvironment['GEONETWORK_DB_PORT']?:'5432'}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
`sudo nano /opt/tomcat_gn4/webapps/geonetwork/WEB-INF/config-node/srv.xml` \
|
||||||
|
activate postgresql-postgis and deactivate h2:
|
||||||
|
``` html
|
||||||
|
<import resource="../config-db/postgres-postgis.xml"/>
|
||||||
|
<!-- <import resource="../config-db/${geonetwork.db.type:h2}.xml"/> -->
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user