annotate INSTALL @ 418:9709bf4162fa

Removed importer config.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 04 Feb 2015 15:48:42 +0100
parents 9e78c057d51e
children
rev   line source
411
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
1 Installation
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
2 ============
412
dfe537458afb Textpassagen zwischen README und INSTALL ausgetauscht.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 411
diff changeset
3 Allgemeine Informationen finden Sie in der README Datei
411
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
4
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
5 Die Installation der Serverkomponente erfordert folgende Vorraussetzungen:
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
6
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
7 * PostgreSQL-9.2/PostGIS-2.0 Datenbank inklusive Testdaten
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
8 * JBoss-AS
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
9
415
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
10 Zum Bauen der Anwendung aus den Quellen wird zusätzlich das Build-Tool 'maven'
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
11 benötigt.
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
12
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
13 Installation JBoss-AS
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
14 -------------------------
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
15
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
16 Im folgenden ist die Installation des JBoss-AS in dem Ordner /opt beschrieben.
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
17
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
18 $ cd /opt
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
19 $ curl -O http://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.zip
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
20 # Integrität prüfen. Leider bietet Redhat für diese "Community Edition" keinen
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
21 # Überprüfungsweg an. Vermutlich als Verkaufsanreiz für die professionelle
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
22 # Version. Beim Herunterladen am 2013-05-09 hatte die Datei folgende sha256
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
23 # Prüfsumme:
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
24 # 0aece7899b54c0219732112307b2bede78ab9b39ee14140ce89ac8c1b716d0ee
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
25 # jboss-as-7.1.1.Final.zip
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
26 $ unzip jboss-as-7.1.1.Final.zip
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
27
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
28 # Der Jboss Server soll nicht als root, sondern unter einem dedizierten Nutzer
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
29 # laufen. In diesem Fall als Nutzer "lada". Hierfür müssen einige
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
30 # Berechtigungen angepasst werden.
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
31 $ USER=lada
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
32 $ chgrp -R ${USER} jboss-as-7.1.1.Final
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
33 $ cd jboss-as-7.1.1.Final
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
34 $ chmod 775 standalone/
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
35 $ chmod 775 standalone/deployments
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
36 $ chmod 775 standalone/tmp
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
37 $ chmod 775 standalone/configuration
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
38 $ chmod 660 standalone/configuration/mgmt-users.properties
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
39 $ chmod 660 standalone/configuration/application-users.properties
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
40
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
41 Einrichten eines Admin Zugangs
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
42 ``````````````````````````````
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
43 Um den JBoss Server über die Weboberfläche administrieren zu können muss
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
44 zunächst ein neuer Nutzer erstellt werden:
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
45
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
46 $ cd jboss-as-7.1.1.Final
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
47 $ sh bin/add-user.sh
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
48
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
49 Einrichten von JBoss als Service
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
50 ````````````````````````````````
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
51 JBoss soll als Service start und beendbar sein.
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
52
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
53 $ cd /etc/init.d
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
54 $ cp /opt/jboss-as-7.1.1.Final/bin/init.d/jboss-as-standalone.sh jboss
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
55
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
56 # In diesem SCRIPT müssen dann folgene Variablen angepasst werden:
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
57 # 1. JBOSS_HOME=/opt/jboss-as-7.1.1.Final
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
58 # 2. JBOSS_USER=lada
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
59
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
60 $ servive jboss start
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
61
411
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
62
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
63 Datenbank
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
64 ---------
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
65 Die LADA Anwendung basiert auf einer PostgreSQL/PostGIS Datenbank in den
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
66 Versionen PostgreSQL 9.2/PostGIS 2.0.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
67 Beipieldaten sind in dem Datenbankdump lada-db.zip verfügbar und können
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
68 in eine PostgreSQL/PostGIS Datenbank importiert werden.
414
c65587869b3f Updated INSTALL
Raimund Renkert <rrenkert@intevation.de>
parents: 412
diff changeset
69 Hierzu sollte vorher ein Benutzer in der Datenbank angelegt werden. In der
c65587869b3f Updated INSTALL
Raimund Renkert <rrenkert@intevation.de>
parents: 412
diff changeset
70 folgenden Installationsanleitung wird davon ausgegangen, dass ein Benutzer
c65587869b3f Updated INSTALL
Raimund Renkert <rrenkert@intevation.de>
parents: 412
diff changeset
71 'lada' in der Datenbank existiert.
411
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
72 Der dadurch verfügbare Testdatensatz enthält zusätzlich Daten zu Gemeinden und
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
73 Verwaltungen in Deutschland, die vom BKG zur Verfügung gestellt werden.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
74
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
75 Einrichtung der Datenbankverbindung im JBoss AS
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
76 -----------------------------------------------
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
77 Die Datenbankverbindung wird im Application Server eingerichtet. Hierzu muss der
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
78 entsprechende Treiber zunächst als Modul eingefügt werden. Die folgenden
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
79 Schritte setzen vorraus, dass der JBoss AS in dem Ordner
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
80 /opt/jboss-as-7.1.1-Final installiert ist.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
81
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
82 1. Anlegen des Verzeichnisses und herunterladen der Treiber.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
83
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
84 $cd /opt/jboss-as-7.1.1.Final/modules/org
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
85 $mkdir -p postgresql/main/
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
86 $cd postgresql/main
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
87 $curl -O "http://jdbc.postgresql.org/download/postgresql-9.2-1002.jdbc4.jar"
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
88 $curl -O "http://www.hibernatespatial.org/repository/org/postgis/postgis-jdbc/1.5.2/postgis-jdbc-1.5.2.jar"
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
89
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
90 2. In dem Ordner /opt/jboss-as-7.1.1.Final/modules/org/postgresql/main/ eine
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
91 Datei module.xml mit folgendem Inhalt anlegen.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
92
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
93 <?xml version="1.0" encoding="UTF-8"?>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
94 <module xmlns="urn:jboss:module:1.0" name="org.postgresql">
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
95 <resources>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
96 <resource-root path="postgresql-9.2-1002.jdbc4.jar"/>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
97 <resource-root path="postgis-jdbc-1.5.2.jar"/>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
98 </resources>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
99 <dependencies>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
100 <module name="javax.api"/>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
101 <module name="javax.transaction.api"/>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
102 </dependencies>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
103 </module>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
104
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
105 3. Einfügen der Hibernate-Spatial Komponenten.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
106
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
107 $cd /opt/jboss-as-7.1.1.Final/modules/org/hibernate/main
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
108 $curl -O "http://www.hibernatespatial.org/repository/org/hibernate/hibernate-spatial/4.0/hibernate-spatial-4.0.jar"
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
109 $curl -O "http://repo1.maven.org/maven2/com/vividsolutions/jts/1.13/jts-1.13.jar"
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
110
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
111 4. Eintragen der Hibernate-Spatial Komponenten in
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
112 /opt/jboss-as-7.1.1.Final/modules/org/hibernate/main/module.xml
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
113
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
114 <resources>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
115 ...
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
116 <resource-root path="hibernate-spatial-4.0.jar"/>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
117 <resource-root path="jts-1.13.jar"/>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
118 </resources>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
119 <dependencies>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
120 ...
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
121 <module name="org.postgresql"/>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
122 </dependencies>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
123
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
124 5. Einfügen des PostgreSQL Moduls als Treiber in die JBoss Konfiguration.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
125
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
126 In den Abschnitt <datasources> folgenden Block einfügen:
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
127
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
128 <driver name="postgis" module="org.postgresql">
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
129 <xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
130 </driver>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
131
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
132
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
133 Nun kann man eine neue Datenbankverbindung mit dem neuen Treiber einrichten.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
134 Dazu verbindet man sich mit dem soeben angelegten Management-Nutzer mit der
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
135 Administrations-Webinterface unter der Adresse: http://localhost:9990
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
136
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
137 1. Datesources auswählen. Hier werden alle derzeit eingerichteten Datenquellen
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
138 angzeigt. Wir wollen eine neue einrichten. Hierzu
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
139 2. Oben rechts von "Runtime" auf "Profile" wechseln.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
140 3. "Add" wählen.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
141 4. Name: Lada, JNDI: java:/jboss/Lada
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
142 5. Treiber Wählen: postgis
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
143 6. Weitere Verbindungsparameter angeben.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
144 a) connection url: jdbc:postgresql_postGIS://localhost:5432/lada
414
c65587869b3f Updated INSTALL
Raimund Renkert <rrenkert@intevation.de>
parents: 412
diff changeset
145 b) Nutzer (lada)
411
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
146 c) Password
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
147
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
148 7.Da während dieser Einrichtung die Standard PostgreSQL Treiberklasse gewählt
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
149 wird, muss diese noch in der Datei
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
150 /opt/jboss-as-7.1.1.Final/standalone/configuration/standalone.xml
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
151 geändert werden:
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
152 Hierzu wird im Abschnitt <datasources> für die neu angelegte Datenquelle
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
153 <driver-class>org.postgresql.Driver</driver-class> gegen
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
154 <driver-class>org.postgis.DriverWrapper</driver-class> ausgetauscht.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
155
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
156 Installation der LADA Anwendung
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
157 ===============================
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
158 Zur Installation der LADA Anwendung müssen folgende Schritte unternommen werden:
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
159
415
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
160 Erstellen der Anwendung aus den Quellen (optional)
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
161 --------------------------------------------------
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
162
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
163 Befehle zum Bauen der Anwendung aus den Quellen:
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
164
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
165 $ cd /path/to/sources/
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
166 $ mvn clean compile package
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
167
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
168 Das WAR-Archiv der Anwendung wird in dem Ordner 'target/' abgelegt.
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
169
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
170 Installation des Pakets
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
171 -----------------------
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
172
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
173 $ cd /opt/jboss-as-7.1.1.Final/standalone/deployments
9e78c057d51e Updated INSTALL doc.
Raimund Renkert <rrenkert@intevation.de>
parents: 414
diff changeset
174 $ cp /path/where/the/war/file/is/lada.war .
412
dfe537458afb Textpassagen zwischen README und INSTALL ausgetauscht.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 411
diff changeset
175 touch lada.war.dodeploy
dfe537458afb Textpassagen zwischen README und INSTALL ausgetauscht.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 411
diff changeset
176
411
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
177 $cd /opt/jboss-as-7.1.1.Final/standalone/deployments
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
178 $cp /path/where/the/war/file/is/lada.war .
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
179 $touch lada.war.dodeploy
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
180
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
181 Zum Aktualisieren der Anwendung genügt es, wenn die lada.war Datei aktualisiert
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
182 wird.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
183
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
184 Die Anwendung ist dann unter dem Pfad "/lada" (abhängig vom Archivnamen)
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
185 erreichbar.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
186
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
187 Konfiguration der LADA Anwendung
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
188 ================================
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
189 Die Konfigurationsdateien sind Dateien im JSON-Format und können an einer
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
190 beliebigen Stelle im System abgelegt werden, solang diese Dateien für den
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
191 Nutzer, mit dem JBoss-Server gestartet wird, gelesen werden kann.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
192
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
193 Bei Änderungen an der Konfigurationsdatei muss der Server nicht neu gestartet
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
194 werden. Es reicht ein erneutes Laden der Anwendung durch den Client.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
195 Vorbereitete und vollständige Konfigurationsdateien sind in dem Ordner
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
196 'config' zu finden.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
197
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
198 Importer
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
199 --------
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
200 Der Pfad an dem diese Konfigurationsdatei zu finden ist wird in einer JBoss
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
201 Konfigurationsdatei "standalone.xml" abgelegt. Diese Datei findet sich im JBoss
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
202 Ordner ($JBOSSHOME/standalone/configuration/standalone.xml).
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
203
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
204 In dieser Datei wird der Pfad in Form einer Property abgelegt:
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
205
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
206 <server xmlns="urn:jboss:domain:1.2">
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
207 ...
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
208
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
209 <system-properties>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
210 <property name="de.intevation.lada.importconfig"
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
211 value="/pfad/zur/konfigurations/datei/des/importers.json"/>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
212 </system-properties>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
213
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
214 ...
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
215 </server>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
216
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
217 Flexible Suche
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
218 --------------
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
219 Der Pfad an dem diese Konfigurationsdatei zu finden ist wird in einer JBoss
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
220 Konfigurationsdatei "standalone.xml" abgelegt. Diese Datei findet sich im JBoss
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
221 Ordner ($JBOSSHOME/standalone/configuration/standalone.xml).
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
222
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
223 In dieser Datei wird der Pfad in Form einer Property abgelegt:
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
224
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
225 <server xmlns="urn:jboss:domain:1.2">
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
226 ...
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
227
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
228 <system-properties>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
229 ...
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
230 <property name="de.intevation.lada.sqlconfig"
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
231 value="/pfad/zur/konfigurations/datei/der/abfragen.json"/>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
232 </system-properties>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
233
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
234 ...
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
235 </server>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
236
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
237 Einrichtung des Webservers (Apache)
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
238 ===================================
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
239 Die folgenden Module des Apache Webserver sind nötig, um die LADA Anwendung zu
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
240 betreiben:
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
241 * ldap_module: Authenitfizierung gegen den LDAP
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
242 * headers_module: Setzten der Header nach der Authenitifizierung
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
243 * proxy_module: Reverse Proxy des Apache zum Jboss-Server
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
244
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
245 Damit der Client eine Verbindung zu dem Server aufbauen kann, um von dort Daten
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
246 laden zu können ist es notwendig den Server weiter zu konfigurieren.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
247
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
248 togglesebool httpd_can_network_connect
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
249 service httpd restart
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
250
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
251 Dies erlaubt dem Apache grundsätzlich sich an einen anderen Dienst zu verbinden.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
252
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
253 Nun muss noch ein Reverse-Proxy eingerichtet werden. Dieser ist nur für
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
254 bestimmte Adressen aktiv
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
255
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
256 Folgende Datei sollte unter "/etc/httpd/conf.d/lada.conf" angelegt werden:
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
257
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
258 <VirtualHost *:80>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
259 ServerAdmin webmaster@localhost
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
260 #ServerName dummy-host.example.com
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
261 ErrorLog logs/lada-error_log
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
262 CustomLog logs/lada-access_log common
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
263
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
264 # Set multiple Proxys
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
265 ProxyPass /lada/server http://localhost:8080/lada
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
266 ProxyPassReverse /lada/server http://localhost:8080/lada
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
267 </VirtualHost>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
268
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
269 Alles Anfragen an die Adresse "/lada/service" werden nun an den JBoss
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
270 weitergeleitet.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
271
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
272 Authentifizierung
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
273
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
274 Die Authentifizierung geschieht gegen einen LDAP-Server.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
275
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
276 <Location /lada>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
277 AuthType basic
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
278 AuthName "test"
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
279 AuthBasicProvider ldap
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
280 AuthLDAPURL "ldap://ike.polyhedra.intevation.de:389/cn=users,dc=icosahedron,dc=polyhedra,dc=intevation,dc=de?uid,memberof??(&(objectClass=inetOrgPerson)(memberOf=*))"
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
281 Require valid-user
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
282 </Location>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
283
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
284 <Location /lada/server>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
285 RequestHeader unset Authorization
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
286 RequestHeader set X-LDAP-User "%{AUTHENTICATE_uid}e"
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
287 RequestHeader set X-LDAP-Groups "%{AUTHENTICATE_memberof}e"
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
288 </Location>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
289
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
290 Sofern gewünscht ist die Authentifizierung für Testzwecke zu deaktivieren muss
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
291 trotz allem die entsprechenden Header gesetzt werden, da der Server diese
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
292 derzeit erwartet.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
293
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
294 # Set Headers to simulate Authentification.
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
295 <Location /lada/server>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
296 RequestHeader set X-LDAP-User "mst_06010"
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
297 RequestHeader set X-LDAP-Groups "cn=Imis_world,cn=groups,dc=icosahedron,dc=polyhedra,dc=intevation,dc=de;cn=mst_06010,cn=groups,dc=icosahedron,dc=polyhedra,dc=intevation,dc=de;cn=mst_11010,cn=groups,dc=icosahedron,dc=polyhedra,dc=intevation,dc=de"
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
298 </Location>
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
299
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
300 Dokumentation
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
301 =============
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
302 Eine HTML-Dokumenation des Quellcodes(Javadoc) ist in dem Ordner 'doc' hinterlegt und
f7fa401563ee Added INSTALL file.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
303 kann über einen Webserver (z.B. Apache WebServer) bereitgestellt werden.
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)