Mercurial > dive4elements > river
annotate artifacts/doc/installation_de.rst @ 7449:5363047c8274
Start installation documentation for specific client installation
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Sun, 27 Oct 2013 17:30:38 +0100 |
parents | |
children | b6e954fa8b82 |
rev | line source |
---|---|
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
1 ================= |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
2 FLYS Installation |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
3 ================= |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
4 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
5 .. contents:: Inhalt |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
6 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
7 Übersicht |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
8 --------- |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
9 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
10 Dieses Dokument beschreibt die Installation des Fachdienstes FLYS. |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
11 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
12 Abgehandelt werden die Installation der Server Anwendung (D4E-River), |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
13 der Webanwendung, die Einrichtung der Datenbanken sowie die Einrichtung |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
14 des Moin Wikis. |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
15 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
16 Als Basis dient ein SUSE Linux Enterprise Server in Version 11.2. |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
17 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
18 Vorbereitung des Systems |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
19 --------------------------- |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
20 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
21 Die Vorbereitung des Systems ist als Root auf dem Zielsystem durchzuführen. |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
22 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
23 #. Installieren der Benötigten Pakete:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
24 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
25 zypper install python-devel python-setuptools libxslt-devel libxml2-devel \ |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
26 mozilla-nss-devel apache2 tomcat6 mapserver |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
27 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
28 #. Anlegen der Logger Gruppe:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
29 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
30 gropadd flys_log |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
31 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
32 #. Anlegen des Flys Nutzers:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
33 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
34 useradd -g flys -G users,flys_log,www -m -c "Flys Service User" flys |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
35 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
36 #. tomcat und apache zur flys_log Gruppe hinzufügen:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
37 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
38 usermod -G flys_log,tomcat tomcat |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
39 usermod -G flys_log,wwwrun,www wwwrun |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
40 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
41 #. Logging Verzeichnis anlegen:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
42 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
43 mkdir /var/log/flys |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
44 chgrp flys_log /var/log/flys |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
45 chmod 770 /var/log/flys |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
46 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
47 #. Betriebsordner Anlegen:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
48 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
49 mkdir /opt/flys |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
50 chown flys /opt/flys |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
51 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
52 Anschließend sollte der weitere Inhalt der beiliegenden CD nach /opt/flys |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
53 kopiert werden und dem Benutzer flys zugägnlich gemacht werden. |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
54 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
55 Datenbank initalisieren |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
56 ----------------------- |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
57 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
58 ``Datenbank erstellen`` |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
59 ~~~~~~~~~~~~~~~~~~~~~~~ |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
60 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
61 Das erstellen der Datenbank sollte vom zuständigen DB-Admin bereits durchgeführt worden |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
62 sein. Wichtig ist insbesondere das der Nutzer zugriff auf die Spatial tabellen besitzt. |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
63 Im folgenden ein Beispiel: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
64 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
65 .. code:: sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
66 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
67 --CREATE TABLESPACE for user |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
68 CREATE TABLESPACE "flys3" DATAFILE |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
69 '/u01/app/oracle/oradata/XE/flys3.dbf' SIZE 500M AUTOEXTEND ON NEXT |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
70 100M MAXSIZE 1G LOGGING ONLINE PERMANENT BLOCKSIZE 8192 EXTENT |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
71 MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SPACE |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
72 MANAGEMENT AUTO; |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
73 --CREATE USER |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
74 CREATE USER flys3 IDENTIFIED BY flys3; |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
75 -- USER SQL |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
76 ALTER USER flys3 DEFAULT TABLESPACE "flys3" TEMPORARY TABLESPACE "TEMP" |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
77 ACCOUNT UNLOCK ; |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
78 -- QUOTA for user on TABLESPACE |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
79 ALTER USER flys3 QUOTA UNLIMITED ON "flys3"; |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
80 GRANT ALL on "MDSYS"."ALL_SDO_GEOM_METADATA" to flys3 ; |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
81 GRANT CREATE SESSION TO flys3 ; |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
82 GRANT CREATE VIEW TO flys3; |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
83 GRANT CONNECT, RESOURCE TO flys3; |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
84 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
85 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
86 ``Schema importieren`` |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
87 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
88 Abweichend von der hier beschriebenen Vorgehensweise kann natürlich ein |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
89 alternativer client verwendet werden. Wichtig ist das die folgenden |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
90 SQL scripte in dieser Reihenfolge und in einer UTF-8 Umgebung |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
91 ausgeführt werden: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
92 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
93 #. oracle.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
94 #. oracle-minfo.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
95 #. oracle-spatial.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
96 #. oracle-spatial_idx.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
97 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
98 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
99 Mit einem vorhandenden sqlplus unter /opt/instantclient_11_2:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
100 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
101 NLS_LANG=.AL32UTF8 rlwrap /opt/instantclient_11_2/sqlplus <user>/<pass>@<ip>:<port>/<dbname> |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
102 @oracle.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
103 @oracle-minfo.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
104 @oracle-spatial.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
105 @oracle-spatial_idx.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
106 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
107 ``Schema löschen`` |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
108 ~~~~~~~~~~~~~~~~~~ |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
109 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
110 Zum löschen der im Schritt Schema importieren importierten Schemata |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
111 liegen entsprechende drop Skripte bereit. Diese sollten bei Bedarf in |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
112 folgender Reihenfolge ausgeführt werden:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
113 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
114 #. oracle-drop-spatial.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
115 #. oracle-drop-minfo.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
116 #. oracle-drop.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
117 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
118 D4E-River Server Installieren |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
119 ----------------------------- |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
120 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
121 Neue Versionen des gesamten FLYS Pakets werden üblicherweise als |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
122 GZIP komprimierter Tarball mit dem Namenschema flys-VERSION.tar.gz |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
123 zur verfügung gestellt. Als Beispiel wird hier die Version 3.0.16 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
124 angenommen. |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
125 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
126 ``Server entpacken`` |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
127 ~~~~~~~~~~~~~~~~~~~~ |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
128 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
129 #. Als Nutzer flys einloggen:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
130 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
131 su - flys |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
132 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
133 #. Tarball entpacken:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
134 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
135 cd /opt/flys |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
136 tar -xf flys-3.0.16.tar.gz |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
137 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
138 #. Symlink für die aktuelle Version anlegen:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
139 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
140 rm -f flys-current |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
141 ln -s flys-3.0.16 flys-current |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
142 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
143 ``Server konfigurieren`` |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
144 ~~~~~~~~~~~~~~~~~~~~~~~~ |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
145 #. Datenbank verbindung: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
146 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
147 Die externen Datenbanken von Dive4Element River werden in den Dateien |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
148 server/conf/backend-db.xml und server/conf/seddb-db.xml konfiguriert. |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
149 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
150 In diesen sind Nutzername, Passwort und URL entsprechend den passenden |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
151 Werten anzupassen. |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
152 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
153 Die URL ist dabei nach folgendem Schema aufgebaut: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
154 jdbc:oracle:thin:@//<hostname>:<port>/<backend> |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
155 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
156 Mithilfe des Eintrags:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
157 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
158 <connection-init-sqls>ALTER SESSION SET CURRENT_SCHEMA=$SCHEMA;</connection-init-sqls> |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
159 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
160 kann man den initalen Schema Präfix der Datenbank ändern. |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
161 Wobei $SCHEMA ein Platzhalterfür das zu verwendende Schema ist. |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
162 z.B.:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
163 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
164 <connection-init-sqls>ALTER SESSION SET CURRENT_SCHEMA=SEDDB;</connection-init-sqls> |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
165 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
166 #. URL für Kartendienste |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
167 Sollte der Host Name des neuen Servers nicht flys3-devel.bafg.de lauten muss man |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
168 noch die entsprechenden Verweise auf den Kartendienst anpassen:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
169 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
170 cd /opt/flys/flys-3.0.16/server/conf |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
171 sed -i @flys3-devel.bafg.de@<neue_url>@ rivermap.xml floodmap.xml |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
172 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
173 #. URL für das Wiki: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
174 Die URL unter welcher das flys wiki erwartet wird ist in server/conf/conf.xml |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
175 im Eintrag <help-url> konfiguriert. Dies muss auch ggf. auf den neuen Host Namen |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
176 angepasst werden. Standard ist: https://flys3-devel.bafg.de/wiki |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
177 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
178 #. Gewässerdaten: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
179 Zur Berechnung von Überschwemmungsflächen werden Digitale Geländemodelle benötigt. |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
180 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
181 Der Ort an dem diese Daten liegen ist in der Datei server/conf/conf.xml als <dgm-path> |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
182 zu konfigurieren. z.B.:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
183 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
184 <dgm-path>/home/teichmann/gewaesser-final/</dgm-path> |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
185 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
186 ``Server starten`` |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
187 ~~~~~~~~~~~~~~~~~~ |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
188 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
189 #. Zurück auf root wechseln:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
190 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
191 exit |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
192 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
193 #. Startscript hinterlegen:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
194 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
195 cp /opt/flys/d4e-river /etc/init.d |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
196 cd /etc/init.d/rc3.d |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
197 ln -s S10d4e-river ../d4e-river |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
198 ln -s K10d4e-river ../d4e-river |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
199 cd /etc/init.d/rc5.d |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
200 ln -s S10d4e-river ../d4e-river |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
201 ln -s K10d4e-river ../d4e-river |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
202 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
203 #. Server starten:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
204 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
205 /etc/init.d/d4e-river start |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
206 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
207 Nun kann sich mit einem Blick in /var/log/server-3.0.16.log |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
208 vergewissern das der Server korrekt gestartet wurde. In diesem |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
209 Fall wäre die Letze Zeile des logs in der Art:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
210 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
211 INFO Standalone - Starting org.dive4elements.artifactdatabase.rest.Standalone HTTP server on localhost:18989 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
212 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
213 Kartendienste einrichten |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
214 ------------------------ |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
215 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
216 Nun können die Kartendienste (river-wms, user-wms) von flys eingerichtet |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
217 werden (als root):: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
218 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
219 cp /opt/flys/*-wms /srv/www/cgi-bin/ |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
220 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
221 Apache konfigurieren |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
222 -------------------- |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
223 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
224 ** TODO ** |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
225 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
226 ``HTTPS einrichten`` |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
227 ~~~~~~~~~~~~~~~~~~~~ |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
228 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
229 ** TODO ** |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
230 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
231 Web Client Installieren |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
232 ----------------------- |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
233 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
234 Der Web client läuft als Tomcat Webapp. Damit tomcat diesen startet |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
235 muss der client nur an die Richtige stelle kopiert werden.:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
236 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
237 /etc/init.d/tomcat6 stop |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
238 cp /opt/flys/flys-3.0.16/client/flys-3.0.16.war /usr/share/tomcat6/webapps |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
239 /etc/init.d/tomcat6 start |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
240 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
241 Das neustarten des Tomcat Servers ist hierbei optional. Kann aber dazu dienen |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
242 die stabilität des Tomcat Servers zu verbessern. |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
243 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
244 Wiki Installieren |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
245 ----------------- |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
246 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
247 ** TODO ** |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
248 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
249 ``SAML`` |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
250 ~~~~~~~~ |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
251 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
252 ** TODO ** |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
253 |