annotate doc/INSTALL_DE @ 7797:f9637e6ecf6d

Use latest WSPLGEN binary.
author Tom Gottfried <tom@intevation.de>
date Thu, 06 Mar 2014 16:38:45 +0100
parents a18c97f9d752
children a3db73ed95fc
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
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
21
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
22 Erforderliche Pakete zum Installieren von D4E-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
23 ===================================================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
24 $ 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
25 $ 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
26 $ apt-get install tomcat6 postgresql-9.1-postgis \
7776
b972c7e1bfbe INSTALL_DE: mention tested system and simplify dependency installation.
Tom Gottfried <tom@intevation.de>
parents: 7769
diff changeset
27 apache2 cgi-mapserver ttf-freefont
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
28
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 Benutzer und Verzeichnis für die Serverkomponente anlegen
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
31 =========================================================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
32 $ useradd d4e
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
33 $ cd /opt/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
34 $ mkdir d4e-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
35 $ chown d4e d4e-river/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
36
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 Benutzer und Gruppe für das Logging anlegen
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
39 ===========================================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
40 $ groupadd d4e_log
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
41 $ usermod -a -G d4e_log d4e
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
42 $ usermod -a -G d4e_log tomcat6
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
43 $ usermod -a -G d4e_log www-data
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
44
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 Anlegen des Logging Verzeichnisses
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
47 ==================================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
48 $ mkdir /var/log/d4e-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
49 $ chgrp d4e_log /var/log/d4e-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
50 $ chmod 775 /var/log/d4e-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
51 $ exit
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
52
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
53
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
54 Installation von D4E-river aus Binärpaket
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
55 =========================================
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
56
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
57 Entpacken des Dive4Elements-river Installer-Pakets
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
58 --------------------------------------------------
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
59 $ tar -xzf d4e-river.tar.gz
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
60 @TODO: eventuell anpassen
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
61
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
62 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
63 folgenden Schritte übersprungen werden.
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
64 Die weiteren Schritte sind ab dem Abschnitt 'Backenddatenbanken'
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
65 beschrieben.
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
66
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
67
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
68 Installation von D4E-river aus den Quellen
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
69 ==========================================
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
70
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
71 Pakete zum Bauen von D4E-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
72 ------------------------------
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
73 $ su root
7776
b972c7e1bfbe INSTALL_DE: mention tested system and simplify dependency installation.
Tom Gottfried <tom@intevation.de>
parents: 7769
diff changeset
74 $ apt-get install maven2 mercurial
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
75
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
76
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
77 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
78 -----------------------------------------------------------------
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 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
80 (siehe auch https://ssl.intevation.de)
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
81
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
82 $ apt-get install ca-certificates curl gnutls-bin
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
83 $ curl https://ssl.intevation.de/Intevation-Root-CA-2010.crt | \
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
84 certtool -i | awk '/^-----BEGIN CERTIFICATE-----$/ , 0' > \
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
85 /usr/local/share/ca-certificates/Intevation-Root-CA-2010.crt
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
86 $ update-ca-certificates
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
87
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
88 #. Mercurial beibringen die Zertifikate zu nutzen:
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
89 # hierzu kann beispielsweise die Systemweite mercurial Konfiguration
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
90 # 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
91 $ nano /etc/mercurial/hgrc
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
92
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
93 # Folgendes einfügen (siehe https://intranet.intevation.de/Mercurial#https)
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
94 [web]
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
95 cacerts = /etc/ssl/certs/ca-certificates.crt
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
96
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
97 $ exit # d4euser werden
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
98
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 Checkout der D4E-Quellen
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
101 ------------------------
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
102 $ mkdir d4e-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
103 $ cd d4e-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
104 $ hg clone https://scm.wald.intevation.org/hg/dive4elements/framework/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
105 $ hg clone https://scm.wald.intevation.org/hg/dive4elements/http-client/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
106 $ hg clone https://scm.wald.intevation.org/hg/dive4elements/river/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
107
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 Anpassen der Clientkonfiguration
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
110 --------------------------------
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
111 $ cd river/gwt-client/src/main/webapp/WEB-INF/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
112
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
113 #. Mapfishprint config.yaml anpassen
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
114
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
115 $ nano config.yaml
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
116
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
117 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
118 (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
119
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
120 - !dnsMatch
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
121 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
122 port: 8081 # Den entsprechenden Port eintragen.
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
123
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 Anpassen der Serverkonfiguration
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
126 --------------------------------
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
127 $ cd ~/d4e-river/river/artifacts/doc/conf/
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
128
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
129 #. Pfad zu den DGMs anpassen:
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
130 $ nano conf.xml
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
131 <dgm-path>/opt/d4e-river/dgm/</dgm-path>
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
132
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
133 #. Einstellen der WMS Urls
7781
be4b37839015 INSTALL_DE: remove obsolete server configuration.
Tom Gottfried <tom@intevation.de>
parents: 7779
diff changeset
134 # 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
135 # Host eintragen auf dem der MapServer läuft
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
136
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 Konfigurieren des Logging
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
139 -------------------------
7783
e55119cbdc19 Useful server-logging for demo installation.
Tom Gottfried <tom@intevation.de>
parents: 7782
diff changeset
140 # 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
141 # 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
142 # 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
143 # vorgenommen werden
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
144
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 Bauen der Server- und Clientkomponenten
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
147 ---------------------------------------
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
148 $ cd ~/d4e-river/framework
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
149 $ mvn install
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
150 $ cd ../http-client/
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
151 $ mvn install
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
152 $ cd ../river/backend/
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
153 $ mvn install
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
154 $ cd ../artifacts/
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
155 $ mvn package dependency:copy-dependencies
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
156 $ cd ../gwt-client/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
157 $ curl -O http://openlayers.org/download/OpenLayers-2.11.tar.gz
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
158 $ tar xvfz OpenLayers-2.11.tar.gz
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
159 $ 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
160 $ mvn package
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
161
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 Kopieren der Serverkomponenten
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
164 ------------------------------
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
165 $ su root
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
166 $ su d4e
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
167 $ cd /opt/d4e-river/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
168 $ mkdir -p bin/lib
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
169 $ 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
170 $ cp /home/d4euser/d4e-river/river/artifacts/target/dependency/* bin/lib/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
171 $ mkdir conf
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
172 $ cp -R /home/d4euser/d4e-river/river/artifacts/doc/conf/* conf/
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
173
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 Artefaktdatenbank erstellen
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
176 ===========================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
177 $ /home/d4euser/d4e-river/river/contrib/make_flys_release/h2/createArtifacts.sh \
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
178 /home/d4euser/d4e-river/framework/artifact-database/doc/schema-h2.sql
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
179
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 Datenkorbdatenbank erstellen
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
182 ============================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
183 $ /home/d4euser/d4e-river/river/contrib/make_flys_release/h2/createDatacage.sh \
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
184 /home/d4euser/d4e-river/river/artifacts/doc/conf/datacage.sql
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
185 $ exit
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
186
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 Backenddatenbanken (Fachdatenbank und Seddb)
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
189 ============================================
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 Anlegen und befüllen der Datenbanken
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
192 ------------------------------------
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
193 #. Einspielen des Schemas für die Backenddatenbank
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
194 $ su postgres
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
195 $ cd /home/d4euser/d4e-river/river/backend/doc/schema/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
196 $ ./postgresql-setup.sh d4e . localhost
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
197
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
198 #. 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
199 # 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
200 $ 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
201
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
202 #. Erstellen der SedDB
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
203 $ createuser -S -D -R seddb
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
204 $ createdb seddb
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
205 $ 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
206 $ 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
207
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
208 #. wieder root werden
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
209 $ exit
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
210
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 Kopieren der DGMs
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
213 =================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
214 $ su d4e
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
215 $ mkdir /opt/d4e-river/dgm
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
216 $ 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
217 $ exit
f9637e6ecf6d Use latest WSPLGEN binary.
Tom Gottfried <tom@intevation.de>
parents: 7788
diff changeset
218 $ exit
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
219
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 Einrichten von WSPLGEN
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
222 ======================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
223 WSPLGEN kann als ausführbare Datei heruntergeladen werden
7797
f9637e6ecf6d Use latest WSPLGEN binary.
Tom Gottfried <tom@intevation.de>
parents: 7788
diff changeset
224 (https://wald.intevation.org/projects/wsplgen/). Die Datei muss
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
225 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
226
7797
f9637e6ecf6d Use latest WSPLGEN binary.
Tom Gottfried <tom@intevation.de>
parents: 7788
diff changeset
227 $ cd ~/d4e-river
f9637e6ecf6d Use latest WSPLGEN binary.
Tom Gottfried <tom@intevation.de>
parents: 7788
diff changeset
228 $ 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
229 $ gunzip wsplgen-linux-64bit-static.gz
f9637e6ecf6d Use latest WSPLGEN binary.
Tom Gottfried <tom@intevation.de>
parents: 7788
diff changeset
230 $ echo "16d60047aa114d69e9435dbbe56b6981b4e1c445 wsplgen-linux-64bit-static" | \
f9637e6ecf6d Use latest WSPLGEN binary.
Tom Gottfried <tom@intevation.de>
parents: 7788
diff changeset
231 sha1sum -c
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
232 $ su root
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
233 $ su d4e
7797
f9637e6ecf6d Use latest WSPLGEN binary.
Tom Gottfried <tom@intevation.de>
parents: 7788
diff changeset
234 $ 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
235 $ chmod +x /opt/d4e-river/bin/wsplgen-linux-64bit-static
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
236
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
237
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
238 Einrichten des Mapserver und Apache
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 #. Anlegen der cgi-Skripte für die WMS-Dienste
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 $ su root
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
243 $ cd /usr/lib/cgi-bin/
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
244 $ touch user-wms
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
245 $ vi user-wms
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
246 # folgendes einfügen:
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
247 #!/bin/sh
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
248 export MS_MAPFILE=/opt/d4e-river/flys.map
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
249 ./mapserv
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
250 $ touch river-wms
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
251 $ vi river-wms
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
252 # folgendes einfügen:
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
253 #!/bin/sh
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
254 export MS_MAPFILE=/home/d4e-river/rivers.map
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
255 ./mapserv
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
256 $ chmod 755 user-wms
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
257 $ chmod 755 river-wms
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
258 $ exit
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
259
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
260 #. Der Apache ist vorkonfiguriert und braucht keine weitere Anpassung.
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
261
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
262
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
263 Einrichtung der D4E-Benutzer und -Rollen
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
264 ========================================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
265 #. Authentifizierung über lokale Datei
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
266 # 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
267 # Benutzer, Passwort und Gruppe
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
268 $ su root
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
269 $ cd /usr/share/tomcat6/
7788
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
270 $ cat > flys_user_file <<EOF
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
271 d4e_demo demo d4e_demo_all
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
272 d4e_demo1 demo
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
273 d4e_demo_extern demo d4e_demo_extern
a18c97f9d752 INSTALL_DE: more small improvements and corrections.
Tom Gottfried <tom@intevation.de>
parents: 7786
diff changeset
274 EOF
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
275 $ exit
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
276
7786
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
277 # 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
278 # 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
279
61a9e7df0728 INSTALL_DE: small corrections and (hopefully) improvements.
Tom Gottfried <tom@intevation.de>
parents: 7785
diff changeset
280
7769
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
281 Anlegen des Start-Skripts
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
282 ============================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
283 $ su root
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
284 $ su d4e
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
285 $ 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
286 $ exit
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
287 $ exit
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
288
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
289 Client in Tomcat Servlet-Container ablegen
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
290 ==========================================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
291 $ su root
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
292 $ cp /home/d4euser/d4e-river/river/gwt-client/target/gwt-client-1.0-SNAPSHOT.war /var/lib/tomcat6/webapps/d4e-river.war
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
293 $ chown tomcat6 /var/lib/tomcat6/webapps/d4e-river.war
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
294 $ exit
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
295
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
296 Starten der Serverkomponente
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
297 ============================
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
298 $ su root
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
299 $ su d4e
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
300 $ cd /opt/d4e-river
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
301 $ bin/run.sh
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
302
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
303 Die Anwendung ist dann im Browser unter
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
304
887795bbe854 Added german INSTALL.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
305 http://servername:8080/d4e-river
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 erreichbar.

http://dive4elements.wald.intevation.org