annotate artifacts/doc/installation_de.rst @ 7452:b6e954fa8b82

More installation documentation
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 28 Oct 2013 14:15:53 +0100
parents 5363047c8274
children affad83fd785
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
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
23 #. Hinzufügen des OBS repositories von Intevation::
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
24
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
25 zypper addrepo -f \
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
26 http://download.opensuse.org/repositories/home:/intevation:/bfg/
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
27 SLE_11_SP1/home:intevation:bfg.repo
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
28
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
29 #. Installieren der Benötigten Pakete::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
30
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
31 zypper install python-devel python-setuptools libxslt-devel libxml2-devel \
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
32 mozilla-nss-devel apache2 tomcat6 java-1_6_0-ibm libgeos0 netcdf \
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
33 proj xerces-c FastCGI php MyODBC-unixODBC posgresql-libs
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
34
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
35 #. Anlegen der Logger Gruppe::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
36
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
37 gropadd flys_log
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
38
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
39 #. Anlegen des Flys Nutzers::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
40
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
41 useradd -G users,flys_log,www -m flys
7449
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 #. 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
44
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
45 usermod -A flys_log tomcat
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
46 usermod -A flys_log wwwrun
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
47
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
48 #. Logging Verzeichnis anlegen::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
49
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
50 mkdir /var/log/flys
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
51 chgrp flys_log /var/log/flys
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
52 chmod 775 /var/log/flys
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
53
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
54 #. Betriebsordner Anlegen::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
55
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
56 mkdir /opt/flys
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
57 chown flys /opt/flys
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
58
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
59 #. Firewall ausschalten::
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
60
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
61 SuSEfirewall2 off
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
62
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
63 Der Key Fingerprint des Intevations Repositories ist:
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
64 ``18F8 A017 6DFB 7FD1 22BC 20D6 A73E 24AF BC5A 7BAC``
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
65
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
66 Nun sollte der weitere Inhalt der beiliegenden CD nach /opt/flys
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
67 kopiert werden und dem Benutzer flys zugänglich gemacht werden.
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
68
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
69 Oracle client installieren
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
70 --------------------------
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
71
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
72 #. Instantclient entpacken::
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
73
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
74 cd /opt
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
75 tar -xf /opt/flys/instantclient_11_2.tar.gz
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
76 chown -R flys /opt/instantclient_11_2
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
77
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
78 #. Library loader konfigurieren::
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
79
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
80 cp /opt/flys/oci.conf /etc/ld.so.conf.d/oci.conf
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
81
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
82
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
83 Datenbank initalisieren
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 ``Datenbank erstellen``
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
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
89 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
90 sein. Wichtig ist insbesondere das der Nutzer zugriff auf die Spatial tabellen besitzt.
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
91 Im folgenden ein Beispiel::
7449
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 --CREATE TABLESPACE for user
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
94 CREATE TABLESPACE "flys3" DATAFILE
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
95 '/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
96 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
97 MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SPACE
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
98 MANAGEMENT AUTO;
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
99 --CREATE USER
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
100 CREATE USER flys3 IDENTIFIED BY flys3;
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
101 -- USER SQL
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
102 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
103 ACCOUNT UNLOCK ;
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
104 -- QUOTA for user on TABLESPACE
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
105 ALTER USER flys3 QUOTA UNLIMITED ON "flys3";
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
106 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
107 GRANT CREATE SESSION TO flys3 ;
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
108 GRANT CREATE VIEW TO flys3;
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
109 GRANT CONNECT, RESOURCE TO flys3;
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
110
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
111
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
112 ``Schema importieren``
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
113 ~~~~~~~~~~~~~~~~~~~~~~
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
114
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
115 Abweichend von der hier beschriebenen Vorgehensweise kann natürlich ein
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
116 alternativer client verwendet werden. Die SQL skripte liegen im unterordner
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
117 DB-Schema. Wichtig ist das die folgenden
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
118 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
119 ausgeführt werden:
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 #. oracle.sql
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
122 #. oracle-minfo.sql
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
123 #. oracle-spatial.sql
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
124 #. oracle-spatial_idx.sql
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
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
127 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
128
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
129 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
130 @oracle.sql
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
131 @oracle-minfo.sql
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
132 @oracle-spatial.sql
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
133 @oracle-spatial_idx.sql
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 ``Schema löschen``
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
136 ~~~~~~~~~~~~~~~~~~
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 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
139 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
140 folgender Reihenfolge ausgeführt werden::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
141
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
142 #. oracle-drop-spatial.sql
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
143 #. oracle-drop-minfo.sql
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
144 #. oracle-drop.sql
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
145
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
146 D4E-River Server Installieren
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
147 -----------------------------
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
148
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
149 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
150 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
151 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
152 angenommen.
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
153
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
154 ``Server entpacken``
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
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
157 #. Als Nutzer flys einloggen::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
158
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
159 su - flys
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
160
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
161 #. Tarball entpacken::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
162
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
163 cd /opt/flys
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
164 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
165
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
166 #. Symlink für die aktuelle Version anlegen::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
167
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
168 ln -s flys-3.0.16 current
7449
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 ``Server konfigurieren``
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
171 ~~~~~~~~~~~~~~~~~~~~~~~~
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
172 #. Datenbank Verbindung:
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
173
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
174 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
175 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
176
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
177 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
178 Werten anzupassen.
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
179
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
180 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
181 jdbc:oracle:thin:@//<hostname>:<port>/<backend>
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
182
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
183 Mithilfe des Eintrags::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
184
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
185 <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
186
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
187 kann man den initalen Schema Präfix der Datenbank ändern.
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
188 Wobei $SCHEMA ein Platzhalter für das zu verwendende Schema ist.
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
189 z.B.::
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 <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
192
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
193 #. URL für Kartendienste
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
194 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
195 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
196
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
197 cd /opt/flys/flys-3.0.16/server/conf
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
198 sed -i s@flys3-devel.bafg.de@<neue_url>@ rivermap.xml floodmap.xml
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
199
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
200 #. URL für das Wiki:
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
201 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
202 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
203 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
204
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
205 #. Gewässerdaten:
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
206 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
207
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
208 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
209 zu konfigurieren. z.B.::
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 <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
212
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
213 ``Server starten``
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 #. Zurück auf root wechseln::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
217
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
218 exit
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
219
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
220 #. Startscript hinterlegen::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
221
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
222 cp /opt/flys/d4e-river /etc/init.d
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
223 chmod u+x /etc/init.d/d4e-river
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
224 cd /etc/init.d/rc3.d
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
225 ln -s ../d4e-river S10d4e-river
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
226 ln -s ../d4e-river K10d4e-river
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
227 cd /etc/init.d/rc5.d
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
228 ln -s ../d4e-river S10d4e-river
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
229 ln -s ../d4e-river K10d4e-river
7449
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 #. Server starten::
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 /etc/init.d/d4e-river start
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
234
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
235 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
236 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
237 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
238
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
239 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
240
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
241 Kartendienste einrichten
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
242 ------------------------
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
243
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
244 In SuSE Linux Enterprise ist kein Paket für den benötigten Mapserver
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
245 vorhanden. Dieses muss manuell installiert werden::
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
246
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
247 cd /opt/flys/mapserver-pakete
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
248 rpm -i --nodeps *.rpm
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
249
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
250 Ob die Installation erfolgreich war kann man durch Abfrage der Mapserver
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
251 Version testen::
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
252
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
253 /srv/www/cgi-bin/mapserv -v
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
254
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
255 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
256 werden (als root)::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
257
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
258 cp /opt/flys/*-wms /srv/www/cgi-bin/
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
259 chmod a+x /srv/www/cgi-bin/*-wms
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
260
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
261 Apache konfigurieren
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
262 --------------------
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
263
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
264 Eine Beispielkonfiguration für den Apache Webserver ist die Datei flys.conf
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
265 auf der beigelegten CD. Diese kann in das Apache vhosts.d Verzeichnis kopiert
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
266 werden. In dieser muss ggf. der Redirect für das Geoportal angepasst werden,
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
267 da in diesem die URL enthalten ist.
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
268
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
269 Apache Konfiguration kopieren::
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
270
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
271 cp /opt/flys/flys.conf /etc/apache2/vhosts.d
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
272 /etc/init.d/apache2 reload
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
273
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
274 ``HTTPS einrichten``
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
275 ~~~~~~~~~~~~~~~~~~~~
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
276
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
277 Um verschlüsselten Zugriff über https einzurichten kann man o.g. Konfiguration
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
278 entsprechend anpassen. Wie dies zu geschehen hat ist der Apache Dokumentation
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
279 zu entnehmen und soll nicht teil dieser Anleitung sein. Allerdings ist bemerkenswert
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
280 das darauf geachtet werden sollte es weiterhin zu ermöglichen Kartendienste über
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
281 http abzurufen. Dies kann man durch einen Bedingten redirect in der Konfiguration
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
282 des VirtualHosts auf Port 80 erreichen::
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
283
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
284 RewriteEngine on
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
285 RewriteCond %{REQUEST_URI} !^/cgi-bin/
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
286 RewriteRule (.*) https://flys3-devel.bafg.de/$1 [R=301,L]
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
287
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
288
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
289 Web Client Installieren
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
290 -----------------------
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
291
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
292 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
293 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
294
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
295 /etc/init.d/tomcat6 stop
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
296 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
297 /etc/init.d/tomcat6 start
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
298
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
299 Das neustarten des Tomcat Servers ist hierbei optional. Kann aber dazu dienen
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
300 die Stabilität des Tomcat Servers zu verbessern.
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
301
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
302 Wiki Installieren
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
303 -----------------
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
304
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
305 Das Wiki für den Fachdienst Flys ist so konfiguriert das es
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
306 unter /home/flys/wiki erwartet wird.
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
307
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
308 Wiki entpacken::
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
309
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
310 su - flys
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
311 cd /home/flys
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
312 tar -xf /opt/flys/flys-wiki.tar.gz

http://dive4elements.wald.intevation.org