annotate doc/INSTALL_DE @ 7812:195233a91e04

Added apache example config, updated install doku.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 07 Mar 2014 16:28:23 +0100
parents 472ff9ea5708
children 242e790fb4ee
rev   line source
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
1 ===============================================================================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
2 Installation Dive4Elements-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
3 ===============================================================================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
4
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
5 Diese Anleitung geht davon aus, dass ein Benutzer 'd4euser' existiert, der
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
6 angemeldet ist und mit dem die Schritte der Installation durchgeführt werden.
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
7
7776
b972c7e1bfbe INSTALL_DE: mention tested system and simplify dependency installation.
Tom Gottfried <tom@intevation.de>
parents: 7769
diff changeset
8 Die Installationsanleitung wurde mit Debian wheezy getestet. Die Versionen
b972c7e1bfbe INSTALL_DE: mention tested system and simplify dependency installation.
Tom Gottfried <tom@intevation.de>
parents: 7769
diff changeset
9 der im nächsten Schritt installierten Pakete waren zu diesem Zeitpunkt:
b972c7e1bfbe INSTALL_DE: mention tested system and simplify dependency installation.
Tom Gottfried <tom@intevation.de>
parents: 7769
diff changeset
10 _ openjdk-7-jdk 7u25-2.3.10-1~deb7u1
b972c7e1bfbe INSTALL_DE: mention tested system and simplify dependency installation.
Tom Gottfried <tom@intevation.de>
parents: 7769
diff changeset
11 _ tomcat6 6.0.35-6+deb7u1
b972c7e1bfbe INSTALL_DE: mention tested system and simplify dependency installation.
Tom Gottfried <tom@intevation.de>
parents: 7769
diff changeset
12 _ postgresql-9.1-postgis 1.5.3-2
b972c7e1bfbe INSTALL_DE: mention tested system and simplify dependency installation.
Tom Gottfried <tom@intevation.de>
parents: 7769
diff changeset
13 _ apache2 2.2.22-13+deb7u1
b972c7e1bfbe INSTALL_DE: mention tested system and simplify dependency installation.
Tom Gottfried <tom@intevation.de>
parents: 7769
diff changeset
14 _ cgi-mapserver 6.0.1-3.2+deb7u2
b972c7e1bfbe INSTALL_DE: mention tested system and simplify dependency installation.
Tom Gottfried <tom@intevation.de>
parents: 7769
diff changeset
15 _ ttf-freefont 20120503-1
b972c7e1bfbe INSTALL_DE: mention tested system and simplify dependency installation.
Tom Gottfried <tom@intevation.de>
parents: 7769
diff changeset
16 Für die Installation aus den Quellen:
b972c7e1bfbe INSTALL_DE: mention tested system and simplify dependency installation.
Tom Gottfried <tom@intevation.de>
parents: 7769
diff changeset
17 _ maven2 2.2.1-12
b972c7e1bfbe INSTALL_DE: mention tested system and simplify dependency installation.
Tom Gottfried <tom@intevation.de>
parents: 7769
diff changeset
18 _ mercurial 2.2.2-3
b972c7e1bfbe INSTALL_DE: mention tested system and simplify dependency installation.
Tom Gottfried <tom@intevation.de>
parents: 7769
diff changeset
19 _ subversion 1.6.17dfsg-4+deb7u4
b972c7e1bfbe INSTALL_DE: mention tested system and simplify dependency installation.
Tom Gottfried <tom@intevation.de>
parents: 7769
diff changeset
20 _ build-essential 11.5
7812
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
21 _ libapache2-mod-jk 1.2.37-1
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
22
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
23 Erforderliche Pakete zum Installieren von D4E-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
24 ===================================================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
25 $ su root
7784
9cefe1ab5b10 INSTALL_DE: install Java 7 prior to tomcat to avoid Java 6 installation.
Tom Gottfried <tom@intevation.de>
parents: 7783
diff changeset
26 $ apt-get install openjdk-7-jdk
9cefe1ab5b10 INSTALL_DE: install Java 7 prior to tomcat to avoid Java 6 installation.
Tom Gottfried <tom@intevation.de>
parents: 7783
diff changeset
27 $ apt-get install tomcat6 postgresql-9.1-postgis \
7812
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
28 apache2 cgi-mapserver ttf-freefont libapache2-mod-jk
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
29
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
30
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
31 Benutzer und Verzeichnis für die Serverkomponente anlegen
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
32 =========================================================
7803
472ff9ea5708 INSTALL_DE: use useradd with defaults.
Tom Gottfried <tom@intevation.de>
parents: 7802
diff changeset
33 $ useradd -D d4e
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
34 $ cd /opt/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
35 $ mkdir d4e-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
36 $ chown d4e d4e-river/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
37
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
38
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
39 Benutzer und Gruppe für das Logging anlegen
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
40 ===========================================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
41 $ groupadd d4e_log
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
42 $ usermod -a -G d4e_log d4e
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
43 $ usermod -a -G d4e_log tomcat6
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
44 $ usermod -a -G d4e_log www-data
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
45
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
46
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
47 Anlegen des Logging Verzeichnisses
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
48 ==================================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
49 $ mkdir /var/log/d4e-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
50 $ chgrp d4e_log /var/log/d4e-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
51 $ chmod 775 /var/log/d4e-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
52 $ exit
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
53
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
54
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
55 Installation von D4E-river aus Binärpaket
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
56 =========================================
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
57
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
58 Entpacken des Dive4Elements-river Installer-Pakets
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
59 --------------------------------------------------
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
60 $ tar -xzf d4e-river.tar.gz
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
61 @TODO: eventuell anpassen
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
62
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
63 Erfolgt die Installation von D4E-river aus den Binärpaketen, können die
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
64 folgenden Schritte übersprungen werden.
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
65 Die weiteren Schritte sind ab dem Abschnitt 'Backenddatenbanken'
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
66 beschrieben.
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
67
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
68
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
69 Installation von D4E-river aus den Quellen
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
70 ==========================================
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
71
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
72 Pakete zum Bauen von D4E-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
73 ------------------------------
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
74 $ su root
7776
b972c7e1bfbe INSTALL_DE: mention tested system and simplify dependency installation.
Tom Gottfried <tom@intevation.de>
parents: 7769
diff changeset
75 $ apt-get install maven2 mercurial
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
76
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
77
7785
b1dfc7934e9d INSTALL_DE: we don't want links to internalt sites and to build WSPLGEN
Tom Gottfried <tom@intevation.de>
parents: 7784
diff changeset
78 Installation der Intevationszertifikate für den Checkout von Wald
b1dfc7934e9d INSTALL_DE: we don't want links to internalt sites and to build WSPLGEN
Tom Gottfried <tom@intevation.de>
parents: 7784
diff changeset
79 -----------------------------------------------------------------
b1dfc7934e9d INSTALL_DE: we don't want links to internalt sites and to build WSPLGEN
Tom Gottfried <tom@intevation.de>
parents: 7784
diff changeset
80 Installation der Serverzertifikate von Intevation
b1dfc7934e9d INSTALL_DE: we don't want links to internalt sites and to build WSPLGEN
Tom Gottfried <tom@intevation.de>
parents: 7784
diff changeset
81 (siehe auch https://ssl.intevation.de)
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
82
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
83 $ apt-get install ca-certificates curl gnutls-bin
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
84 $ curl https://ssl.intevation.de/Intevation-Root-CA-2010.crt | \
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
85 certtool -i | awk '/^-----BEGIN CERTIFICATE-----$/ , 0' > \
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
86 /usr/local/share/ca-certificates/Intevation-Root-CA-2010.crt
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
87 $ update-ca-certificates
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
88
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
89 #. Mercurial beibringen die Zertifikate zu nutzen:
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
90 # hierzu kann beispielsweise die Systemweite mercurial Konfiguration
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
91 # editiert werden, z.B. mit dem Editor nano:
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
92 $ nano /etc/mercurial/hgrc
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
93
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
94 # Folgendes einfügen (siehe https://intranet.intevation.de/Mercurial#https)
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
95 [web]
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
96 cacerts = /etc/ssl/certs/ca-certificates.crt
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
97
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
98 $ exit # d4euser werden
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
99
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
100
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
101 Checkout der D4E-Quellen
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
102 ------------------------
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
103 $ mkdir d4e-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
104 $ cd d4e-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
105 $ hg clone https://scm.wald.intevation.org/hg/dive4elements/framework/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
106 $ hg clone https://scm.wald.intevation.org/hg/dive4elements/http-client/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
107 $ hg clone https://scm.wald.intevation.org/hg/dive4elements/river/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
108
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
109
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
110 Anpassen der Clientkonfiguration
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
111 --------------------------------
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
112 $ cd river/gwt-client/src/main/webapp/WEB-INF/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
113
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
114 #. Mapfishprint config.yaml anpassen
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
115
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
116 $ nano config.yaml
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
117
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
118 Folgenden Eintrag im Abschnitt 'the list of allowed hosts' hinzufügen
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
119 (darauf achten, dass die Einrückung mit den bestehenden Einträgen übereinstimmt):
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
120
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
121 - !dnsMatch
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
122 host: yourhost # Hier den Hostnamen verwenden auf dem der MapServer läuft.
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
123 port: 8081 # Den entsprechenden Port eintragen.
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
124
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
125
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
126 Anpassen der Serverkonfiguration
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
127 --------------------------------
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
128 $ cd ~/d4e-river/river/artifacts/doc/conf/
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
129
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
130 #. Pfad zu den DGMs anpassen:
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
131 $ nano conf.xml
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
132 <dgm-path>/opt/d4e-river/dgm/</dgm-path>
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
133
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
134 #. Einstellen der WMS Urls
7781
be4b37839015 INSTALL_DE: remove obsolete server configuration.
Tom Gottfried <tom@intevation.de>
parents: 7779
diff changeset
135 # Anstatt yourhost:8081 in rivermap.xml und floodmap.xml den korrekten
be4b37839015 INSTALL_DE: remove obsolete server configuration.
Tom Gottfried <tom@intevation.de>
parents: 7779
diff changeset
136 # Host eintragen auf dem der MapServer läuft
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
137
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
138
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
139 Konfigurieren des Logging
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
140 -------------------------
7783
e55119cbdc19 Useful server-logging for demo installation.
Tom Gottfried <tom@intevation.de>
parents: 7782
diff changeset
141 # Anpassungen des Loggings können für den Client in
e55119cbdc19 Useful server-logging for demo installation.
Tom Gottfried <tom@intevation.de>
parents: 7782
diff changeset
142 # river/gwt-client/src/main/webapp/WEB-INF/log4j.properties
e55119cbdc19 Useful server-logging for demo installation.
Tom Gottfried <tom@intevation.de>
parents: 7782
diff changeset
143 # und für den Server in river/artifacts/doc/conf/log4j.properties
e55119cbdc19 Useful server-logging for demo installation.
Tom Gottfried <tom@intevation.de>
parents: 7782
diff changeset
144 # vorgenommen werden
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
145
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
146
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
147 Bauen der Server- und Clientkomponenten
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
148 ---------------------------------------
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
149 $ cd ~/d4e-river/framework
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
150 $ mvn install
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
151 $ cd ../http-client/
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
152 $ mvn install
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
153 $ cd ../river/backend/
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
154 $ mvn install
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
155 $ cd ../artifacts/
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
156 $ mvn package dependency:copy-dependencies
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
157 $ cd ../gwt-client/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
158 $ curl -O http://openlayers.org/download/OpenLayers-2.11.tar.gz
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
159 $ tar xvfz OpenLayers-2.11.tar.gz
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
160 $ mv OpenLayers-2.11 src/main/webapp/
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
161 $ mvn package
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
162
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
163
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
164 Kopieren der Serverkomponenten
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
165 ------------------------------
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
166 $ su root
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
167 $ su d4e
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
168 $ cd /opt/d4e-river/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
169 $ mkdir -p bin/lib
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
170 $ cp /home/d4euser/d4e-river/river/artifacts/target/river-artifacts-1.0-SNAPSHOT.jar bin/lib/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
171 $ cp /home/d4euser/d4e-river/river/artifacts/target/dependency/* bin/lib/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
172 $ mkdir conf
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
173 $ cp -R /home/d4euser/d4e-river/river/artifacts/doc/conf/* conf/
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
174
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
175
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
176 Artefaktdatenbank erstellen
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
177 ===========================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
178 $ /home/d4euser/d4e-river/river/contrib/make_flys_release/h2/createArtifacts.sh \
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
179 /home/d4euser/d4e-river/framework/artifact-database/doc/schema-h2.sql
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
180
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
181
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
182 Datenkorbdatenbank erstellen
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
183 ============================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
184 $ /home/d4euser/d4e-river/river/contrib/make_flys_release/h2/createDatacage.sh \
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
185 /home/d4euser/d4e-river/river/artifacts/doc/conf/datacage.sql
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
186 $ exit
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
187
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
188
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
189 Backenddatenbanken (Fachdatenbank und Seddb)
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
190 ============================================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
191
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
192 Anlegen und befüllen der Datenbanken
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
193 ------------------------------------
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
194 #. Einspielen des Schemas für die Backenddatenbank
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
195 $ su postgres
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
196 $ cd /home/d4euser/d4e-river/river/backend/doc/schema/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
197 $ ./postgresql-setup.sh d4e . localhost
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
198
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
199 #. Einspielen der Daten in die erstellte DB
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
200 # Demodaten von www.dive4elements.org herunterladen und entpacken
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
201 $ psql -d d4e -f /home/d4euser/d4e-river/demodaten/d4e_demodata.dump.sql
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
202
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
203 #. Erstellen der SedDB
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
204 $ createuser -S -D -R seddb
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
205 $ createdb seddb
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
206 $ psql -c "ALTER USER seddb WITH PASSWORD 'seddb';"
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
207 $ psql -U seddb -h localhost -f /home/d4euser/d4e-river/demodaten/seddb_demodata.dump.sql
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
208
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
209 #. wieder root werden
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
210 $ exit
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
211
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
212
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
213 Kopieren der DGMs
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
214 =================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
215 $ su d4e
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
216 $ mkdir /opt/d4e-river/dgm
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
217 $ cp /home/d4euser/d4e-river/demodaten/dem* /opt/d4e-river/dgm
7797
f9637e6ecf6d Use latest WSPLGEN binary.
Tom Gottfried <tom@intevation.de>
parents: 7788
diff changeset
218 $ exit
f9637e6ecf6d Use latest WSPLGEN binary.
Tom Gottfried <tom@intevation.de>
parents: 7788
diff changeset
219 $ exit
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
220
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
221
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
222 Einrichten von WSPLGEN
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
223 ======================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
224 WSPLGEN kann als ausführbare Datei heruntergeladen werden
7797
f9637e6ecf6d Use latest WSPLGEN binary.
Tom Gottfried <tom@intevation.de>
parents: 7788
diff changeset
225 (https://wald.intevation.org/projects/wsplgen/). Die Datei muss
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
226 dann nur noch in das 'bin' Verzeichnis des D4E-river Servers kopiert werden.
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
227
7797
f9637e6ecf6d Use latest WSPLGEN binary.
Tom Gottfried <tom@intevation.de>
parents: 7788
diff changeset
228 $ cd ~/d4e-river
f9637e6ecf6d Use latest WSPLGEN binary.
Tom Gottfried <tom@intevation.de>
parents: 7788
diff changeset
229 $ wget https://wald.intevation.org/frs/download.php/1496/wsplgen-linux-64bit-static.gz
f9637e6ecf6d Use latest WSPLGEN binary.
Tom Gottfried <tom@intevation.de>
parents: 7788
diff changeset
230 $ gunzip wsplgen-linux-64bit-static.gz
f9637e6ecf6d Use latest WSPLGEN binary.
Tom Gottfried <tom@intevation.de>
parents: 7788
diff changeset
231 $ echo "16d60047aa114d69e9435dbbe56b6981b4e1c445 wsplgen-linux-64bit-static" | \
f9637e6ecf6d Use latest WSPLGEN binary.
Tom Gottfried <tom@intevation.de>
parents: 7788
diff changeset
232 sha1sum -c
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
233 $ su root
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
234 $ su d4e
7797
f9637e6ecf6d Use latest WSPLGEN binary.
Tom Gottfried <tom@intevation.de>
parents: 7788
diff changeset
235 $ cp /home/d4euser/d4e-river/wsplgen-linux-64bit-static /opt/d4e-river/bin
f9637e6ecf6d Use latest WSPLGEN binary.
Tom Gottfried <tom@intevation.de>
parents: 7788
diff changeset
236 $ chmod +x /opt/d4e-river/bin/wsplgen-linux-64bit-static
7802
a3db73ed95fc INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7797
diff changeset
237 $ exit
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
238
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
239
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
240 Einrichten des Mapserver und Apache
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
241 ===================================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
242 #. Anlegen der cgi-Skripte für die WMS-Dienste
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
243
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
244 $ cd /usr/lib/cgi-bin/
7802
a3db73ed95fc INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7797
diff changeset
245 $ cat > user-wms <<EOF
a3db73ed95fc INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7797
diff changeset
246 #!/bin/sh
a3db73ed95fc INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7797
diff changeset
247 export MS_MAPFILE=/opt/d4e-river/flys.map
a3db73ed95fc INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7797
diff changeset
248 ./mapserv
a3db73ed95fc INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7797
diff changeset
249 EOF
a3db73ed95fc INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7797
diff changeset
250 $ cat > river-wms <<EOF
a3db73ed95fc INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7797
diff changeset
251 #!/bin/sh
a3db73ed95fc INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7797
diff changeset
252 export MS_MAPFILE=/home/d4e-river/rivers.map
a3db73ed95fc INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7797
diff changeset
253 ./mapserv
a3db73ed95fc INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7797
diff changeset
254 EOF
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
255 $ chmod 755 user-wms
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
256 $ chmod 755 river-wms
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
257
7812
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
258 Der Apache wird für den Mapserver, sowie als Proxy für den im Tomcat
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
259 laufenden d4e-river Client eingerichtet. Eine Beispielkonfiguration befindet
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
260 sich in doc/d4e-apache.conf. Diese kann in den Ordner
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
261 /etc/apache2/sites-available/ kopiert werden. Folgende Schritte sind zusätzlich
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
262 notwendig:
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
263
7812
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
264 $ su root
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
265 $ a2ensite d4e-apache.conf
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
266 $ a2enmod proxy_ajp
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
267 $ sed -i s/80/8081/ /etc/apache2/ports.conf
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
268 $ service apache2 restart
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
269 $ exit
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
270
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
271 In der Datei
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
272 /var/lib/tomcat6/conf/server.xml
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
273 muss die Zeile
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
274
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
275 <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
276
195233a91e04 Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents: 7803
diff changeset
277 einkommentiert werden.
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
278
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
279 Einrichtung der D4E-Benutzer und -Rollen
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
280 ========================================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
281 #. Authentifizierung über lokale Datei
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
282 # Die Datei enthält durch Leerzeichen getrennt je Zeile
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
283 # Benutzer, Passwort und Gruppe
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
284 $ cd /usr/share/tomcat6/
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
285 $ cat > flys_user_file <<EOF
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
286 d4e_demo demo d4e_demo_all
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
287 d4e_demo1 demo
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
288 d4e_demo_extern demo d4e_demo_extern
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
289 EOF
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
290
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
291 # Die Konfiguration der je Gruppe freigeschalteten Module und Gewässer
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
292 # befindet sich in river/gwt-client/src/main/webapp/WEB-INF/features.xml
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
293
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
294
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
295 Anlegen des Start-Skripts
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
296 ============================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
297 $ su d4e
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
298 $ cp /home/d4euser/d4e-river/river/contrib/make_flys_release/bin/run.sh /opt/d4e-river/bin/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
299 $ exit
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
300
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
301 Client in Tomcat Servlet-Container ablegen
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
302 ==========================================
7802
a3db73ed95fc INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7797
diff changeset
303 $ cp /home/d4euser/d4e-river/river/gwt-client/target/gwt-client-1.0-SNAPSHOT.war \
a3db73ed95fc INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7797
diff changeset
304 /var/lib/tomcat6/webapps/d4e-river.war
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
305 $ chown tomcat6 /var/lib/tomcat6/webapps/d4e-river.war
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
306
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
307 Starten der Serverkomponente
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
308 ============================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
309 $ su d4e
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
310 $ cd /opt/d4e-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
311 $ bin/run.sh
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
312
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
313 Die Anwendung ist dann im Browser unter
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
314
7802
a3db73ed95fc INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7797
diff changeset
315 http://yourhost:8080/d4e-river
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
316
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
317 erreichbar.

http://dive4elements.wald.intevation.org