Mercurial > dive4elements > river
annotate artifacts/doc/installation_de.rst @ 7458:b2e167f193d7
run_geo.sh: allow logging as documented.
author | Tom Gottfried <tom.gottfried@intevation.de> |
---|---|
date | Tue, 29 Oct 2013 18:57:40 +0100 |
parents | d9488ca6090b |
children | 9cf5fd49837a |
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 Übersicht |
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 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
8 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
|
9 |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
10 Abgehandelt werden die Installation der Server-Anwendung (D4E-River), |
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
11 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
|
12 des Moin-Wikis. |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
13 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
14 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
|
15 |
7454
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
16 .. contents:: Inhalt |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
17 |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
18 .. raw:: pdf |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
19 |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
20 PageBreak |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
21 |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
22 Vorbereitung des Systems |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
23 --------------------------- |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
24 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
25 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
|
26 |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
27 #. Hinzufügen des OBS Repositorys von Intevation:: |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
28 |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
29 zypper addrepo -f \ |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
30 http://download.opensuse.org/repositories/home:/intevation:/bfg/ |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
31 SLE_11_SP1/home:intevation:bfg.repo |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
32 |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
33 #. Installieren der benötigten Pakete:: |
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 zypper install python-devel python-setuptools libxslt-devel libxml2-devel \ |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
36 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
|
37 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
|
38 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
39 #. Anlegen der Logger Gruppe:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
40 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
41 gropadd flys_log |
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 #. Anlegen des Flys Nutzers:: |
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 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
|
46 |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
47 #. 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
|
48 |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
49 usermod -A flys_log tomcat |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
50 usermod -A flys_log wwwrun |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
51 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
52 #. Logging Verzeichnis anlegen:: |
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 mkdir /var/log/flys |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
55 chgrp flys_log /var/log/flys |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
56 chmod 775 /var/log/flys |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
57 |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
58 #. Betriebsordner anlegen:: |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
59 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
60 mkdir /opt/flys |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
61 chown flys /opt/flys |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
62 |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
63 #. Firewall ausschalten:: |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
64 |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
65 SuSEfirewall2 off |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
66 |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
67 Der Key-Fingerprint des Intevations Repositorys ist: |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
68 ``18F8 A017 6DFB 7FD1 22BC 20D6 A73E 24AF BC5A 7BAC`` |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
69 |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
70 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
|
71 kopiert und dem Benutzer flys zugänglich gemacht werden. |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
72 |
7454
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
73 .. raw:: pdf |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
74 |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
75 PageBreak |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
76 |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
77 Oracle Client installieren |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
78 -------------------------- |
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 #. Instantclient entpacken:: |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
81 |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
82 cd /opt |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
83 tar -xf /opt/flys/instantclient_11_2.tar.gz |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
84 chown -R flys /opt/instantclient_11_2 |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
85 |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
86 #. Library loader konfigurieren:: |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
87 |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
88 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
|
89 |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
90 |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
91 Datenbank initialisieren |
7454
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
92 ------------------------ |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
93 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
94 ``Datenbank erstellen`` |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
95 ~~~~~~~~~~~~~~~~~~~~~~~ |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
96 |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
97 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
|
98 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
|
99 Im folgenden ein Beispiel:: |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
100 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
101 --CREATE TABLESPACE for user |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
102 CREATE TABLESPACE "flys3" DATAFILE |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
103 '/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
|
104 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
|
105 MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SPACE |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
106 MANAGEMENT AUTO; |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
107 --CREATE USER |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
108 CREATE USER flys3 IDENTIFIED BY flys3; |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
109 -- USER SQL |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
110 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
|
111 ACCOUNT UNLOCK ; |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
112 -- QUOTA for user on TABLESPACE |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
113 ALTER USER flys3 QUOTA UNLIMITED ON "flys3"; |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
114 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
|
115 GRANT CREATE SESSION TO flys3 ; |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
116 GRANT CREATE VIEW TO flys3; |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
117 GRANT CONNECT, RESOURCE TO flys3; |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
118 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
119 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
120 ``Schema importieren`` |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
121 ~~~~~~~~~~~~~~~~~~~~~~ |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
122 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
123 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
|
124 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
|
125 DB-Schema. Wichtig ist, dass die folgenden |
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
126 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
|
127 ausgeführt werden: |
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 #. oracle.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
130 #. oracle-minfo.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
131 #. oracle-spatial.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
132 #. oracle-spatial_idx.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
133 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
134 |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
135 Mit einem vorhandenen sqlplus unter /opt/instantclient_11_2:: |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
136 |
7454
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
137 NLS_LANG=.AL32UTF8 /opt/instantclient_11_2/sqlplus <user>/<pass>@<ip>:<port>/<dbname> |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
138 @oracle.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
139 @oracle-minfo.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
140 @oracle-spatial.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
141 @oracle-spatial_idx.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
142 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
143 ``Schema löschen`` |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
144 ~~~~~~~~~~~~~~~~~~ |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
145 |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
146 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
|
147 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
|
148 folgender Reihenfolge ausgeführt werden:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
149 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
150 #. oracle-drop-spatial.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
151 #. oracle-drop-minfo.sql |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
152 #. oracle-drop.sql |
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 D4E-River Server Installieren |
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 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
|
158 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
|
159 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
|
160 angenommen. |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
161 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
162 ``Server entpacken`` |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
163 ~~~~~~~~~~~~~~~~~~~~ |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
164 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
165 #. Als Nutzer flys einloggen:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
166 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
167 su - flys |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
168 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
169 #. Tarball entpacken:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
170 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
171 cd /opt/flys |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
172 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
|
173 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
174 #. Symlink für die aktuelle Version anlegen:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
175 |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
176 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
|
177 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
178 ``Server konfigurieren`` |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
179 ~~~~~~~~~~~~~~~~~~~~~~~~ |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
180 #. Datenbank-Verbindung: |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
181 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
182 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
|
183 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
|
184 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
185 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
|
186 Werten anzupassen. |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
187 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
188 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
|
189 jdbc:oracle:thin:@//<hostname>:<port>/<backend> |
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 Mithilfe des Eintrags:: |
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 <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
|
194 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
195 kann man den initalen Schema Präfix der Datenbank ändern. |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
196 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
|
197 z.B.:: |
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 <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
|
200 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
201 #. URL für Kartendienste |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
202 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
|
203 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
|
204 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
205 cd /opt/flys/flys-3.0.16/server/conf |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
206 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
|
207 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
208 #. URL für das Wiki: |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
209 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
|
210 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
|
211 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
|
212 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
213 #. Gewässerdaten: |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
214 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
|
215 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
216 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
|
217 zu konfigurieren. z.B.:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
218 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
219 <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
|
220 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
221 ``Server starten`` |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
222 ~~~~~~~~~~~~~~~~~~ |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
223 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
224 #. Zurück auf root wechseln:: |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
225 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
226 exit |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
227 |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
228 #. Startskript hinterlegen:: |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
229 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
230 cp /opt/flys/d4e-river /etc/init.d |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
231 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
|
232 cd /etc/init.d/rc3.d |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
233 ln -s ../d4e-river S10d4e-river |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
234 ln -s ../d4e-river K10d4e-river |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
235 cd /etc/init.d/rc5.d |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
236 ln -s ../d4e-river S10d4e-river |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
237 ln -s ../d4e-river K10d4e-river |
7449
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 #. Server starten:: |
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 /etc/init.d/d4e-river start |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
242 |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
243 Nun kann man sich mit einem Blick in /var/log/server-3.0.16.log |
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
244 vergewissern, dass der Server korrekt gestartet wurde. In diesem |
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
245 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
|
246 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
247 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
|
248 |
7454
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
249 .. raw:: pdf |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
250 |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
251 PageBreak |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
252 |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
253 Kartendienste einrichten |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
254 ------------------------ |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
255 |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
256 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
|
257 vorhanden. Dieses muss manuell installiert werden:: |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
258 |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
259 cd /opt/flys/mapserver-pakete |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
260 rpm -i --nodeps *.rpm |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
261 |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
262 Ob die Installation erfolgreich war kann man durch Abfrage der Mapserver |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
263 Version testen:: |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
264 |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
265 /srv/www/cgi-bin/mapserv -v |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
266 |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
267 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
|
268 werden (als root):: |
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 cp /opt/flys/*-wms /srv/www/cgi-bin/ |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
271 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
|
272 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
273 Apache konfigurieren |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
274 -------------------- |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
275 |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
276 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
|
277 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
|
278 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
|
279 da in diesem die URL enthalten ist. |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
280 |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
281 Apache Konfiguration kopieren:: |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
282 |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
283 cp /opt/flys/flys.conf /etc/apache2/vhosts.d |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
284 /etc/init.d/apache2 reload |
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 ``HTTPS einrichten`` |
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 |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
289 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
|
290 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
|
291 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
|
292 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
|
293 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
|
294 des VirtualHosts auf Port 80 erreichen:: |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
295 |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
296 RewriteEngine on |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
297 RewriteCond %{REQUEST_URI} !^/cgi-bin/ |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
298 RewriteRule (.*) https://flys3-devel.bafg.de/$1 [R=301,L] |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
299 |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
300 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
301 Web Client Installieren |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
302 ----------------------- |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
303 |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
304 Der Web Client läuft als Tomcat Webapp. Damit Tomcat diesen startet |
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
305 muss der Client nur an die richtige Stelle kopiert werden.:: |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
306 |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
307 /etc/init.d/tomcat6 stop |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
308 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
|
309 /etc/init.d/tomcat6 start |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
310 |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
311 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
|
312 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
|
313 |
7454
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
314 Ggf. ist noch der eintrag print-url in der web.xml anzupassen insbesondere |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
315 wenn man zwischen https und http wechselt. Default ist https. |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
316 |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
317 Wiki installieren |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
318 ----------------- |
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
319 |
7453
affad83fd785
Rechtschreibkorrektur (durchgeführt von Bettina)
Andre Heinecke <aheinecke@intevation.de>
parents:
7452
diff
changeset
|
320 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
|
321 unter /home/flys/wiki erwartet wird. |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
322 |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
323 Wiki entpacken:: |
7449
5363047c8274
Start installation documentation for specific client installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
324 |
7452
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
325 su - flys |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
326 cd /home/flys |
b6e954fa8b82
More installation documentation
Andre Heinecke <aheinecke@intevation.de>
parents:
7449
diff
changeset
|
327 tar -xf /opt/flys/flys-wiki.tar.gz |
7454
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
328 exit |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
329 |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
330 Rechte für wwwrun setzen:: |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
331 |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
332 cd /home/flys/wiki/moin-2013-02-01/wiki/ |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
333 chown -R wwwrun data underlay |
d9488ca6090b
inor Layout + Wiki
Andre Heinecke <aheinecke@intevation.de>
parents:
7453
diff
changeset
|
334 |