annotate artifacts/doc/installation_de.rst @ 7686:7484132b2fbb

issue1577: Add W-Wrapping of wst-names in WKmsFactory if kind is one of a kind.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 12 Dec 2013 07:57:13 +0100
parents 9cf5fd49837a
children
rev   line source
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
1 .. header::
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
2
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
3 ###Title### - ###Section###
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
4
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
5 .. footer::
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
6
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
7 Seite ###Page### / ###Total###
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
8
7449
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 FLYS Installation
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
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
13 Übersicht
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
14 ---------
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 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
17
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
18 Abgehandelt werden die Installation der Server-Anwendung (D4E-River),
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
19 der Web-Anwendung, die Einrichtung der Datenbanken sowie die Einrichtung
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
20 des Moin-Wikis.
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
21
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
22 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
23
7454
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
24 .. contents:: Inhalt
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
25
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
26 .. raw:: pdf
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
27
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
28 PageBreak
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
29
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
30 Vorbereitung des Systems
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
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
33 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
34
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
35 Je nach OpenSUSE Version müssen noch weitere Repositories hinzugefügt werden.
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
36 Unter ``10.140.90.89/wiki`` können durch eine Suche nach ``repos`` weitere
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
37 repositories hinzugefügt werden.
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
38
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
39 #. Einloggen als root nutzer::
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
40
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
41 su
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
42
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
43 #. Hinzufügen des OBS Repositorys von Intevation::
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
44
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
45 zypper addrepo -f \
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
46 http://download.opensuse.org/repositories/home:/intevation:/bfg/
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
47 SLE_11_SP1/home:intevation:bfg.repo
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
48
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
49 #. Zusätzlich muss noch das SLES 11 SDK repo hinzgefügt werden::
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
50
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
51 zypper ar -t YUM http://voss-update/repo/\$RCE/
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
52 SLE11-SDK-Pool/sle-11-x86_64 SLE11-SDK-POOL
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
53
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
54 #. Installieren der benötigten Pakete::
7449
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 zypper install python-devel python-setuptools libxslt-devel libxml2-devel \
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
57 mozilla-nss-devel apache2 tomcat6 java-1_6_0-ibm libgeos0 netcdf \
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
58 proj xerces-c FastCGI php MyODBC-unixODBC postgresql-libs gd
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
59
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
60 Sollte es Probleme mit der Abhängikeitsauflösung von xerces-c geben kann
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
61 darauf verzichtet werden xerces-c 2.x zu installieren. Dies sollte
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
62 als Optionsfrage zur Auswahl stehen.
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
63
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
64 #. Anlegen der Logger Gruppe::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
65
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
66 gropadd flys_log
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
67
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
68 #. Anlegen des Flys Nutzers (sofern noch nicht vorhanden)::
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
69
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
70 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
71
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
72 #. Flys Nutzer der Gruppe flys_log hinzufügen (wenn nutzer bereits vorhanden)::
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
73
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
74 usermod -A flys_log flys
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
75
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
76 #. Tomcat und Apache zur flys_log Gruppe hinzufügen::
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
77
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
78 usermod -A flys_log tomcat
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
79 usermod -A flys_log wwwrun
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
80
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
81 #. Logging Verzeichnis anlegen::
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 mkdir /var/log/flys
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
84 chgrp flys_log /var/log/flys
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
85 chmod 775 /var/log/flys
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
86
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
87 #. Betriebsordner anlegen::
7449
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 mkdir /opt/flys
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
90 chown flys /opt/flys
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
91
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
92 #. Firewall ausschalten::
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
93
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
94 SuSEfirewall2 off
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
95
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
96 Der Key-Fingerprint des Intevations Repositorys ist:
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
97 ``18F8 A017 6DFB 7FD1 22BC 20D6 A73E 24AF BC5A 7BAC``
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
98
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
99 Nun sollte der weitere Inhalt der beiliegenden CD nach /opt/flys
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
100 kopiert und dem Benutzer flys zugänglich gemacht werden.
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
101 (z.B.: cp -r /media/UDF\ Volume/* /opt/flys)
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
102
7454
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
103 .. raw:: pdf
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
104
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
105 PageBreak
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
106
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
107 Oracle Client installieren
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
108 --------------------------
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
109
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
110 #. Instantclient entpacken (als root)::
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
111
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
112 cd /opt
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
113 tar -xf /opt/flys/instantclient_11_2.tar.gz
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
114 chown -R flys /opt/instantclient_11_2
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
115
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
116 #. Library loader konfigurieren::
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
117
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
118 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
119
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
120
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
121 Datenbank initialisieren
7454
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
122 ------------------------
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
123
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
124 ``Datenbank erstellen``
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
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
127 Das Erstellen der Datenbank sollte vom zuständigen DB-Admin bereits durchgeführt worden
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
128 sein. Wichtig ist insbesondere, dass der Nutzer Zugriff auf die Spatial-Tabellen besitzt.
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
129 Im folgenden ein Beispiel::
7449
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 --CREATE TABLESPACE for user
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
132 CREATE TABLESPACE "flys3" DATAFILE
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
133 '/u01/app/oracle/oradata/XE/flys3.dbf' SIZE 1G AUTOEXTEND ON NEXT
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
134 100M MAXSIZE 10G LOGGING ONLINE PERMANENT BLOCKSIZE 16384 EXTENT
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
135 MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SPACE
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
136 MANAGEMENT AUTO;
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
137 --CREATE USER
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
138 CREATE USER flys3 IDENTIFIED BY flys3;
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
139 -- USER SQL
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
140 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
141 ACCOUNT UNLOCK ;
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
142 -- QUOTA for user on TABLESPACE
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
143 ALTER USER flys3 QUOTA UNLIMITED ON "flys3";
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
144 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
145 GRANT CREATE SESSION TO flys3 ;
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
146 GRANT CREATE VIEW TO flys3;
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
147 GRANT CONNECT TO flys3;
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
148
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
149 Dieses Beispiel soll nur zur groben Orientieren dienen welche Rechte FLYS
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
150 benötigt. Speziellere Konfiguration ist mit dem zuständigen DB-Admin zu
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
151 klären.
7449
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
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
154 ``Tabellen anlegen``
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
155 ~~~~~~~~~~~~~~~~~~~~
7449
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 Abweichend von der hier beschriebenen Vorgehensweise kann natürlich ein
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
158 alternativer Client verwendet werden. Die SQL-Skripte liegen im Unterordner
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
159 DB-Schema. Wichtig ist, dass die folgenden
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
160 SQL-Skripte in dieser Reihenfolge und in einer UTF-8 Umgebung
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
161 ausgeführt werden:
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 #. oracle.sql
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
164 #. oracle-minfo.sql
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
165 #. oracle-spatial.sql
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
166 #. oracle-spatial_idx.sql
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
167
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
168 Wechseln in den db-schema Ordner (als flys nutzer)::
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
169
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
170 cd /opt/flys/db-schema
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
171
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
172 SQLPlus aufrufen (mit passendem Encoding zu den scripten)::
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
173
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
174 NLS_LANG=.AL32UTF8 /opt/instantclient_11_2/sqlplus <user>/<pass>@<ip>:<port>/<service>
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
175
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
176 Dann im sqlplus client::
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
177
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
178 @oracle.sql
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
179 @oracle-minfo.sql
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
180 @oracle-spatial.sql
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
181 @oracle-spatial_idx.sql
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 ``Schema löschen``
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
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
186 Zum Löschen der im Schritt Schema importieren importierten Schemata
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
187 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
188 folgender Reihenfolge ausgeführt werden::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
189
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
190 @oracle-drop-spatial.sql
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
191 @oracle-drop-minfo.sql
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
192 @oracle-drop.sql
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
193
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
194 .. raw:: pdf
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
195
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
196 PageBreak
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
197
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
198
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
199 D4E-River Server Installieren
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
200 -----------------------------
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
201
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
202 Neue Versionen des gesamten FLYS Pakets werden üblicherweise als
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
203 GZIP komprimierter Tarball mit dem Namensschema flys-VERSION.tar.gz
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
204 zur Verfügung gestellt. Als Beispiel wird hier die Version 3.0.16
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
205 angenommen.
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
206
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
207 ``Passende Java Version installieren``
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
208 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
209
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
210 D4E-River benötigt ein Sun oder OpenJDK Java. Dieses muss extra
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
211 installiert werden::
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
212
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
213 cd /opt/flys
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
214 sh ./jdk-6u26-linux-x64-rpm.bin
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
215 update-alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_26/bin/java 5
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
216 update-alternatives --install /etc/alternatives/jre jre /usr/java/jdk1.6.0_26/jre 5
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
217 update-alternatives --config java
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
218
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
219 In dem folgenden Menü sollte als option die Java Version auswählen, welche unter
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
220 /usr/java liegt.
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
221
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
222 ``Server entpacken``
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
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
225 #. Als Nutzer flys einloggen::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
226
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
227 su - flys
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 #. Tarball entpacken::
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 cd /opt/flys
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
232 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
233
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
234 #. Symlink für die aktuelle Version anlegen::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
235
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
236 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
237
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
238 ``Server konfigurieren``
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
239 ~~~~~~~~~~~~~~~~~~~~~~~~
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
240
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
241 Die externen Datenbanken von Dive4Element River werden in den
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
242 folgenden Dateien konfiguriert.::
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
243
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
244 /opt/flys/flys-3.0.16/server/conf/backend-db.xml
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
245 /opt/flys/flys-3.0.16/server/conf/seddb-db.xml
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
246
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
247 In diesen sind Nutzername, Passwort und URL entsprechend den passenden
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
248 Werten anzupassen.
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
249
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
250 Die URL ist dabei nach folgendem Schema aufgebaut:
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
251 jdbc:oracle:thin:@//<hostname>:<port>/<service>
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
252
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
253 Mithilfe des Eintrags::
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
254
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
255 <connection-init-sqls>ALTER SESSION SET CURRENT_SCHEMA=$SCHEMA;</connection-init-sqls>
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
256
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
257 kann man den initalen Schema Präfix der Datenbank ändern.
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
258 Wobei $SCHEMA ein Platzhalter für das zu verwendende Schema ist.
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
259 z.B.::
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
260
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
261 <connection-init-sqls>ALTER SESSION SET CURRENT_SCHEMA=SEDDB;</connection-init-sqls>
7449
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 #. URL für Kartendienste
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
264 Sollte der Host-Name des neuen Servers nicht flys3-devel.bafg.de lauten, muss man
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
265 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
266
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
267 cd /opt/flys/flys-3.0.16/server/conf
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
268 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
269
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
270 #. URL für das Wiki:
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
271 Die URL unter welcher das Flys-Wiki erwartet wird ist in server/conf/conf.xml
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
272 im Eintrag <help-url> konfiguriert. Dies muss auch ggf. auf den neuen Host-Namen
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
273 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
274
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
275 #. Gewässerdaten auf das System kopieren:
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
276 Die Gewässerdaten müssen auf das System übertragen werden und
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
277
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
278 #. Gewässerdaten:
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
279 Zur Berechnung von Überschwemmungsflächen werden digitale Geländemodelle benötigt.
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
280
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
281 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
282 zu konfigurieren. z.B.::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
283
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
284 <dgm-path>/opt/gewaesser<dgm-path>
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
285
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
286 ``Server starten``
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
287 ~~~~~~~~~~~~~~~~~~
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 #. Zurück auf root wechseln::
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 exit
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
292
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
293 #. Startskript hinterlegen::
7449
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 cp /opt/flys/d4e-river /etc/init.d
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
296 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
297 cd /etc/init.d/rc3.d
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
298 ln -s ../d4e-river S10d4e-river
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
299 ln -s ../d4e-river K10d4e-river
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
300 cd /etc/init.d/rc5.d
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
301 ln -s ../d4e-river S10d4e-river
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
302 ln -s ../d4e-river K10d4e-river
7449
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 #. Server starten::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
305
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
306 /etc/init.d/d4e-river start
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
307
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
308 Nun kann man sich mit einem Blick in /var/log/flys/server-3.0.16.log
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
309 vergewissern, dass der Server korrekt gestartet wurde. In diesem
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
310 Fall wäre die letze Zeile des Logs in der Art::
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
311
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
312 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
313
7454
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
314 .. raw:: pdf
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
315
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
316 PageBreak
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
317
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
318 Kartendienste einrichten
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
319 ------------------------
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
320
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
321 In SuSE Linux Enterprise ist kein Paket für den benötigten Mapserver
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
322 vorhanden. Dieses muss manuell installiert werden (root)::
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
323
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
324 cd /opt/flys/mapserver-pakete
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
325 rpm -i --nodeps *.rpm
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
326
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
327 Ob die Installation erfolgreich war kann man durch Abfrage der Mapserver
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
328 Version testen::
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
329
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
330 /srv/www/cgi-bin/mapserv -v
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
331
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
332 Nun können die Kartendienste (river-wms, user-wms) von Flys eingerichtet
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
333 werden (als root)::
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
334
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
335 cp /opt/flys/*-wms /srv/www/cgi-bin/
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
336 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
337
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
338 Apache konfigurieren
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
339 --------------------
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
340
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
341 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
342 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
343 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
344 da in diesem die URL enthalten ist.
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
345
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
346 Apache Konfiguration kopieren::
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
347
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
348 cp /opt/flys/flys.conf /etc/apache2/vhosts.d
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
349
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
350 In der Konfigurationsdatei ``/etc/apache2/vhosts.d/flys.conf`` muss ggf.
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
351 der redirect auf einen anderen Host geändert werden.
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
352
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
353 Apache neu starten::
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
354
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
355 /etc/init.d/apache2 restart
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
356
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
357 ``HTTPS einrichten``
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
358 ~~~~~~~~~~~~~~~~~~~~
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
359
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
360 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
361 entsprechend anpassen. Wie dies zu geschehen hat ist der Apache Dokumentation
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
362 zu entnehmen und soll nicht Teil dieser Anleitung sein. Allerdings ist zu bemerken,
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
363 dass darauf geachtet werden sollte, es weiterhin zu ermöglichen Kartendienste über
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
364 http abzurufen. Dies kann man durch einen bedingten Redirect in der Konfiguration
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
365 des VirtualHosts auf Port 80 erreichen::
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
366
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
367 RewriteEngine on
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
368 RewriteCond %{REQUEST_URI} !^/cgi-bin/
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
369 RewriteRule (.*) https://flys3-devel.bafg.de/$1 [R=301,L]
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
370
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
371 .. raw:: pdf
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
372
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
373 PageBreak
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
374
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
375 Web Client Installieren
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
376 -----------------------
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
377
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
378 Der Web Client läuft als Tomcat Webapp. Damit Tomcat diesen startet
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
379 muss der Client nur an die richtige Stelle kopiert werden. (als root)::
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
380
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
381 /etc/init.d/tomcat6 stop
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
382 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
383 /etc/init.d/tomcat6 start
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
384
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
385 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
386 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
387
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
388 Ggf. ist noch der Eintrag print-url in der Datei
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
389 ``/usr/share/tomcat/webapps/flys-3.0.16/WEB-INF/web.xml`` anzupassen
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
390 insbesondere wenn man zwischen https und http wechselt. Default ist https.
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
391
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
392
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
393 In der Datei ``/var/log/tomcat6/catalina.out`` kann man nachsehen ob
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
394 der Start erfolgreich war. Gab es Probelme mit Java muss man
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
395 ggf. die verwendete Java Version in /etc/tomcat6/tomcat6.conf
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
396 anpassen indem man den Eintrag JAVA_HOME ändert::
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
397
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
398 JAVA_HOME="/usr/java/jdk1.6.0_26/jre"
7454
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
399
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
400 Wiki installieren
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
401 -----------------
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
402
7453
affad83fd785 Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents: 7452
diff changeset
403 Das Wiki für den Fachdienst Flys ist so konfiguriert, dass es
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
404 unter /home/flys/wiki erwartet wird.
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
405
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
406 Wiki entpacken::
7449
5363047c8274 Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
407
7452
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
408 su - flys
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
409 cd /home/flys
b6e954fa8b82 More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents: 7449
diff changeset
410 tar -xf /opt/flys/flys-wiki.tar.gz
7454
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
411 exit
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
412
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
413 Rechte für wwwrun setzen::
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
414
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
415 cd /home/flys/wiki/moin-2013-02-01/wiki/
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
416 chown -R wwwrun data underlay
d9488ca6090b inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents: 7453
diff changeset
417
7472
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
418 .. raw:: pdf
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
419
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
420 PageBreak
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
421
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
422
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
423 FLYS-Importer
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
424 -------------
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
425
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
426 Um den Flys Importer nach /opt/flys zu installieren
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
427 reicht es Diesen zu entpacken (als Nutzer flys).::
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
428
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
429 cd /opt/flys
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
430 tar -xf /opt/flys-importer_201310251707.tar.gz
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
431
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
432 Dieser liegt anschließend unter /opt/flys-importer
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
433 bereit. Die Konfiguration und Verwendung ist der
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
434 Importer Dokumentation zu entnehmen. Diese liegt
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
435 nun unter::
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
436
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
437 /opt/flys/flys-importer/importer-manual.pdf
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
438
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
439 AFT-DIPS
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
440 --------
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
441
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
442 AFT Dips nach /opt/flys installieren::
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
443
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
444 cd /opt/flys/
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
445 tar -xf aft-dips-etl.tar.gz
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
446
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
447 Ggf. muss nun noch die Konfiguration der Datenbanken angepasst werden.
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
448 Die zugehörige Konfigurationsdatei ist::
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
449
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
450 /opt/flys/aft-dips-etl/conf/conf.xml
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
451
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
452 Der Prozess kann nun ausgeführt werden::
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
453
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
454 /opt/flys/aft-dips-etl/bin/run.sh
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
455
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
456 Logs des AFT/DIPS synchronisationsprozesses werden unter
9cf5fd49837a Dokumention zur Installation erweitert
Andre Heinecke <aheinecke@intevation.de>
parents: 7454
diff changeset
457 ``/opt/flys/aft-dips-etl/logs`` abgelegt.

http://dive4elements.wald.intevation.org