Inhaltsverzeichnis
Apache Tomcat 6
HINWEIS Diese Konfiguration ist für einen Apache Tomcat 6-Application-Server HINTER einem Apache HTTPD Server gedacht !!! HINWEIS |
---|
Apache Tomcat stellt eine Umgebung zur Ausführung von Java-Code für Web-Server bereit. Es handelt sich um einen Servlet-Container, der mithilfe des JSP-Compilers Jasper JavaServer Pages in Servlets übersetzen und ausführt. Zusätzlich ist ein kompletter HTTP-Server integriert.
HINWEIS - Für einen erfolgreichen Betrieb eines Apache Tomcat Application Servers, soll eine Installation unter der Linux CentOS in der Version 6.x erfolgen!
Es soll hier ein Repository eines Drittanbieters, hier z.B. dies von EPEL eingebunden werden!
EPEL ist eine Zusammenfassung des Fedora Projektes. Es enthält z.Zt. über 14000 Pakete.
Das Fedora Projekt-Repository ist weder offizieller Bestandteil der RedHat-Distribution noch der CentOS-Distribution.
Ab hier werden zur Ausführung nachfolgender Befehle root
-Rechte benötigt. Um der Benutzer root
zu werden, melden Sie sich bitte als root
-Benutzer am System an, oder wechseln mit nachfolgendem Befehl zum Benutzer root
:
$ su - Password:
Vorbereitungen
Da hier ein externes Repository eingebunden werden soll, kann eine Beschreibung, wie ein externes Repository eingebunden werden könnte unter nachfolgendem Link, ebenfalls aus diesem DokuWiki als Anleitung genutzt werden:
WICHTIG - In oben dargestellten Ausführungen wird das RPMforge-Repository eingebunden !!
In diesem Falls soll nicht das RPMforge-Repository eingebunden werden, daher muss der Link des einzubindenden Repositorys nachfolgender sein:
Voraussetzungen
Als Voraussetzung für die Installation von Apache Tomcat 6 müssen nachfolgende Komponenten installiert werden:
java-1.6.0-openjdk
- OpenJDK 1.6.0 (JRE)java-1.6.0-openjdk-devel
- OpenJDK 1.6.0 (JDK)tomcat6
- Apache Tomcat 6
HINWEIS - Als Alternative JAVA-Version kann auch die noch am weitest verbreitete Version von SUN/Oracle zum Einsatz kommen, siehe auch nachfolgenden Link, ebenfalls innerhalb dieses DokuWiki's:
Zusätzlich sollten für den Betrieb des Apache Tomcat 6-Servers nachfolgende Komponenten installiert werden:
tomcat-native
- Native Laufzeit Bibliothek The Apache Tomcat Native
Zur besseren Verwaltung des Apache Tomcat 6-Servers, können noch nachfolgende Komponenten installiert werden:
tomcat6-admin-webapps
- Apache Tomcat 6-Administrative Web-Anwendungen (host-manager, manager)tomcat6-webapps
- Apache Tomcat 6-ROOT-Web-Anwendung und Beispiel-Web-Anwendungentomcat6-docs-webapp
- Apache Tomcat 6-Dokumentation zu den Web-Anwendungen
Installationen
Nachfolgend sollen Schritt für Schritt die benötigten Komponenten für den Betrieb eines Apache Tomcat 6 Application Servers installiert werden.
Installation: Java OpenJDK
Das der Apache Tomcat 6 Application Server selbst in Java geschrieben ist, wird zum Betrieb als erstes eine Version von Java benötigt. Die Wahl der Java Variante soll hier das mit dem Betriebssystem erhältliche und frei verfügbare OpenJDK 1.6.0 sein.
HINWEIS - Es wird das Paket java-1.6.0-openjdk-devel
benötigt, nachfolgender (übersetzter) Auszug aus der original Dokumentation, erklärt kurz warum: Das java-1.6.0-openjdk Paket enthält nur die Java Laufzeit Umgebung. Wenn Sie Java Programme entwickeln (auch in Byte-Code übersetzen) wollen, dann Installieren Sie das Paket java-1.6.0-openjdk-devel.
Zur Installation des RPM-Pakets mit dem Namen java-1.6.0-openjdk-devel
,kann nachfolgender Befehl ausgeführt werden:
# yum install java-1.6.0-openjdk-devel Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile base | 3.7 kB 00:00 cr | 3.5 kB 00:00 epel | 4.3 kB 00:00 extras | 3.0 kB 00:00 updates | 3.5 kB 00:00 69 packages excluded due to repository priority protections Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package java-1.6.0-openjdk-devel.x86_64 1:1.6.0.0-1.40.1.9.10.el6_1 will be installed --> Processing Dependency: java-1.6.0-openjdk = 1:1.6.0.0-1.40.1.9.10.el6_1 for package: 1:java-1.6.0-openjdk-devel-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: libjli.so(SUNWprivate_1.1)(64bit) for package: 1:java-1.6.0-openjdk-devel-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: libjli.so()(64bit) for package: 1:java-1.6.0-openjdk-devel-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: libX11.so.6()(64bit) for package: 1:java-1.6.0-openjdk-devel-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Running transaction check ---> Package java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.40.1.9.10.el6_1 will be installed --> Processing Dependency: libjpeg = 6b for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: jpackage-utils >= 1.7.3-1jpp.2 for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: libasound.so.2(ALSA_0.9)(64bit) for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: fontconfig for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: libasound.so.2(ALSA_0.9.0rc4)(64bit) for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: libpng12.so.0(PNG12_0)(64bit) for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: libpulse.so.0(PULSE_0)(64bit) for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: tzdata-java for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: rhino for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: libXext.so.6()(64bit) for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: libfreetype.so.6()(64bit) for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: libXtst.so.6()(64bit) for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: libXrender.so.1()(64bit) for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: libasound.so.2()(64bit) for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: libpulse.so.0()(64bit) for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: libjpeg.so.62()(64bit) for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: libpng12.so.0()(64bit) for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: libXi.so.6()(64bit) for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 --> Processing Dependency: libgif.so.4()(64bit) for package: 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 ---> Package libX11.x86_64 0:1.3-2.el6 will be installed --> Processing Dependency: libX11-common = 1.3-2.el6 for package: libX11-1.3-2.el6.x86_64 --> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.3-2.el6.x86_64 --> Running transaction check ---> Package alsa-lib.x86_64 0:1.0.21-3.el6 will be installed ---> Package fontconfig.x86_64 0:2.8.0-3.el6 will be installed ---> Package freetype.x86_64 0:2.3.11-6.el6_1.8 will be installed ---> Package giflib.x86_64 0:4.1.6-3.1.el6 will be installed --> Processing Dependency: libICE.so.6()(64bit) for package: giflib-4.1.6-3.1.el6.x86_64 --> Processing Dependency: libSM.so.6()(64bit) for package: giflib-4.1.6-3.1.el6.x86_64 ---> Package jpackage-utils.noarch 0:1.7.5-3.12.el6 will be installed ---> Package libX11-common.noarch 0:1.3-2.el6 will be installed ---> Package libXext.x86_64 0:1.1-3.el6 will be installed ---> Package libXi.x86_64 0:1.3-3.el6 will be installed ---> Package libXrender.x86_64 0:0.9.5-1.el6 will be installed ---> Package libXtst.x86_64 0:1.0.99.2-3.el6 will be installed ---> Package libjpeg.x86_64 0:6b-46.el6 will be installed ---> Package libpng.x86_64 2:1.2.46-1.el6_1 will be installed ---> Package libxcb.x86_64 0:1.5-1.el6 will be installed --> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.5-1.el6.x86_64 ---> Package pulseaudio-libs.x86_64 0:0.9.21-13.el6 will be installed --> Processing Dependency: libsndfile.so.1(libsndfile.so.1.0)(64bit) for package: pulseaudio-libs-0.9.21-13.el6.x86_64 --> Processing Dependency: libasyncns.so.0()(64bit) for package: pulseaudio-libs-0.9.21-13.el6.x86_64 --> Processing Dependency: libsndfile.so.1()(64bit) for package: pulseaudio-libs-0.9.21-13.el6.x86_64 ---> Package rhino.noarch 0:1.7-0.7.r2.2.el6 will be installed --> Processing Dependency: jline for package: rhino-1.7-0.7.r2.2.el6.noarch ---> Package tzdata-java.noarch 0:2011l-4.el6 will be installed --> Running transaction check ---> Package jline.noarch 0:0.9.94-0.8.el6 will be installed ---> Package libICE.x86_64 0:1.0.6-1.el6 will be installed ---> Package libSM.x86_64 0:1.1.0-7.1.el6 will be installed ---> Package libXau.x86_64 0:1.0.5-1.el6 will be installed ---> Package libasyncns.x86_64 0:0.8-1.1.el6 will be installed ---> Package libsndfile.x86_64 0:1.0.20-5.el6 will be installed --> Processing Dependency: libogg.so.0()(64bit) for package: libsndfile-1.0.20-5.el6.x86_64 --> Processing Dependency: libvorbisenc.so.2()(64bit) for package: libsndfile-1.0.20-5.el6.x86_64 --> Processing Dependency: libFLAC.so.8()(64bit) for package: libsndfile-1.0.20-5.el6.x86_64 --> Processing Dependency: libvorbis.so.0()(64bit) for package: libsndfile-1.0.20-5.el6.x86_64 --> Running transaction check ---> Package flac.x86_64 0:1.2.1-6.1.el6 will be installed ---> Package libogg.x86_64 2:1.1.4-2.1.el6 will be installed ---> Package libvorbis.x86_64 1:1.2.3-4.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: java-1.6.0-openjdk-devel x86_64 1:1.6.0.0-1.40.1.9.10.el6_1 cr 8.5 M Installing for dependencies: alsa-lib x86_64 1.0.21-3.el6 base 369 k flac x86_64 1.2.1-6.1.el6 base 243 k fontconfig x86_64 2.8.0-3.el6 base 186 k freetype x86_64 2.3.11-6.el6_1.8 cr 358 k giflib x86_64 4.1.6-3.1.el6 base 37 k java-1.6.0-openjdk x86_64 1:1.6.0.0-1.40.1.9.10.el6_1 cr 25 M jline noarch 0.9.94-0.8.el6 base 86 k jpackage-utils noarch 1.7.5-3.12.el6 base 59 k libICE x86_64 1.0.6-1.el6 base 53 k libSM x86_64 1.1.0-7.1.el6 base 26 k libX11 x86_64 1.3-2.el6 base 582 k libX11-common noarch 1.3-2.el6 base 188 k libXau x86_64 1.0.5-1.el6 base 22 k libXext x86_64 1.1-3.el6 base 33 k libXi x86_64 1.3-3.el6 base 32 k libXrender x86_64 0.9.5-1.el6 base 27 k libXtst x86_64 1.0.99.2-3.el6 base 22 k libasyncns x86_64 0.8-1.1.el6 base 24 k libjpeg x86_64 6b-46.el6 base 134 k libogg x86_64 2:1.1.4-2.1.el6 base 21 k libpng x86_64 2:1.2.46-1.el6_1 cr 180 k libsndfile x86_64 1.0.20-5.el6 cr 233 k libvorbis x86_64 1:1.2.3-4.el6 base 170 k libxcb x86_64 1.5-1.el6 base 100 k pulseaudio-libs x86_64 0.9.21-13.el6 base 462 k rhino noarch 1.7-0.7.r2.2.el6 base 778 k tzdata-java noarch 2011l-4.el6 cr 152 k Transaction Summary ================================================================================ Install 28 Package(s) Total download size: 38 M Installed size: 129 M Is this ok [y/N]: y Downloading Packages: (1/28): alsa-lib-1.0.21-3.el6.x86_64.rpm | 369 kB 00:00 (2/28): flac-1.2.1-6.1.el6.x86_64.rpm | 243 kB 00:00 (3/28): fontconfig-2.8.0-3.el6.x86_64.rpm | 186 kB 00:00 (4/28): freetype-2.3.11-6.el6_1.8.x86_64.rpm | 358 kB 00:00 (5/28): giflib-4.1.6-3.1.el6.x86_64.rpm | 37 kB 00:00 (6/28): java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86 | 25 MB 00:00 (7/28): java-1.6.0-openjdk-devel-1.6.0.0-1.40.1.9.10.el6 | 8.5 MB 00:00 (8/28): jline-0.9.94-0.8.el6.noarch.rpm | 86 kB 00:00 (9/28): jpackage-utils-1.7.5-3.12.el6.noarch.rpm | 59 kB 00:00 (10/28): libICE-1.0.6-1.el6.x86_64.rpm | 53 kB 00:00 (11/28): libSM-1.1.0-7.1.el6.x86_64.rpm | 26 kB 00:00 (12/28): libX11-1.3-2.el6.x86_64.rpm | 582 kB 00:00 (13/28): libX11-common-1.3-2.el6.noarch.rpm | 188 kB 00:00 (14/28): libXau-1.0.5-1.el6.x86_64.rpm | 22 kB 00:00 (15/28): libXext-1.1-3.el6.x86_64.rpm | 33 kB 00:00 (16/28): libXi-1.3-3.el6.x86_64.rpm | 32 kB 00:00 (17/28): libXrender-0.9.5-1.el6.x86_64.rpm | 27 kB 00:00 (18/28): libXtst-1.0.99.2-3.el6.x86_64.rpm | 22 kB 00:00 (19/28): libasyncns-0.8-1.1.el6.x86_64.rpm | 24 kB 00:00 (20/28): libjpeg-6b-46.el6.x86_64.rpm | 134 kB 00:00 (21/28): libogg-1.1.4-2.1.el6.x86_64.rpm | 21 kB 00:00 (22/28): libpng-1.2.46-1.el6_1.x86_64.rpm | 180 kB 00:00 (23/28): libsndfile-1.0.20-5.el6.x86_64.rpm | 233 kB 00:00 (24/28): libvorbis-1.2.3-4.el6.x86_64.rpm | 170 kB 00:00 (25/28): libxcb-1.5-1.el6.x86_64.rpm | 100 kB 00:00 (26/28): pulseaudio-libs-0.9.21-13.el6.x86_64.rpm | 462 kB 00:00 (27/28): rhino-1.7-0.7.r2.2.el6.noarch.rpm | 778 kB 00:00 (28/28): tzdata-java-2011l-4.el6.noarch.rpm | 152 kB 00:00 -------------------------------------------------------------------------------- Total 21 MB/s | 38 MB 00:01 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : libICE-1.0.6-1.el6.x86_64 1/28 Installing : 2:libogg-1.1.4-2.1.el6.x86_64 2/28 Installing : libSM-1.1.0-7.1.el6.x86_64 3/28 Installing : alsa-lib-1.0.21-3.el6.x86_64 4/28 Installing : jpackage-utils-1.7.5-3.12.el6.noarch 5/28 Installing : freetype-2.3.11-6.el6_1.8.x86_64 6/28 Installing : fontconfig-2.8.0-3.el6.x86_64 7/28 Installing : 1:libvorbis-1.2.3-4.el6.x86_64 8/28 Installing : flac-1.2.1-6.1.el6.x86_64 9/28 Installing : libsndfile-1.0.20-5.el6.x86_64 10/28 Installing : libjpeg-6b-46.el6.x86_64 11/28 Installing : 2:libpng-1.2.46-1.el6_1.x86_64 12/28 Installing : tzdata-java-2011l-4.el6.noarch 13/28 Installing : libX11-common-1.3-2.el6.noarch 14/28 Installing : libasyncns-0.8-1.1.el6.x86_64 15/28 Installing : libXau-1.0.5-1.el6.x86_64 16/28 Installing : libxcb-1.5-1.el6.x86_64 17/28 Installing : libX11-1.3-2.el6.x86_64 18/28 Installing : libXext-1.1-3.el6.x86_64 19/28 Installing : libXi-1.3-3.el6.x86_64 20/28 Installing : libXtst-1.0.99.2-3.el6.x86_64 21/28 Installing : pulseaudio-libs-0.9.21-13.el6.x86_64 22/28 Installing : libXrender-0.9.5-1.el6.x86_64 23/28 Installing : giflib-4.1.6-3.1.el6.x86_64 24/28 Installing : jline-0.9.94-0.8.el6.noarch 25/28 Installing : rhino-1.7-0.7.r2.2.el6.noarch 26/28 Installing : 1:java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64 27/28 Installing : 1:java-1.6.0-openjdk-devel-1.6.0.0-1.40.1.9.10.el6_1.x86 28/28 Installed: java-1.6.0-openjdk-devel.x86_64 1:1.6.0.0-1.40.1.9.10.el6_1 Dependency Installed: alsa-lib.x86_64 0:1.0.21-3.el6 flac.x86_64 0:1.2.1-6.1.el6 fontconfig.x86_64 0:2.8.0-3.el6 freetype.x86_64 0:2.3.11-6.el6_1.8 giflib.x86_64 0:4.1.6-3.1.el6 java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.40.1.9.10.el6_1 jline.noarch 0:0.9.94-0.8.el6 jpackage-utils.noarch 0:1.7.5-3.12.el6 libICE.x86_64 0:1.0.6-1.el6 libSM.x86_64 0:1.1.0-7.1.el6 libX11.x86_64 0:1.3-2.el6 libX11-common.noarch 0:1.3-2.el6 libXau.x86_64 0:1.0.5-1.el6 libXext.x86_64 0:1.1-3.el6 libXi.x86_64 0:1.3-3.el6 libXrender.x86_64 0:0.9.5-1.el6 libXtst.x86_64 0:1.0.99.2-3.el6 libasyncns.x86_64 0:0.8-1.1.el6 libjpeg.x86_64 0:6b-46.el6 libogg.x86_64 2:1.1.4-2.1.el6 libpng.x86_64 2:1.2.46-1.el6_1 libsndfile.x86_64 0:1.0.20-5.el6 libvorbis.x86_64 1:1.2.3-4.el6 libxcb.x86_64 0:1.5-1.el6 pulseaudio-libs.x86_64 0:0.9.21-13.el6 rhino.noarch 0:1.7-0.7.r2.2.el6 tzdata-java.noarch 0:2011l-4.el6 Complete!
Der Inhalt des RPM-Pakets mit dem Namen java-1.6.0-openjdk-devel
, kann nach der erfolgreichen Installation mit nachfolgendem Befehl aufgelistet werden:
# rpm -qil java-1.6.0-openjdk-devel Name : java-1.6.0-openjdk-devel Relocations: (not relocatable) Version : 1.6.0.0 Vendor: CentOS Release : 1.40.1.9.10.el6_1 Build Date: Thu 20 Oct 2011 02:01:44 AM CEST Install Date: Fri 25 Nov 2011 09:24:09 AM CET Build Host: c6b6.bsys.dev.centos.org Group : Development/Tools Source RPM: java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.src.rpm Size : 35029979 License: ASL 1.1, ASL 2.0, GPL+, GPLv2, GPLv2 with exceptions, LGPL+, LGPLv2, MPLv1.0, MPLv1.1, Public Domain, W3C Signature : RSA/SHA1, Thu 20 Oct 2011 04:54:34 PM CEST, Key ID 0946fca2c105b9de Packager : CentOS BuildSystem <http://bugs.centos.org> URL : http://icedtea.classpath.org/ Summary : OpenJDK Development Environment Description : The OpenJDK development tools. /usr/lib/jvm-exports/java-1.6.0-openjdk.x86_64 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/appletviewer /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/apt /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/extcheck /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/idlj /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/jar /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/jarsigner /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java-rmi.cgi /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/javac /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/javadoc /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/javah /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/javap /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/jconsole /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/jdb /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/jhat /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/jinfo /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/jmap /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/jps /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/jrunscript /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/jsadebugd /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/jstack /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/jstat /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/jstatd /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/keytool /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/native2ascii /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/orbd /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/pack200 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/policytool /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/rmic /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/rmid /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/rmiregistry /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/schemagen /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/serialver /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/servertool /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/tnameserv /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/unpack200 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/wsgen /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/wsimport /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/xjc /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/classfile_constants.h /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/jawt.h /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/jdwpTransport.h /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/jni.h /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/jvmti.h /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/jvmticmlr.h /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/linux /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/linux/jawt_md.h /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/linux/jni_md.h /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/ct.sym /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/dt.jar /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/ir.idl /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/jconsole.jar /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/jexec /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/orb.idl /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/sa-jdi.jar /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/tapset /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/tapset/hotspot.stp /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/tapset/hotspot_jni.stp /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/tapset/jstack.stp /usr/lib/jvm/java-1.6.0-openjdk.x86_64 /usr/share/applications/java-1.6.0-openjdk-jconsole.desktop /usr/share/applications/java-1.6.0-openjdk-policytool.desktop /usr/share/doc/java-1.6.0-openjdk-devel-1.6.0.0 /usr/share/doc/java-1.6.0-openjdk-devel-1.6.0.0/ASSEMBLY_EXCEPTION /usr/share/doc/java-1.6.0-openjdk-devel-1.6.0.0/LICENSE /usr/share/doc/java-1.6.0-openjdk-devel-1.6.0.0/THIRD_PARTY_README /usr/share/doc/java-1.6.0-openjdk-devel-1.6.0.0/TRADEMARK /usr/share/man/man1/appletviewer-java-1.6.0-openjdk.1.gz /usr/share/man/man1/apt-java-1.6.0-openjdk.1.gz /usr/share/man/man1/extcheck-java-1.6.0-openjdk.1.gz /usr/share/man/man1/idlj-java-1.6.0-openjdk.1.gz /usr/share/man/man1/jar-java-1.6.0-openjdk.1.gz /usr/share/man/man1/jarsigner-java-1.6.0-openjdk.1.gz /usr/share/man/man1/javac-java-1.6.0-openjdk.1.gz /usr/share/man/man1/javadoc-java-1.6.0-openjdk.1.gz /usr/share/man/man1/javah-java-1.6.0-openjdk.1.gz /usr/share/man/man1/javap-java-1.6.0-openjdk.1.gz /usr/share/man/man1/jconsole-java-1.6.0-openjdk.1.gz /usr/share/man/man1/jdb-java-1.6.0-openjdk.1.gz /usr/share/man/man1/jhat-java-1.6.0-openjdk.1.gz /usr/share/man/man1/jinfo-java-1.6.0-openjdk.1.gz /usr/share/man/man1/jmap-java-1.6.0-openjdk.1.gz /usr/share/man/man1/jps-java-1.6.0-openjdk.1.gz /usr/share/man/man1/jrunscript-java-1.6.0-openjdk.1.gz /usr/share/man/man1/jsadebugd-java-1.6.0-openjdk.1.gz /usr/share/man/man1/jstack-java-1.6.0-openjdk.1.gz /usr/share/man/man1/jstat-java-1.6.0-openjdk.1.gz /usr/share/man/man1/jstatd-java-1.6.0-openjdk.1.gz /usr/share/man/man1/native2ascii-java-1.6.0-openjdk.1.gz /usr/share/man/man1/policytool-java-1.6.0-openjdk.1.gz /usr/share/man/man1/rmic-java-1.6.0-openjdk.1.gz /usr/share/man/man1/schemagen-java-1.6.0-openjdk.1.gz /usr/share/man/man1/serialver-java-1.6.0-openjdk.1.gz /usr/share/man/man1/wsgen-java-1.6.0-openjdk.1.gz /usr/share/man/man1/wsimport-java-1.6.0-openjdk.1.gz /usr/share/man/man1/xjc-java-1.6.0-openjdk.1.gz /usr/share/systemtap/tapset/x86_64/hotspot.stp /usr/share/systemtap/tapset/x86_64/hotspot_jni.stp /usr/share/systemtap/tapset/x86_64/jstack.stp
HINWEIS - Durch die Installation des Paketes java-1.6.0-openjdk-devel
wird ebenfalls das Paket java-1.6.0-openjdk
als Abhängigkeit mit installiert !!!
Nachfolgende Befehle können dazu genutzt werden den Installationspfad von Java zu bestimmen:
# /usr/bin/whereis java java: /usr/bin/java /etc/java /usr/lib/java /usr/share/java /usr/share/man/man1/java.1.gz
und, in welcher Version liegt Java vor:
# /usr/bin/java -version java version "1.6.0_20" OpenJDK Runtime Environment (IcedTea6 1.9.10) (rhel-1.40.1.9.10.el6_1-x86_64) OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
Installation: Apache Tomcat 6
Zur Installation des RPM-Pakets mit dem Namen tomcat6
,kann nachfolgender Befehl ausgeführt werden:
# yum install tomcat6 Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile 69 packages excluded due to repository priority protections Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package tomcat6.noarch 0:6.0.24-33.el6 will be installed base/filelists_db | 5.6 MB 00:00 cr/filelists_db | 4.0 MB 00:00 epel/filelists_db | 5.4 MB 00:00 extras/filelists_db | 738 B 00:00 updates/filelists_db | 2.6 MB 00:00 --> Processing Dependency: tomcat6-lib = 6.0.24-33.el6 for package: tomcat6-6.0.24-33.el6.noarch --> Processing Dependency: /lib/lsb/init-functions for package: tomcat6-6.0.24-33.el6.noarch --> Processing Dependency: redhat-lsb for package: tomcat6-6.0.24-33.el6.noarch --> Processing Dependency: jakarta-commons-dbcp for package: tomcat6-6.0.24-33.el6.noarch --> Processing Dependency: jakarta-commons-pool for package: tomcat6-6.0.24-33.el6.noarch --> Processing Dependency: mx4j for package: tomcat6-6.0.24-33.el6.noarch --> Processing Dependency: /lib/lsb/init-functions for package: tomcat6-6.0.24-33.el6.noarch --> Processing Dependency: log4j for package: tomcat6-6.0.24-33.el6.noarch --> Processing Dependency: jakarta-commons-logging for package: tomcat6-6.0.24-33.el6.noarch --> Processing Dependency: log4j for package: tomcat6-6.0.24-33.el6.noarch --> Processing Dependency: jakarta-commons-collections for package: tomcat6-6.0.24-33.el6.noarch --> Processing Dependency: redhat-lsb for package: tomcat6-6.0.24-33.el6.noarch --> Processing Dependency: jakarta-commons-daemon for package: tomcat6-6.0.24-33.el6.noarch --> Running transaction check ---> Package jakarta-commons-collections.noarch 0:3.2.1-3.4.el6 will be installed ---> Package jakarta-commons-daemon.x86_64 1:1.0.1-8.9.el6 will be installed --> Processing Dependency: java-gcj-compat for package: 1:jakarta-commons-daemon-1.0.1-8.9.el6.x86_64 --> Processing Dependency: java-gcj-compat for package: 1:jakarta-commons-daemon-1.0.1-8.9.el6.x86_64 --> Processing Dependency: libgcj_bc.so.1()(64bit) for package: 1:jakarta-commons-daemon-1.0.1-8.9.el6.x86_64 ---> Package jakarta-commons-dbcp.noarch 0:1.2.1-13.8.el6 will be installed ---> Package jakarta-commons-logging.noarch 0:1.0.4-10.el6 will be installed ---> Package jakarta-commons-pool.x86_64 0:1.3-12.7.el6 will be installed ---> Package log4j.x86_64 0:1.2.14-6.4.el6 will be installed --> Processing Dependency: xml-commons-apis for package: log4j-1.2.14-6.4.el6.x86_64 ---> Package mx4j.noarch 1:3.0.1-9.13.el6 will be installed --> Processing Dependency: axis >= 1.1 for package: 1:mx4j-3.0.1-9.13.el6.noarch --> Processing Dependency: bcel >= 5.0 for package: 1:mx4j-3.0.1-9.13.el6.noarch --> Processing Dependency: javamail >= 1.2-5jpp for package: 1:mx4j-3.0.1-9.13.el6.noarch --> Processing Dependency: jaf for package: 1:mx4j-3.0.1-9.13.el6.noarch --> Processing Dependency: xml-commons-resolver for package: 1:mx4j-3.0.1-9.13.el6.noarch ---> Package redhat-lsb.x86_64 0:4.0-2.1.el6.centos will be installed --> Processing Dependency: /usr/bin/batch for package: redhat-lsb-4.0-2.1.el6.centos.x86_64 --> Processing Dependency: /usr/bin/bc for package: redhat-lsb-4.0-2.1.el6.centos.x86_64 --> Processing Dependency: /bin/gettext for package: redhat-lsb-4.0-2.1.el6.centos.x86_64 --> Processing Dependency: /usr/bin/make for package: redhat-lsb-4.0-2.1.el6.centos.x86_64 --> Processing Dependency: /bin/ed for package: redhat-lsb-4.0-2.1.el6.centos.x86_64 --> Processing Dependency: /usr/bin/file for package: redhat-lsb-4.0-2.1.el6.centos.x86_64 --> Processing Dependency: /bin/mailx for package: redhat-lsb-4.0-2.1.el6.centos.x86_64 --> Processing Dependency: /usr/bin/pax for package: redhat-lsb-4.0-2.1.el6.centos.x86_64 --> Processing Dependency: /usr/bin/patch for package: redhat-lsb-4.0-2.1.el6.centos.x86_64 --> Processing Dependency: /usr/bin/msgfmt for package: redhat-lsb-4.0-2.1.el6.centos.x86_64 --> Processing Dependency: /usr/bin/at for package: redhat-lsb-4.0-2.1.el6.centos.x86_64 --> Processing Dependency: /usr/bin/time for package: redhat-lsb-4.0-2.1.el6.centos.x86_64 ---> Package tomcat6-lib.noarch 0:6.0.24-33.el6 will be installed --> Processing Dependency: tomcat6-el-2.1-api = 6.0.24-33.el6 for package: tomcat6-lib-6.0.24-33.el6.noarch --> Processing Dependency: tomcat6-jsp-2.1-api = 6.0.24-33.el6 for package: tomcat6-lib-6.0.24-33.el6.noarch --> Processing Dependency: tomcat6-servlet-2.5-api = 6.0.24-33.el6 for package: tomcat6-lib-6.0.24-33.el6.noarch --> Processing Dependency: ecj for package: tomcat6-lib-6.0.24-33.el6.noarch --> Running transaction check ---> Package at.x86_64 0:3.1.10-43.el6 will be installed ---> Package axis.noarch 0:1.2.1-7.2.el6 will be installed --> Processing Dependency: jakarta-commons-httpclient for package: axis-1.2.1-7.2.el6.noarch --> Processing Dependency: jakarta-commons-discovery for package: axis-1.2.1-7.2.el6.noarch --> Processing Dependency: wsdl4j for package: axis-1.2.1-7.2.el6.noarch ---> Package bc.x86_64 0:1.06.95-1.el6 will be installed ---> Package bcel.x86_64 0:5.2-7.2.el6 will be installed --> Processing Dependency: regexp for package: bcel-5.2-7.2.el6.x86_64 ---> Package classpathx-jaf.x86_64 0:1.0-15.4.el6 will be installed ---> Package classpathx-mail.noarch 0:1.1.1-9.4.el6 will be installed ---> Package ecj.x86_64 1:3.4.2-6.el6 will be installed ---> Package ed.x86_64 0:1.1-3.3.el6 will be installed ---> Package file.x86_64 0:5.04-11.el6 will be installed ---> Package gettext.x86_64 0:0.17-16.el6 will be installed --> Processing Dependency: cvs for package: gettext-0.17-16.el6.x86_64 --> Processing Dependency: libgomp.so.1(GOMP_1.0)(64bit) for package: gettext-0.17-16.el6.x86_64 --> Processing Dependency: libgomp.so.1()(64bit) for package: gettext-0.17-16.el6.x86_64 ---> Package java-1.5.0-gcj.x86_64 0:1.5.0.0-29.1.el6 will be installed --> Processing Dependency: sinjdoc for package: java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64 ---> Package libgcj.x86_64 0:4.4.5-6.el6 will be installed --> Processing Dependency: zip >= 2.1 for package: libgcj-4.4.5-6.el6.x86_64 --> Processing Dependency: gtk2 >= 2.4.0 for package: libgcj-4.4.5-6.el6.x86_64 --> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.5-6.el6.x86_64 --> Processing Dependency: libgtk-x11-2.0.so.0()(64bit) for package: libgcj-4.4.5-6.el6.x86_64 --> Processing Dependency: libpangoft2-1.0.so.0()(64bit) for package: libgcj-4.4.5-6.el6.x86_64 --> Processing Dependency: libcairo.so.2()(64bit) for package: libgcj-4.4.5-6.el6.x86_64 --> Processing Dependency: libgdk_pixbuf-2.0.so.0()(64bit) for package: libgcj-4.4.5-6.el6.x86_64 --> Processing Dependency: libpango-1.0.so.0()(64bit) for package: libgcj-4.4.5-6.el6.x86_64 --> Processing Dependency: libatk-1.0.so.0()(64bit) for package: libgcj-4.4.5-6.el6.x86_64 --> Processing Dependency: libgdk-x11-2.0.so.0()(64bit) for package: libgcj-4.4.5-6.el6.x86_64 --> Processing Dependency: libXrandr.so.2()(64bit) for package: libgcj-4.4.5-6.el6.x86_64 --> Processing Dependency: libpangocairo-1.0.so.0()(64bit) for package: libgcj-4.4.5-6.el6.x86_64 ---> Package mailx.x86_64 0:12.4-6.el6 will be installed ---> Package make.x86_64 1:3.81-19.el6 will be installed ---> Package patch.x86_64 0:2.6-6.el6 will be installed ---> Package pax.x86_64 0:3.4-10.1.el6 will be installed ---> Package time.x86_64 0:1.7-37.1.el6 will be installed ---> Package tomcat6-el-2.1-api.noarch 0:6.0.24-33.el6 will be installed ---> Package tomcat6-jsp-2.1-api.noarch 0:6.0.24-33.el6 will be installed ---> Package tomcat6-servlet-2.5-api.noarch 0:6.0.24-33.el6 will be installed ---> Package xml-commons-apis.x86_64 0:1.3.04-3.6.el6 will be installed ---> Package xml-commons-resolver.x86_64 0:1.1-4.18.el6 will be installed --> Running transaction check ---> Package atk.x86_64 0:1.28.0-2.el6 will be installed ---> Package cairo.x86_64 0:1.8.8-3.1.el6 will be installed --> Processing Dependency: libpixman-1.so.0()(64bit) for package: cairo-1.8.8-3.1.el6.x86_64 ---> Package cvs.x86_64 0:1.11.23-11.el6_0.1 will be installed ---> Package gtk2.x86_64 0:2.18.9-6.el6 will be installed --> Processing Dependency: libtiff >= 3.6.1 for package: gtk2-2.18.9-6.el6.x86_64 --> Processing Dependency: hicolor-icon-theme for package: gtk2-2.18.9-6.el6.x86_64 --> Processing Dependency: libtiff.so.3()(64bit) for package: gtk2-2.18.9-6.el6.x86_64 --> Processing Dependency: libXcursor.so.1()(64bit) for package: gtk2-2.18.9-6.el6.x86_64 --> Processing Dependency: libjasper.so.1()(64bit) for package: gtk2-2.18.9-6.el6.x86_64 --> Processing Dependency: libXcomposite.so.1()(64bit) for package: gtk2-2.18.9-6.el6.x86_64 --> Processing Dependency: libXinerama.so.1()(64bit) for package: gtk2-2.18.9-6.el6.x86_64 --> Processing Dependency: libXdamage.so.1()(64bit) for package: gtk2-2.18.9-6.el6.x86_64 --> Processing Dependency: libXfixes.so.3()(64bit) for package: gtk2-2.18.9-6.el6.x86_64 --> Processing Dependency: libcups.so.2()(64bit) for package: gtk2-2.18.9-6.el6.x86_64 ---> Package jakarta-commons-discovery.noarch 1:0.4-5.4.el6 will be installed ---> Package jakarta-commons-httpclient.x86_64 1:3.1-0.6.el6 will be installed ---> Package libXrandr.x86_64 0:1.3.0-4.el6 will be installed ---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed ---> Package libgomp.x86_64 0:4.4.5-6.el6 will be installed ---> Package pango.x86_64 0:1.28.1-3.el6_0.5 will be installed --> Processing Dependency: libthai >= 0.1.9 for package: pango-1.28.1-3.el6_0.5.x86_64 --> Processing Dependency: libthai.so.0(LIBTHAI_0.1)(64bit) for package: pango-1.28.1-3.el6_0.5.x86_64 --> Processing Dependency: libthai.so.0()(64bit) for package: pango-1.28.1-3.el6_0.5.x86_64 --> Processing Dependency: libXft.so.2()(64bit) for package: pango-1.28.1-3.el6_0.5.x86_64 ---> Package regexp.x86_64 0:1.5-4.4.el6 will be installed ---> Package sinjdoc.x86_64 0:0.5-9.1.el6 will be installed --> Processing Dependency: java_cup >= 0.10 for package: sinjdoc-0.5-9.1.el6.x86_64 ---> Package wsdl4j.noarch 0:1.5.2-7.8.el6 will be installed ---> Package zip.x86_64 0:3.0-1.el6 will be installed --> Running transaction check ---> Package cups-libs.x86_64 1:1.4.2-39.el6_1.1 will be installed --> Processing Dependency: libgnutls.so.26(GNUTLS_1_4)(64bit) for package: 1:cups-libs-1.4.2-39.el6_1.1.x86_64 --> Processing Dependency: libavahi-common.so.3()(64bit) for package: 1:cups-libs-1.4.2-39.el6_1.1.x86_64 --> Processing Dependency: libgnutls.so.26()(64bit) for package: 1:cups-libs-1.4.2-39.el6_1.1.x86_64 --> Processing Dependency: libavahi-client.so.3()(64bit) for package: 1:cups-libs-1.4.2-39.el6_1.1.x86_64 ---> Package hicolor-icon-theme.noarch 0:0.11-1.1.el6 will be installed ---> Package jasper-libs.x86_64 0:1.900.1-15.el6 will be installed ---> Package java_cup.x86_64 1:0.10k-5.el6 will be installed ---> Package libXcomposite.x86_64 0:0.4.1-2.el6 will be installed ---> Package libXcursor.x86_64 0:1.1.10-2.el6 will be installed ---> Package libXdamage.x86_64 0:1.1.2-1.el6 will be installed ---> Package libXfixes.x86_64 0:4.0.4-1.el6 will be installed ---> Package libXft.x86_64 0:2.1.13-4.1.el6 will be installed ---> Package libXinerama.x86_64 0:1.1-1.el6 will be installed ---> Package libthai.x86_64 0:0.1.12-3.el6 will be installed ---> Package libtiff.x86_64 0:3.9.4-1.el6_0.3 will be installed ---> Package pixman.x86_64 0:0.18.4-1.el6_0.1 will be installed --> Running transaction check ---> Package avahi-libs.x86_64 0:0.6.25-11.el6 will be installed ---> Package gnutls.x86_64 0:2.8.5-4.el6 will be installed --> Processing Dependency: libtasn1.so.3(LIBTASN1_0_3)(64bit) for package: gnutls-2.8.5-4.el6.x86_64 --> Processing Dependency: libtasn1.so.3()(64bit) for package: gnutls-2.8.5-4.el6.x86_64 --> Running transaction check ---> Package libtasn1.x86_64 0:2.3-3.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: tomcat6 noarch 6.0.24-33.el6 cr 87 k Installing for dependencies: at x86_64 3.1.10-43.el6 updates 60 k atk x86_64 1.28.0-2.el6 base 191 k avahi-libs x86_64 0.6.25-11.el6 cr 54 k axis noarch 1.2.1-7.2.el6 base 1.5 M bc x86_64 1.06.95-1.el6 base 110 k bcel x86_64 5.2-7.2.el6 base 1.4 M cairo x86_64 1.8.8-3.1.el6 base 309 k classpathx-jaf x86_64 1.0-15.4.el6 base 100 k classpathx-mail noarch 1.1.1-9.4.el6 base 479 k cups-libs x86_64 1:1.4.2-39.el6_1.1 cr 314 k cvs x86_64 1.11.23-11.el6_0.1 updates 713 k ecj x86_64 1:3.4.2-6.el6 base 2.8 M ed x86_64 1.1-3.3.el6 base 72 k file x86_64 5.04-11.el6 cr 45 k gettext x86_64 0.17-16.el6 base 1.8 M gnutls x86_64 2.8.5-4.el6 base 343 k gtk2 x86_64 2.18.9-6.el6 cr 3.3 M hicolor-icon-theme noarch 0.11-1.1.el6 base 40 k jakarta-commons-collections noarch 3.2.1-3.4.el6 base 523 k jakarta-commons-daemon x86_64 1:1.0.1-8.9.el6 base 45 k jakarta-commons-dbcp noarch 1.2.1-13.8.el6 base 116 k jakarta-commons-discovery noarch 1:0.4-5.4.el6 base 73 k jakarta-commons-httpclient x86_64 1:3.1-0.6.el6 base 580 k jakarta-commons-logging noarch 1.0.4-10.el6 base 52 k jakarta-commons-pool x86_64 1.3-12.7.el6 base 122 k jasper-libs x86_64 1.900.1-15.el6 base 137 k java-1.5.0-gcj x86_64 1.5.0.0-29.1.el6 base 139 k java_cup x86_64 1:0.10k-5.el6 base 197 k libXcomposite x86_64 0.4.1-2.el6 base 17 k libXcursor x86_64 1.1.10-2.el6 base 32 k libXdamage x86_64 1.1.2-1.el6 base 16 k libXfixes x86_64 4.0.4-1.el6 base 19 k libXft x86_64 2.1.13-4.1.el6 base 49 k libXinerama x86_64 1.1-1.el6 base 15 k libXrandr x86_64 1.3.0-4.el6 base 30 k libart_lgpl x86_64 2.3.20-5.1.el6 base 65 k libgcj x86_64 4.4.5-6.el6 cr 18 M libgomp x86_64 4.4.5-6.el6 cr 112 k libtasn1 x86_64 2.3-3.el6 base 238 k libthai x86_64 0.1.12-3.el6 base 183 k libtiff x86_64 3.9.4-1.el6_0.3 updates 342 k log4j x86_64 1.2.14-6.4.el6 base 679 k mailx x86_64 12.4-6.el6 base 234 k make x86_64 1:3.81-19.el6 base 389 k mx4j noarch 1:3.0.1-9.13.el6 base 1.1 M pango x86_64 1.28.1-3.el6_0.5 updates 351 k patch x86_64 2.6-6.el6 base 90 k pax x86_64 3.4-10.1.el6 base 69 k pixman x86_64 0.18.4-1.el6_0.1 updates 146 k redhat-lsb x86_64 4.0-2.1.el6.centos base 25 k regexp x86_64 1.5-4.4.el6 base 105 k sinjdoc x86_64 0.5-9.1.el6 base 705 k time x86_64 1.7-37.1.el6 base 26 k tomcat6-el-2.1-api noarch 6.0.24-33.el6 cr 42 k tomcat6-jsp-2.1-api noarch 6.0.24-33.el6 cr 79 k tomcat6-lib noarch 6.0.24-33.el6 cr 2.9 M tomcat6-servlet-2.5-api noarch 6.0.24-33.el6 cr 93 k wsdl4j noarch 1.5.2-7.8.el6 base 157 k xml-commons-apis x86_64 1.3.04-3.6.el6 base 439 k xml-commons-resolver x86_64 1.1-4.18.el6 base 145 k zip x86_64 3.0-1.el6 base 260 k Transaction Summary ================================================================================ Install 62 Package(s) Total download size: 43 M Installed size: 134 M Is this ok [y/N]: y Downloading Packages: (1/62): at-3.1.10-43.el6.x86_64.rpm | 60 kB 00:00 (2/62): atk-1.28.0-2.el6.x86_64.rpm | 191 kB 00:00 (3/62): avahi-libs-0.6.25-11.el6.x86_64.rpm | 54 kB 00:00 (4/62): axis-1.2.1-7.2.el6.noarch.rpm | 1.5 MB 00:00 (5/62): bc-1.06.95-1.el6.x86_64.rpm | 110 kB 00:00 (6/62): bcel-5.2-7.2.el6.x86_64.rpm | 1.4 MB 00:00 (7/62): cairo-1.8.8-3.1.el6.x86_64.rpm | 309 kB 00:00 (8/62): classpathx-jaf-1.0-15.4.el6.x86_64.rpm | 100 kB 00:00 (9/62): classpathx-mail-1.1.1-9.4.el6.noarch.rpm | 479 kB 00:00 (10/62): cups-libs-1.4.2-39.el6_1.1.x86_64.rpm | 314 kB 00:00 (11/62): cvs-1.11.23-11.el6_0.1.x86_64.rpm | 713 kB 00:00 (12/62): ecj-3.4.2-6.el6.x86_64.rpm | 2.8 MB 00:00 (13/62): ed-1.1-3.3.el6.x86_64.rpm | 72 kB 00:00 (14/62): file-5.04-11.el6.x86_64.rpm | 45 kB 00:00 (15/62): gettext-0.17-16.el6.x86_64.rpm | 1.8 MB 00:00 (16/62): gnutls-2.8.5-4.el6.x86_64.rpm | 343 kB 00:00 (17/62): gtk2-2.18.9-6.el6.x86_64.rpm | 3.3 MB 00:00 (18/62): hicolor-icon-theme-0.11-1.1.el6.noarch.rpm | 40 kB 00:00 (19/62): jakarta-commons-collections-3.2.1-3.4.el6.noarc | 523 kB 00:00 (20/62): jakarta-commons-daemon-1.0.1-8.9.el6.x86_64.rpm | 45 kB 00:00 (21/62): jakarta-commons-dbcp-1.2.1-13.8.el6.noarch.rpm | 116 kB 00:00 (22/62): jakarta-commons-discovery-0.4-5.4.el6.noarch.rp | 73 kB 00:00 (23/62): jakarta-commons-httpclient-3.1-0.6.el6.x86_64.r | 580 kB 00:00 (24/62): jakarta-commons-logging-1.0.4-10.el6.noarch.rpm | 52 kB 00:00 (25/62): jakarta-commons-pool-1.3-12.7.el6.x86_64.rpm | 122 kB 00:00 (26/62): jasper-libs-1.900.1-15.el6.x86_64.rpm | 137 kB 00:00 (27/62): java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64.rpm | 139 kB 00:00 (28/62): java_cup-0.10k-5.el6.x86_64.rpm | 197 kB 00:00 (29/62): libXcomposite-0.4.1-2.el6.x86_64.rpm | 17 kB 00:00 (30/62): libXcursor-1.1.10-2.el6.x86_64.rpm | 32 kB 00:00 (31/62): libXdamage-1.1.2-1.el6.x86_64.rpm | 16 kB 00:00 (32/62): libXfixes-4.0.4-1.el6.x86_64.rpm | 19 kB 00:00 (33/62): libXft-2.1.13-4.1.el6.x86_64.rpm | 49 kB 00:00 (34/62): libXinerama-1.1-1.el6.x86_64.rpm | 15 kB 00:00 (35/62): libXrandr-1.3.0-4.el6.x86_64.rpm | 30 kB 00:00 (36/62): libart_lgpl-2.3.20-5.1.el6.x86_64.rpm | 65 kB 00:00 (37/62): libgcj-4.4.5-6.el6.x86_64.rpm | 18 MB 00:00 (38/62): libgomp-4.4.5-6.el6.x86_64.rpm | 112 kB 00:00 (39/62): libtasn1-2.3-3.el6.x86_64.rpm | 238 kB 00:00 (40/62): libthai-0.1.12-3.el6.x86_64.rpm | 183 kB 00:00 (41/62): libtiff-3.9.4-1.el6_0.3.x86_64.rpm | 342 kB 00:00 (42/62): log4j-1.2.14-6.4.el6.x86_64.rpm | 679 kB 00:00 (43/62): mailx-12.4-6.el6.x86_64.rpm | 234 kB 00:00 (44/62): make-3.81-19.el6.x86_64.rpm | 389 kB 00:00 (45/62): mx4j-3.0.1-9.13.el6.noarch.rpm | 1.1 MB 00:00 (46/62): pango-1.28.1-3.el6_0.5.x86_64.rpm | 351 kB 00:00 (47/62): patch-2.6-6.el6.x86_64.rpm | 90 kB 00:00 (48/62): pax-3.4-10.1.el6.x86_64.rpm | 69 kB 00:00 (49/62): pixman-0.18.4-1.el6_0.1.x86_64.rpm | 146 kB 00:00 (50/62): redhat-lsb-4.0-2.1.el6.centos.x86_64.rpm | 25 kB 00:00 (51/62): regexp-1.5-4.4.el6.x86_64.rpm | 105 kB 00:00 (52/62): sinjdoc-0.5-9.1.el6.x86_64.rpm | 705 kB 00:00 (53/62): time-1.7-37.1.el6.x86_64.rpm | 26 kB 00:00 (54/62): tomcat6-6.0.24-33.el6.noarch.rpm | 87 kB 00:00 (55/62): tomcat6-el-2.1-api-6.0.24-33.el6.noarch.rpm | 42 kB 00:00 (56/62): tomcat6-jsp-2.1-api-6.0.24-33.el6.noarch.rpm | 79 kB 00:00 (57/62): tomcat6-lib-6.0.24-33.el6.noarch.rpm | 2.9 MB 00:00 (58/62): tomcat6-servlet-2.5-api-6.0.24-33.el6.noarch.rp | 93 kB 00:00 (59/62): wsdl4j-1.5.2-7.8.el6.noarch.rpm | 157 kB 00:00 (60/62): xml-commons-apis-1.3.04-3.6.el6.x86_64.rpm | 439 kB 00:00 (61/62): xml-commons-resolver-1.1-4.18.el6.x86_64.rpm | 145 kB 00:00 (62/62): zip-3.0-1.el6.x86_64.rpm | 260 kB 00:00 -------------------------------------------------------------------------------- Total 19 MB/s | 43 MB 00:02 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : jakarta-commons-logging-1.0.4-10.el6.noarch 1/62 Installing : libXfixes-4.0.4-1.el6.x86_64 2/62 Installing : jakarta-commons-collections-3.2.1-3.4.el6.noarch 3/62 Installing : libtiff-3.9.4-1.el6_0.3.x86_64 4/62 Installing : libXrandr-1.3.0-4.el6.x86_64 5/62 Installing : atk-1.28.0-2.el6.x86_64 6/62 Installing : tomcat6-servlet-2.5-api-6.0.24-33.el6.noarch 7/62 Installing : tomcat6-jsp-2.1-api-6.0.24-33.el6.noarch 8/62 Installing : libXcomposite-0.4.1-2.el6.x86_64 9/62 Installing : libXcursor-1.1.10-2.el6.x86_64 10/62 Installing : libXdamage-1.1.2-1.el6.x86_64 11/62 Installing : 1:jakarta-commons-discovery-0.4-5.4.el6.noarch 12/62 Installing : cvs-1.11.23-11.el6_0.1.x86_64 13/62 Installing : pixman-0.18.4-1.el6_0.1.x86_64 14/62 Installing : cairo-1.8.8-3.1.el6.x86_64 15/62 Installing : bc-1.06.95-1.el6.x86_64 16/62 Installing : libXinerama-1.1-1.el6.x86_64 17/62 Installing : libthai-0.1.12-3.el6.x86_64 18/62 Installing : patch-2.6-6.el6.x86_64 19/62 Installing : ed-1.1-3.3.el6.x86_64 20/62 Installing : libgomp-4.4.5-6.el6.x86_64 21/62 Installing : gettext-0.17-16.el6.x86_64 22/62 Installing : 1:make-3.81-19.el6.x86_64 23/62 Installing : at-3.1.10-43.el6.x86_64 24/62 Installing : libtasn1-2.3-3.el6.x86_64 25/62 Installing : gnutls-2.8.5-4.el6.x86_64 26/62 Installing : zip-3.0-1.el6.x86_64 27/62 Installing : jasper-libs-1.900.1-15.el6.x86_64 28/62 Installing : time-1.7-37.1.el6.x86_64 29/62 Installing : libart_lgpl-2.3.20-5.1.el6.x86_64 30/62 Installing : hicolor-icon-theme-0.11-1.1.el6.noarch 31/62 Installing : avahi-libs-0.6.25-11.el6.x86_64 32/62 Installing : 1:cups-libs-1.4.2-39.el6_1.1.x86_64 33/62 Installing : tomcat6-el-2.1-api-6.0.24-33.el6.noarch 34/62 Installing : file-5.04-11.el6.x86_64 35/62 Installing : pax-3.4-10.1.el6.x86_64 36/62 Installing : libXft-2.1.13-4.1.el6.x86_64 37/62 Installing : pango-1.28.1-3.el6_0.5.x86_64 38/62 Installing : gtk2-2.18.9-6.el6.x86_64 39/62 Installing : libgcj-4.4.5-6.el6.x86_64 40/62 Installing : java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64 41/62 Installing : 1:java_cup-0.10k-5.el6.x86_64 42/62 Installing : sinjdoc-0.5-9.1.el6.x86_64 43/62 Installing : jakarta-commons-pool-1.3-12.7.el6.x86_64 44/62 Installing : classpathx-jaf-1.0-15.4.el6.x86_64 45/62 Installing : xml-commons-apis-1.3.04-3.6.el6.x86_64 46/62 Installing : log4j-1.2.14-6.4.el6.x86_64 47/62 Installing : classpathx-mail-1.1.1-9.4.el6.noarch 48/62 Installing : jakarta-commons-dbcp-1.2.1-13.8.el6.noarch 49/62 Installing : xml-commons-resolver-1.1-4.18.el6.x86_64 50/62 Installing : regexp-1.5-4.4.el6.x86_64 51/62 Installing : bcel-5.2-7.2.el6.x86_64 52/62 Installing : wsdl4j-1.5.2-7.8.el6.noarch 53/62 Installing : 1:jakarta-commons-daemon-1.0.1-8.9.el6.x86_64 54/62 Installing : 1:jakarta-commons-httpclient-3.1-0.6.el6.x86_64 55/62 Installing : axis-1.2.1-7.2.el6.noarch 56/62 Installing : 1:mx4j-3.0.1-9.13.el6.noarch 57/62 Installing : 1:ecj-3.4.2-6.el6.x86_64 58/62 Installing : tomcat6-lib-6.0.24-33.el6.noarch 59/62 Installing : mailx-12.4-6.el6.x86_64 60/62 Installing : redhat-lsb-4.0-2.1.el6.centos.x86_64 61/62 Installing : tomcat6-6.0.24-33.el6.noarch 62/62 Installed: tomcat6.noarch 0:6.0.24-33.el6 Dependency Installed: at.x86_64 0:3.1.10-43.el6 atk.x86_64 0:1.28.0-2.el6 avahi-libs.x86_64 0:0.6.25-11.el6 axis.noarch 0:1.2.1-7.2.el6 bc.x86_64 0:1.06.95-1.el6 bcel.x86_64 0:5.2-7.2.el6 cairo.x86_64 0:1.8.8-3.1.el6 classpathx-jaf.x86_64 0:1.0-15.4.el6 classpathx-mail.noarch 0:1.1.1-9.4.el6 cups-libs.x86_64 1:1.4.2-39.el6_1.1 cvs.x86_64 0:1.11.23-11.el6_0.1 ecj.x86_64 1:3.4.2-6.el6 ed.x86_64 0:1.1-3.3.el6 file.x86_64 0:5.04-11.el6 gettext.x86_64 0:0.17-16.el6 gnutls.x86_64 0:2.8.5-4.el6 gtk2.x86_64 0:2.18.9-6.el6 hicolor-icon-theme.noarch 0:0.11-1.1.el6 jakarta-commons-collections.noarch 0:3.2.1-3.4.el6 jakarta-commons-daemon.x86_64 1:1.0.1-8.9.el6 jakarta-commons-dbcp.noarch 0:1.2.1-13.8.el6 jakarta-commons-discovery.noarch 1:0.4-5.4.el6 jakarta-commons-httpclient.x86_64 1:3.1-0.6.el6 jakarta-commons-logging.noarch 0:1.0.4-10.el6 jakarta-commons-pool.x86_64 0:1.3-12.7.el6 jasper-libs.x86_64 0:1.900.1-15.el6 java-1.5.0-gcj.x86_64 0:1.5.0.0-29.1.el6 java_cup.x86_64 1:0.10k-5.el6 libXcomposite.x86_64 0:0.4.1-2.el6 libXcursor.x86_64 0:1.1.10-2.el6 libXdamage.x86_64 0:1.1.2-1.el6 libXfixes.x86_64 0:4.0.4-1.el6 libXft.x86_64 0:2.1.13-4.1.el6 libXinerama.x86_64 0:1.1-1.el6 libXrandr.x86_64 0:1.3.0-4.el6 libart_lgpl.x86_64 0:2.3.20-5.1.el6 libgcj.x86_64 0:4.4.5-6.el6 libgomp.x86_64 0:4.4.5-6.el6 libtasn1.x86_64 0:2.3-3.el6 libthai.x86_64 0:0.1.12-3.el6 libtiff.x86_64 0:3.9.4-1.el6_0.3 log4j.x86_64 0:1.2.14-6.4.el6 mailx.x86_64 0:12.4-6.el6 make.x86_64 1:3.81-19.el6 mx4j.noarch 1:3.0.1-9.13.el6 pango.x86_64 0:1.28.1-3.el6_0.5 patch.x86_64 0:2.6-6.el6 pax.x86_64 0:3.4-10.1.el6 pixman.x86_64 0:0.18.4-1.el6_0.1 redhat-lsb.x86_64 0:4.0-2.1.el6.centos regexp.x86_64 0:1.5-4.4.el6 sinjdoc.x86_64 0:0.5-9.1.el6 time.x86_64 0:1.7-37.1.el6 tomcat6-el-2.1-api.noarch 0:6.0.24-33.el6 tomcat6-jsp-2.1-api.noarch 0:6.0.24-33.el6 tomcat6-lib.noarch 0:6.0.24-33.el6 tomcat6-servlet-2.5-api.noarch 0:6.0.24-33.el6 wsdl4j.noarch 0:1.5.2-7.8.el6 xml-commons-apis.x86_64 0:1.3.04-3.6.el6 xml-commons-resolver.x86_64 0:1.1-4.18.el6 zip.x86_64 0:3.0-1.el6 Complete!
Der Inhalt des RPM-Pakets mit dem Namen tomcat6
, kann nach der erfolgreichen Installation mit nachfolgendem Befehl aufgelistet werden:
# rpm -qil tomcat6 Name : tomcat6 Relocations: (not relocatable) Version : 6.0.24 Vendor: CentOS Release : 33.el6 Build Date: Wed 20 Jul 2011 01:44:53 PM CEST Install Date: Fri 25 Nov 2011 09:41:32 AM CET Build Host: c6b5.bsys.dev.centos.org Group : Networking/Daemons Source RPM: tomcat6-6.0.24-33.el6.src.rpm Size : 195129 License: ASL 2.0 Signature : RSA/SHA1, Mon 26 Sep 2011 06:25:55 AM CEST, Key ID 0946fca2c105b9de Packager : CentOS BuildSystem <http://bugs.centos.org> URL : http://tomcat.apache.org/ Summary : Apache Servlet/JSP Engine, RI for Servlet 2.5/JSP 2.1 API Description : Tomcat is the servlet container that is used in the official Reference Implementation for the Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed by Sun under the Java Community Process. Tomcat is developed in an open and participatory environment and released under the Apache Software License version 2.0. Tomcat is intended to be a collaboration of the best-of-breed developers from around the world. /etc/init.d/tomcat6 /etc/logrotate.d/tomcat6 /etc/sysconfig/tomcat6 /etc/tomcat6 /etc/tomcat6/Catalina /etc/tomcat6/Catalina/localhost /etc/tomcat6/catalina.policy /etc/tomcat6/catalina.properties /etc/tomcat6/context.xml /etc/tomcat6/log4j.properties /etc/tomcat6/logging.properties /etc/tomcat6/server.xml /etc/tomcat6/tomcat-users.xml /etc/tomcat6/tomcat6.conf /etc/tomcat6/web.xml /usr/bin/tomcat6-digest /usr/bin/tomcat6-tool-wrapper /usr/sbin/dtomcat6 /usr/sbin/tomcat6 /usr/share/doc/tomcat6-6.0.24 /usr/share/doc/tomcat6-6.0.24/LICENSE /usr/share/doc/tomcat6-6.0.24/NOTICE /usr/share/doc/tomcat6-6.0.24/RELEASE-NOTES /usr/share/doc/tomcat6-6.0.24/RELEASE-PLAN-6.0.txt /usr/share/tomcat6 /usr/share/tomcat6/bin/bootstrap-6.0.24.jar /usr/share/tomcat6/bin/bootstrap.jar /usr/share/tomcat6/bin/catalina-tasks.xml /usr/share/tomcat6/bin/tomcat-juli-6.0.24.jar /usr/share/tomcat6/bin/tomcat-juli.jar /usr/share/tomcat6/conf /usr/share/tomcat6/lib /usr/share/tomcat6/logs /usr/share/tomcat6/temp /usr/share/tomcat6/webapps /usr/share/tomcat6/work /var/cache/tomcat6 /var/cache/tomcat6/temp /var/cache/tomcat6/work /var/lib/tomcat6 /var/lib/tomcat6/webapps /var/log/tomcat6 /var/log/tomcat6/catalina.out
Installation: Native Library
Das Paket tomcat-native
enthält eine Bibliothek mit Namen (Apache Portable Runtime), welche beim Betrieb des Apache Tomcat 6-Application Servers eine bessere Skalierbarkeit, Performance und Integration mit anderen Servern verspricht.
Zur Installation des RPM-Pakets mit dem Namen tomcat-native
,kann nachfolgender Befehl ausgeführt werden:
# yum install tomcat-native Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile 69 packages excluded due to repository priority protections Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package tomcat-native.x86_64 0:1.1.22-1.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: tomcat-native x86_64 1.1.22-1.el6 epel 55 k Transaction Summary ================================================================================ Install 1 Package(s) Total download size: 55 k Installed size: 155 k Is this ok [y/N]: y Downloading Packages: tomcat-native-1.1.22-1.el6.x86_64.rpm | 55 kB 00:00 warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 Importing GPG key 0x0608B895: Userid : EPEL (6) <epel@fedoraproject.org> Package: epel-release-6-5.noarch (@/epel-release-6-5.noarch) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 Is this ok [y/N]: y Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : tomcat-native-1.1.22-1.el6.x86_64 1/1 Installed: tomcat-native.x86_64 0:1.1.22-1.el6 Complete!
Der Inhalt des RPM-Pakets mit dem Namen tomcat-native
, kann nach der erfolgreichen Installation mit nachfolgendem Befehl aufgelistet werden:
# rpm -qil tomcat-native Name : tomcat-native Relocations: (not relocatable) Version : 1.1.22 Vendor: Fedora Project Release : 1.el6 Build Date: Tue 09 Aug 2011 11:05:15 AM CEST Install Date: Fri 25 Nov 2011 09:55:34 AM CET Build Host: x86-15.phx2.fedoraproject.org Group : System Environment/Libraries Source RPM: tomcat-native-1.1.22-1.el6.src.rpm Size : 158724 License: ASL 2.0 Signature : RSA/8, Tue 09 Aug 2011 07:40:26 PM CEST, Key ID 3b49df2a0608b895 Packager : Fedora Project URL : http://tomcat.apache.org/tomcat-7.0-doc/apr.html Summary : Tomcat native library Description : Tomcat can use the Apache Portable Runtime to provide superior scalability, performance, and better integration with native server technologies. The Apache Portable Runtime is a highly portable library that is at the heart of Apache HTTP Server 2.x. APR has many uses, including access to advanced IO functionality (such as sendfile, epoll and OpenSSL), OS level functionality (random number generation, system status, etc), and native process handling (shared memory, NT pipes and Unix sockets). This package contains the Tomcat native library which provides support for using APR in Tomcat. /usr/lib64/libtcnative-1.so /usr/lib64/libtcnative-1.so.0 /usr/lib64/libtcnative-1.so.0.1.22 /usr/share/doc/tomcat-native-1.1.22 /usr/share/doc/tomcat-native-1.1.22/CHANGELOG.txt /usr/share/doc/tomcat-native-1.1.22/LICENSE /usr/share/doc/tomcat-native-1.1.22/NOTICE
Installation: Web-Anwendungen
Die Installation von Web-Anwendungen, welche als RPM-Pakete installiert werden können, wie z.B.
ROOT
undexamples
aus dem Pakettomcat6-webapps
und
host-manager
undmanager
aus dem Pakettomcat6-admin-webapps
und
docs
aus dem Pakettomcat6-docs-webapp
und möglicherweise in einem Produktiven Umfeld eher nicht zu empfehlen ist, soll hier jedoch, für den ersten Start und die grundsätzlich Inbetriebnahme des Apache Tomcat 6-Application Servers, durchgeführt werden!
Zur Installation der RPM-Pakete mit den Namen tomcat6-webapps
und tomcat6-admin-webapps
, kann nachfolgender Befehl ausgeführt werden:
# yum install tomcat6-webapps tomcat6-admin-webapps Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile 69 packages excluded due to repository priority protections Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package tomcat6-admin-webapps.noarch 0:6.0.24-33.el6 will be installed ---> Package tomcat6-webapps.noarch 0:6.0.24-33.el6 will be installed --> Processing Dependency: jakarta-taglibs-standard >= 1.1 for package: tomcat6-webapps-6.0.24-33.el6.noarch --> Running transaction check ---> Package jakarta-taglibs-standard.noarch 0:1.1.1-11.4.el6 will be installed --> Processing Dependency: xalan-j2 >= 2.6.0 for package: jakarta-taglibs-standard-1.1.1-11.4.el6.noarch --> Processing Dependency: apache-tomcat-apis for package: jakarta-taglibs-standard-1.1.1-11.4.el6.noarch --> Running transaction check ---> Package apache-tomcat-apis.noarch 0:0.1-1.el6 will be installed ---> Package xalan-j2.noarch 0:2.7.0-9.8.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: tomcat6-admin-webapps noarch 6.0.24-33.el6 cr 34 k tomcat6-webapps noarch 6.0.24-33.el6 cr 607 k Installing for dependencies: apache-tomcat-apis noarch 0.1-1.el6 base 164 k jakarta-taglibs-standard noarch 1.1.1-11.4.el6 base 384 k xalan-j2 noarch 2.7.0-9.8.el6 base 1.8 M Transaction Summary ================================================================================ Install 5 Package(s) Total download size: 3.0 M Installed size: 3.8 M Is this ok [y/N]: y Downloading Packages: (1/5): apache-tomcat-apis-0.1-1.el6.noarch.rpm | 164 kB 00:00 (2/5): jakarta-taglibs-standard-1.1.1-11.4.el6.noarch.rp | 384 kB 00:00 (3/5): tomcat6-admin-webapps-6.0.24-33.el6.noarch.rpm | 34 kB 00:00 (4/5): tomcat6-webapps-6.0.24-33.el6.noarch.rpm | 607 kB 00:00 (5/5): xalan-j2-2.7.0-9.8.el6.noarch.rpm | 1.8 MB 00:00 -------------------------------------------------------------------------------- Total 9.5 MB/s | 3.0 MB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : apache-tomcat-apis-0.1-1.el6.noarch 1/5 Installing : xalan-j2-2.7.0-9.8.el6.noarch 2/5 Installing : jakarta-taglibs-standard-1.1.1-11.4.el6.noarch 3/5 Installing : tomcat6-webapps-6.0.24-33.el6.noarch 4/5 Installing : tomcat6-admin-webapps-6.0.24-33.el6.noarch 5/5 Installed: tomcat6-admin-webapps.noarch 0:6.0.24-33.el6 tomcat6-webapps.noarch 0:6.0.24-33.el6 Dependency Installed: apache-tomcat-apis.noarch 0:0.1-1.el6 jakarta-taglibs-standard.noarch 0:1.1.1-11.4.el6 xalan-j2.noarch 0:2.7.0-9.8.el6 Complete!
Der Inhalt der RPM-Pakete mit den Namen tomcat6-webapps
und tomcat6-admin-webapps
, kann nach der erfolgreichen Installation mit nachfolgenden Befehlen aufgelistet werden:
# rpm -qil tomcat6-webapps Name : tomcat6-webapps Relocations: (not relocatable) Version : 6.0.24 Vendor: CentOS Release : 33.el6 Build Date: Wed 20 Jul 2011 01:44:53 PM CEST Install Date: Fri 25 Nov 2011 10:18:01 AM CET Build Host: c6b5.bsys.dev.centos.org Group : System Environment/Applications Source RPM: tomcat6-6.0.24-33.el6.src.rpm Size : 1167870 License: ASL 2.0 Signature : RSA/SHA1, Mon 26 Sep 2011 06:25:58 AM CEST, Key ID 0946fca2c105b9de Packager : CentOS BuildSystem <http://bugs.centos.org> URL : http://tomcat.apache.org/ Summary : The ROOT and examples web applications for Apache Tomcat Description : The ROOT and examples web applications for Apache Tomcat. /var/lib/tomcat6/webapps/ROOT /var/lib/tomcat6/webapps/ROOT/RELEASE-NOTES.txt /var/lib/tomcat6/webapps/ROOT/WEB-INF /var/lib/tomcat6/webapps/ROOT/WEB-INF/web.xml /var/lib/tomcat6/webapps/ROOT/asf-logo-wide.gif /var/lib/tomcat6/webapps/ROOT/build.xml /var/lib/tomcat6/webapps/ROOT/favicon.ico /var/lib/tomcat6/webapps/ROOT/index.html /var/lib/tomcat6/webapps/ROOT/index.jsp /var/lib/tomcat6/webapps/ROOT/tomcat-power.gif /var/lib/tomcat6/webapps/ROOT/tomcat.gif /var/lib/tomcat6/webapps/ROOT/tomcat.svg /var/lib/tomcat6/webapps/examples /var/lib/tomcat6/webapps/examples/WEB-INF /var/lib/tomcat6/webapps/examples/WEB-INF/classes /var/lib/tomcat6/webapps/examples/WEB-INF/classes/CookieExample.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/CookieExample.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/HelloWorldExample.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/HelloWorldExample.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/LocalStrings.properties /var/lib/tomcat6/webapps/examples/WEB-INF/classes/LocalStrings_en.properties /var/lib/tomcat6/webapps/examples/WEB-INF/classes/LocalStrings_es.properties /var/lib/tomcat6/webapps/examples/WEB-INF/classes/LocalStrings_fr.properties /var/lib/tomcat6/webapps/examples/WEB-INF/classes/LocalStrings_pt.properties /var/lib/tomcat6/webapps/examples/WEB-INF/classes/RequestHeaderExample.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/RequestHeaderExample.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/RequestInfoExample.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/RequestInfoExample.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/RequestParamExample.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/RequestParamExample.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/SessionExample.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/SessionExample.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/cal /var/lib/tomcat6/webapps/examples/WEB-INF/classes/cal/Entries.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/cal/Entries.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/cal/Entry.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/cal/Entry.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/cal/JspCalendar.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/cal/JspCalendar.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/cal/TableBean.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/cal/TableBean.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/chat /var/lib/tomcat6/webapps/examples/WEB-INF/classes/chat/ChatServlet$MessageSender.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/chat/ChatServlet.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/chat/ChatServlet.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/checkbox /var/lib/tomcat6/webapps/examples/WEB-INF/classes/checkbox/CheckTest.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/checkbox/CheckTest.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/colors /var/lib/tomcat6/webapps/examples/WEB-INF/classes/colors/ColorGameBean.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/colors/ColorGameBean.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/compressionFilters /var/lib/tomcat6/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/dates /var/lib/tomcat6/webapps/examples/WEB-INF/classes/dates/JspCalendar.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/dates/JspCalendar.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/error /var/lib/tomcat6/webapps/examples/WEB-INF/classes/error/Smart.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/error/Smart.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/examples /var/lib/tomcat6/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/examples/FooTag.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/examples/FooTag.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/examples/LogTag.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/examples/LogTag.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/examples/ShowSource.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/examples/ShowSource.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/filters /var/lib/tomcat6/webapps/examples/WEB-INF/classes/filters/ExampleFilter.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/filters/ExampleFilter.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/filters/RequestDumperFilter.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/filters/RequestDumperFilter.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2 /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/BookBean.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/BookBean.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/FooBean.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/FooBean.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/el /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/el/Functions.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/el/Functions.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/listeners /var/lib/tomcat6/webapps/examples/WEB-INF/classes/listeners/ContextListener.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/listeners/ContextListener.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/listeners/SessionListener.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/listeners/SessionListener.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/num /var/lib/tomcat6/webapps/examples/WEB-INF/classes/num/NumberGuessBean.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/num/NumberGuessBean.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/servletToJsp.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/servletToJsp.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/sessions /var/lib/tomcat6/webapps/examples/WEB-INF/classes/sessions/DummyCart.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/sessions/DummyCart.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/util /var/lib/tomcat6/webapps/examples/WEB-INF/classes/util/HTMLFilter.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/util/HTMLFilter.java /var/lib/tomcat6/webapps/examples/WEB-INF/classes/validators /var/lib/tomcat6/webapps/examples/WEB-INF/classes/validators/DebugValidator.class /var/lib/tomcat6/webapps/examples/WEB-INF/classes/validators/DebugValidator.java /var/lib/tomcat6/webapps/examples/WEB-INF/jsp /var/lib/tomcat6/webapps/examples/WEB-INF/jsp/applet /var/lib/tomcat6/webapps/examples/WEB-INF/jsp/applet/Clock2.java /var/lib/tomcat6/webapps/examples/WEB-INF/jsp/debug-taglib.tld /var/lib/tomcat6/webapps/examples/WEB-INF/jsp/example-taglib.tld /var/lib/tomcat6/webapps/examples/WEB-INF/jsp2 /var/lib/tomcat6/webapps/examples/WEB-INF/jsp2/jsp2-example-taglib.tld /var/lib/tomcat6/webapps/examples/WEB-INF/lib /var/lib/tomcat6/webapps/examples/WEB-INF/lib/jstl.jar /var/lib/tomcat6/webapps/examples/WEB-INF/lib/standard.jar /var/lib/tomcat6/webapps/examples/WEB-INF/tags /var/lib/tomcat6/webapps/examples/WEB-INF/tags/displayProducts.tag /var/lib/tomcat6/webapps/examples/WEB-INF/tags/helloWorld.tag /var/lib/tomcat6/webapps/examples/WEB-INF/tags/panel.tag /var/lib/tomcat6/webapps/examples/WEB-INF/tags/xhtmlbasic.tag /var/lib/tomcat6/webapps/examples/WEB-INF/web.xml /var/lib/tomcat6/webapps/examples/index.html /var/lib/tomcat6/webapps/examples/jsp /var/lib/tomcat6/webapps/examples/jsp/cal /var/lib/tomcat6/webapps/examples/jsp/cal/Entries.java.html /var/lib/tomcat6/webapps/examples/jsp/cal/Entry.java.html /var/lib/tomcat6/webapps/examples/jsp/cal/JspCalendar.java.html /var/lib/tomcat6/webapps/examples/jsp/cal/TableBean.java.html /var/lib/tomcat6/webapps/examples/jsp/cal/cal1.jsp /var/lib/tomcat6/webapps/examples/jsp/cal/cal1.jsp.html /var/lib/tomcat6/webapps/examples/jsp/cal/cal2.jsp /var/lib/tomcat6/webapps/examples/jsp/cal/cal2.jsp.html /var/lib/tomcat6/webapps/examples/jsp/cal/calendar.html /var/lib/tomcat6/webapps/examples/jsp/cal/login.html /var/lib/tomcat6/webapps/examples/jsp/chat /var/lib/tomcat6/webapps/examples/jsp/chat/chat.jsp /var/lib/tomcat6/webapps/examples/jsp/chat/chat.jsp.html /var/lib/tomcat6/webapps/examples/jsp/chat/login.jsp /var/lib/tomcat6/webapps/examples/jsp/chat/login.jsp.html /var/lib/tomcat6/webapps/examples/jsp/chat/post.jsp /var/lib/tomcat6/webapps/examples/jsp/chat/post.jsp.html /var/lib/tomcat6/webapps/examples/jsp/checkbox /var/lib/tomcat6/webapps/examples/jsp/checkbox/CheckTest.html /var/lib/tomcat6/webapps/examples/jsp/checkbox/check.html /var/lib/tomcat6/webapps/examples/jsp/checkbox/checkresult.jsp /var/lib/tomcat6/webapps/examples/jsp/checkbox/checkresult.jsp.html /var/lib/tomcat6/webapps/examples/jsp/checkbox/cresult.html /var/lib/tomcat6/webapps/examples/jsp/colors /var/lib/tomcat6/webapps/examples/jsp/colors/ColorGameBean.html /var/lib/tomcat6/webapps/examples/jsp/colors/clr.html /var/lib/tomcat6/webapps/examples/jsp/colors/colors.html /var/lib/tomcat6/webapps/examples/jsp/colors/colrs.jsp /var/lib/tomcat6/webapps/examples/jsp/colors/colrs.jsp.html /var/lib/tomcat6/webapps/examples/jsp/dates /var/lib/tomcat6/webapps/examples/jsp/dates/date.html /var/lib/tomcat6/webapps/examples/jsp/dates/date.jsp /var/lib/tomcat6/webapps/examples/jsp/dates/date.jsp.html /var/lib/tomcat6/webapps/examples/jsp/error /var/lib/tomcat6/webapps/examples/jsp/error/er.html /var/lib/tomcat6/webapps/examples/jsp/error/err.jsp /var/lib/tomcat6/webapps/examples/jsp/error/err.jsp.html /var/lib/tomcat6/webapps/examples/jsp/error/error.html /var/lib/tomcat6/webapps/examples/jsp/error/errorpge.jsp /var/lib/tomcat6/webapps/examples/jsp/error/errorpge.jsp.html /var/lib/tomcat6/webapps/examples/jsp/forward /var/lib/tomcat6/webapps/examples/jsp/forward/forward.jsp /var/lib/tomcat6/webapps/examples/jsp/forward/forward.jsp.html /var/lib/tomcat6/webapps/examples/jsp/forward/fwd.html /var/lib/tomcat6/webapps/examples/jsp/forward/one.jsp /var/lib/tomcat6/webapps/examples/jsp/forward/one.jsp.html /var/lib/tomcat6/webapps/examples/jsp/forward/two.html /var/lib/tomcat6/webapps/examples/jsp/images /var/lib/tomcat6/webapps/examples/jsp/images/code.gif /var/lib/tomcat6/webapps/examples/jsp/images/execute.gif /var/lib/tomcat6/webapps/examples/jsp/images/read.gif /var/lib/tomcat6/webapps/examples/jsp/images/return.gif /var/lib/tomcat6/webapps/examples/jsp/include /var/lib/tomcat6/webapps/examples/jsp/include/foo.html /var/lib/tomcat6/webapps/examples/jsp/include/foo.jsp /var/lib/tomcat6/webapps/examples/jsp/include/foo.jsp.html /var/lib/tomcat6/webapps/examples/jsp/include/inc.html /var/lib/tomcat6/webapps/examples/jsp/include/include.jsp /var/lib/tomcat6/webapps/examples/jsp/include/include.jsp.html /var/lib/tomcat6/webapps/examples/jsp/index.html /var/lib/tomcat6/webapps/examples/jsp/jsp2 /var/lib/tomcat6/webapps/examples/jsp/jsp2/el /var/lib/tomcat6/webapps/examples/jsp/jsp2/el/Functions.java.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/el/basic-arithmetic.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/el/basic-arithmetic.jsp /var/lib/tomcat6/webapps/examples/jsp/jsp2/el/basic-arithmetic.jsp.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/el/basic-comparisons.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/el/basic-comparisons.jsp /var/lib/tomcat6/webapps/examples/jsp/jsp2/el/basic-comparisons.jsp.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/el/functions.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/el/functions.jsp /var/lib/tomcat6/webapps/examples/jsp/jsp2/el/functions.jsp.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/el/implicit-objects.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/el/implicit-objects.jsp /var/lib/tomcat6/webapps/examples/jsp/jsp2/el/implicit-objects.jsp.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspattribute /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspattribute/FooBean.java.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspattribute/HelloWorldSimpleTag.java.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspattribute/ShuffleSimpleTag.java.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspattribute/TileSimpleTag.java.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspattribute/jspattribute.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspattribute/jspattribute.jsp /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspattribute/jspattribute.jsp.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspattribute/shuffle.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspattribute/shuffle.jsp /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspattribute/shuffle.jsp.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspx /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspx/basic.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspx/basic.jspx /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspx/basic.jspx.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspx/svgexample.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspx/textRotate.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspx/textRotate.jpg /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspx/textRotate.jspx /var/lib/tomcat6/webapps/examples/jsp/jsp2/jspx/textRotate.jspx.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/misc /var/lib/tomcat6/webapps/examples/jsp/jsp2/misc/EchoAttributesTag.java.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/misc/coda.jspf /var/lib/tomcat6/webapps/examples/jsp/jsp2/misc/coda.jspf.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/misc/config.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/misc/config.jsp /var/lib/tomcat6/webapps/examples/jsp/jsp2/misc/config.jsp.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/misc/dynamicattrs.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/misc/dynamicattrs.jsp /var/lib/tomcat6/webapps/examples/jsp/jsp2/misc/dynamicattrs.jsp.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/misc/prelude.jspf /var/lib/tomcat6/webapps/examples/jsp/jsp2/misc/prelude.jspf.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/simpletag /var/lib/tomcat6/webapps/examples/jsp/jsp2/simpletag/BookBean.java.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/simpletag/FindBookSimpleTag.java.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/simpletag/Functions.java.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/simpletag/HelloWorldSimpleTag.java.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/simpletag/RepeatSimpleTag.java.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/simpletag/book.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/simpletag/book.jsp /var/lib/tomcat6/webapps/examples/jsp/jsp2/simpletag/book.jsp.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/simpletag/hello.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/simpletag/hello.jsp /var/lib/tomcat6/webapps/examples/jsp/jsp2/simpletag/hello.jsp.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/simpletag/repeat.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/simpletag/repeat.jsp /var/lib/tomcat6/webapps/examples/jsp/jsp2/simpletag/repeat.jsp.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/tagfiles /var/lib/tomcat6/webapps/examples/jsp/jsp2/tagfiles/displayProducts.tag.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/tagfiles/hello.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/tagfiles/hello.jsp /var/lib/tomcat6/webapps/examples/jsp/jsp2/tagfiles/hello.jsp.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/tagfiles/helloWorld.tag.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/tagfiles/panel.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/tagfiles/panel.jsp /var/lib/tomcat6/webapps/examples/jsp/jsp2/tagfiles/panel.jsp.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/tagfiles/panel.tag.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/tagfiles/products.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/tagfiles/products.jsp /var/lib/tomcat6/webapps/examples/jsp/jsp2/tagfiles/products.jsp.html /var/lib/tomcat6/webapps/examples/jsp/jsp2/tagfiles/xhtmlbasic.tag.html /var/lib/tomcat6/webapps/examples/jsp/jsptoserv /var/lib/tomcat6/webapps/examples/jsp/jsptoserv/hello.jsp /var/lib/tomcat6/webapps/examples/jsp/jsptoserv/hello.jsp.html /var/lib/tomcat6/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp /var/lib/tomcat6/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp.html /var/lib/tomcat6/webapps/examples/jsp/jsptoserv/jts.html /var/lib/tomcat6/webapps/examples/jsp/jsptoserv/servletToJsp.java.html /var/lib/tomcat6/webapps/examples/jsp/num /var/lib/tomcat6/webapps/examples/jsp/num/numguess.html /var/lib/tomcat6/webapps/examples/jsp/num/numguess.jsp /var/lib/tomcat6/webapps/examples/jsp/num/numguess.jsp.html /var/lib/tomcat6/webapps/examples/jsp/plugin /var/lib/tomcat6/webapps/examples/jsp/plugin/applet /var/lib/tomcat6/webapps/examples/jsp/plugin/applet/Clock2.class /var/lib/tomcat6/webapps/examples/jsp/plugin/applet/Clock2.java /var/lib/tomcat6/webapps/examples/jsp/plugin/plugin.html /var/lib/tomcat6/webapps/examples/jsp/plugin/plugin.jsp /var/lib/tomcat6/webapps/examples/jsp/plugin/plugin.jsp.html /var/lib/tomcat6/webapps/examples/jsp/security /var/lib/tomcat6/webapps/examples/jsp/security/protected /var/lib/tomcat6/webapps/examples/jsp/security/protected/error.jsp /var/lib/tomcat6/webapps/examples/jsp/security/protected/error.jsp.html /var/lib/tomcat6/webapps/examples/jsp/security/protected/index.jsp /var/lib/tomcat6/webapps/examples/jsp/security/protected/index.jsp.html /var/lib/tomcat6/webapps/examples/jsp/security/protected/login.jsp /var/lib/tomcat6/webapps/examples/jsp/security/protected/login.jsp.html /var/lib/tomcat6/webapps/examples/jsp/sessions /var/lib/tomcat6/webapps/examples/jsp/sessions/DummyCart.html /var/lib/tomcat6/webapps/examples/jsp/sessions/carts.html /var/lib/tomcat6/webapps/examples/jsp/sessions/carts.jsp /var/lib/tomcat6/webapps/examples/jsp/sessions/carts.jsp.html /var/lib/tomcat6/webapps/examples/jsp/sessions/crt.html /var/lib/tomcat6/webapps/examples/jsp/simpletag /var/lib/tomcat6/webapps/examples/jsp/simpletag/foo.html /var/lib/tomcat6/webapps/examples/jsp/simpletag/foo.jsp /var/lib/tomcat6/webapps/examples/jsp/simpletag/foo.jsp.html /var/lib/tomcat6/webapps/examples/jsp/snp /var/lib/tomcat6/webapps/examples/jsp/snp/snoop.html /var/lib/tomcat6/webapps/examples/jsp/snp/snoop.jsp /var/lib/tomcat6/webapps/examples/jsp/snp/snoop.jsp.html /var/lib/tomcat6/webapps/examples/jsp/source.jsp /var/lib/tomcat6/webapps/examples/jsp/source.jsp.html /var/lib/tomcat6/webapps/examples/jsp/tagplugin /var/lib/tomcat6/webapps/examples/jsp/tagplugin/choose.html /var/lib/tomcat6/webapps/examples/jsp/tagplugin/choose.jsp /var/lib/tomcat6/webapps/examples/jsp/tagplugin/choose.jsp.html /var/lib/tomcat6/webapps/examples/jsp/tagplugin/foreach.html /var/lib/tomcat6/webapps/examples/jsp/tagplugin/foreach.jsp /var/lib/tomcat6/webapps/examples/jsp/tagplugin/foreach.jsp.html /var/lib/tomcat6/webapps/examples/jsp/tagplugin/howto.html /var/lib/tomcat6/webapps/examples/jsp/tagplugin/if.html /var/lib/tomcat6/webapps/examples/jsp/tagplugin/if.jsp /var/lib/tomcat6/webapps/examples/jsp/tagplugin/if.jsp.html /var/lib/tomcat6/webapps/examples/jsp/tagplugin/notes.html /var/lib/tomcat6/webapps/examples/jsp/xml /var/lib/tomcat6/webapps/examples/jsp/xml/xml.html /var/lib/tomcat6/webapps/examples/jsp/xml/xml.jsp /var/lib/tomcat6/webapps/examples/jsp/xml/xml.jsp.html /var/lib/tomcat6/webapps/examples/servlets /var/lib/tomcat6/webapps/examples/servlets/cookies.html /var/lib/tomcat6/webapps/examples/servlets/helloworld.html /var/lib/tomcat6/webapps/examples/servlets/images /var/lib/tomcat6/webapps/examples/servlets/images/code.gif /var/lib/tomcat6/webapps/examples/servlets/images/execute.gif /var/lib/tomcat6/webapps/examples/servlets/images/return.gif /var/lib/tomcat6/webapps/examples/servlets/index.html /var/lib/tomcat6/webapps/examples/servlets/reqheaders.html /var/lib/tomcat6/webapps/examples/servlets/reqinfo.html /var/lib/tomcat6/webapps/examples/servlets/reqparams.html /var/lib/tomcat6/webapps/examples/servlets/sessions.html /var/lib/tomcat6/webapps/sample /var/lib/tomcat6/webapps/sample/META-INF /var/lib/tomcat6/webapps/sample/META-INF/MANIFEST.MF /var/lib/tomcat6/webapps/sample/WEB-INF /var/lib/tomcat6/webapps/sample/WEB-INF/classes /var/lib/tomcat6/webapps/sample/WEB-INF/classes/mypackage /var/lib/tomcat6/webapps/sample/WEB-INF/classes/mypackage/Hello.class /var/lib/tomcat6/webapps/sample/WEB-INF/web.xml /var/lib/tomcat6/webapps/sample/hello.jsp /var/lib/tomcat6/webapps/sample/images /var/lib/tomcat6/webapps/sample/images/tomcat.gif /var/lib/tomcat6/webapps/sample/index.html
# rpm -qil tomcat6-admin-webapps Name : tomcat6-admin-webapps Relocations: (not relocatable) Version : 6.0.24 Vendor: CentOS Release : 33.el6 Build Date: Wed 20 Jul 2011 01:44:53 PM CEST Install Date: Fri 25 Nov 2011 10:18:02 AM CET Build Host: c6b5.bsys.dev.centos.org Group : System Environment/Applications Source RPM: tomcat6-6.0.24-33.el6.src.rpm Size : 63426 License: ASL 2.0 Signature : RSA/SHA1, Mon 26 Sep 2011 06:25:55 AM CEST, Key ID 0946fca2c105b9de Packager : CentOS BuildSystem <http://bugs.centos.org> URL : http://tomcat.apache.org/ Summary : The host-manager and manager web applications for Apache Tomcat Description : The host-manager and manager web applications for Apache Tomcat. /var/lib/tomcat6/webapps/host-manager /var/lib/tomcat6/webapps/host-manager/META-INF /var/lib/tomcat6/webapps/host-manager/META-INF/context.xml /var/lib/tomcat6/webapps/host-manager/WEB-INF /var/lib/tomcat6/webapps/host-manager/WEB-INF/web.xml /var/lib/tomcat6/webapps/host-manager/images /var/lib/tomcat6/webapps/host-manager/images/add.gif /var/lib/tomcat6/webapps/host-manager/images/asf-logo.gif /var/lib/tomcat6/webapps/host-manager/images/code.gif /var/lib/tomcat6/webapps/host-manager/images/design.gif /var/lib/tomcat6/webapps/host-manager/images/docs.gif /var/lib/tomcat6/webapps/host-manager/images/fix.gif /var/lib/tomcat6/webapps/host-manager/images/tomcat.gif /var/lib/tomcat6/webapps/host-manager/images/update.gif /var/lib/tomcat6/webapps/host-manager/images/void.gif /var/lib/tomcat6/webapps/host-manager/manager.xml /var/lib/tomcat6/webapps/manager /var/lib/tomcat6/webapps/manager/401.jsp /var/lib/tomcat6/webapps/manager/META-INF /var/lib/tomcat6/webapps/manager/META-INF/context.xml /var/lib/tomcat6/webapps/manager/WEB-INF /var/lib/tomcat6/webapps/manager/WEB-INF/web.xml /var/lib/tomcat6/webapps/manager/images /var/lib/tomcat6/webapps/manager/images/add.gif /var/lib/tomcat6/webapps/manager/images/asf-logo.gif /var/lib/tomcat6/webapps/manager/images/code.gif /var/lib/tomcat6/webapps/manager/images/design.gif /var/lib/tomcat6/webapps/manager/images/docs.gif /var/lib/tomcat6/webapps/manager/images/fix.gif /var/lib/tomcat6/webapps/manager/images/tomcat.gif /var/lib/tomcat6/webapps/manager/images/update.gif /var/lib/tomcat6/webapps/manager/images/void.gif /var/lib/tomcat6/webapps/manager/sessionDetail.jsp /var/lib/tomcat6/webapps/manager/sessionsList.jsp /var/lib/tomcat6/webapps/manager/status.xsd /var/lib/tomcat6/webapps/manager/xform.xsl
Zur Installation des RPM-Paket mit den Namen tomcat6-docs-webapp
, kann nachfolgender Befehl ausgeführt werden:
# yum install tomcat6-docs-webapp Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile 69 packages excluded due to repository priority protections Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package tomcat6-docs-webapp.noarch 0:6.0.24-33.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: tomcat6-docs-webapp noarch 6.0.24-33.el6 cr 433 k Transaction Summary ================================================================================ Install 1 Package(s) Total download size: 433 k Installed size: 2.4 M Is this ok [y/N]: y Downloading Packages: tomcat6-docs-webapp-6.0.24-33.el6.noarch.rpm | 433 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : tomcat6-docs-webapp-6.0.24-33.el6.noarch 1/1 Installed: tomcat6-docs-webapp.noarch 0:6.0.24-33.el6 Complete!
Der Inhalt des RPM-Pakets mit den Namen tomcat6-docs-webapp
, kann nach der erfolgreichen Installation mit nachfolgenden Befehl aufgelistet werden:
# rpm -qil tomcat6-docs-webapp Name : tomcat6-docs-webapp Relocations: (not relocatable) Version : 6.0.24 Vendor: CentOS Release : 33.el6 Build Date: Wed 20 Jul 2011 01:44:53 PM CEST Install Date: Sun 27 Nov 2011 09:46:44 PM CET Build Host: c6b5.bsys.dev.centos.org Group : System Environment/Applications Source RPM: tomcat6-6.0.24-33.el6.src.rpm Size : 2475841 License: ASL 2.0 Signature : RSA/SHA1, Mon 26 Sep 2011 06:25:55 AM CEST, Key ID 0946fca2c105b9de Packager : CentOS BuildSystem <http://bugs.centos.org> URL : http://tomcat.apache.org/ Summary : The docs web application for Apache Tomcat Description : The docs web application for Apache Tomcat. /var/lib/tomcat6/webapps/docs /var/lib/tomcat6/webapps/docs/BUILDING.txt /var/lib/tomcat6/webapps/docs/RELEASE-NOTES.txt /var/lib/tomcat6/webapps/docs/RUNNING.txt /var/lib/tomcat6/webapps/docs/WEB-INF /var/lib/tomcat6/webapps/docs/WEB-INF/web.xml /var/lib/tomcat6/webapps/docs/aio.html /var/lib/tomcat6/webapps/docs/api /var/lib/tomcat6/webapps/docs/api/index.html /var/lib/tomcat6/webapps/docs/appdev /var/lib/tomcat6/webapps/docs/appdev/build.xml.txt /var/lib/tomcat6/webapps/docs/appdev/deployment.html /var/lib/tomcat6/webapps/docs/appdev/index.html /var/lib/tomcat6/webapps/docs/appdev/installation.html /var/lib/tomcat6/webapps/docs/appdev/introduction.html /var/lib/tomcat6/webapps/docs/appdev/processes.html /var/lib/tomcat6/webapps/docs/appdev/sample /var/lib/tomcat6/webapps/docs/appdev/sample/build.xml /var/lib/tomcat6/webapps/docs/appdev/sample/docs /var/lib/tomcat6/webapps/docs/appdev/sample/docs/README.txt /var/lib/tomcat6/webapps/docs/appdev/sample/index.html /var/lib/tomcat6/webapps/docs/appdev/sample/src /var/lib/tomcat6/webapps/docs/appdev/sample/src/mypackage /var/lib/tomcat6/webapps/docs/appdev/sample/src/mypackage/Hello.java /var/lib/tomcat6/webapps/docs/appdev/sample/web /var/lib/tomcat6/webapps/docs/appdev/sample/web/WEB-INF /var/lib/tomcat6/webapps/docs/appdev/sample/web/WEB-INF/web.xml /var/lib/tomcat6/webapps/docs/appdev/sample/web/hello.jsp /var/lib/tomcat6/webapps/docs/appdev/sample/web/images /var/lib/tomcat6/webapps/docs/appdev/sample/web/images/tomcat.gif /var/lib/tomcat6/webapps/docs/appdev/sample/web/index.html /var/lib/tomcat6/webapps/docs/appdev/source.html /var/lib/tomcat6/webapps/docs/appdev/web.xml.txt /var/lib/tomcat6/webapps/docs/apr.html /var/lib/tomcat6/webapps/docs/architecture /var/lib/tomcat6/webapps/docs/architecture/index.html /var/lib/tomcat6/webapps/docs/architecture/overview.html /var/lib/tomcat6/webapps/docs/architecture/requestProcess /var/lib/tomcat6/webapps/docs/architecture/requestProcess.html /var/lib/tomcat6/webapps/docs/architecture/requestProcess/requestProcess.pdf /var/lib/tomcat6/webapps/docs/architecture/requestProcess/roseModel.mdl /var/lib/tomcat6/webapps/docs/architecture/startup /var/lib/tomcat6/webapps/docs/architecture/startup.html /var/lib/tomcat6/webapps/docs/architecture/startup/serverStartup.pdf /var/lib/tomcat6/webapps/docs/architecture/startup/serverStartup.txt /var/lib/tomcat6/webapps/docs/balancer-howto.html /var/lib/tomcat6/webapps/docs/building.html /var/lib/tomcat6/webapps/docs/cgi-howto.html /var/lib/tomcat6/webapps/docs/changelog.html /var/lib/tomcat6/webapps/docs/class-loader-howto.html /var/lib/tomcat6/webapps/docs/cluster-howto.html /var/lib/tomcat6/webapps/docs/config /var/lib/tomcat6/webapps/docs/config/ajp.html /var/lib/tomcat6/webapps/docs/config/cluster-channel.html /var/lib/tomcat6/webapps/docs/config/cluster-deployer.html /var/lib/tomcat6/webapps/docs/config/cluster-interceptor.html /var/lib/tomcat6/webapps/docs/config/cluster-listener.html /var/lib/tomcat6/webapps/docs/config/cluster-manager.html /var/lib/tomcat6/webapps/docs/config/cluster-membership.html /var/lib/tomcat6/webapps/docs/config/cluster-receiver.html /var/lib/tomcat6/webapps/docs/config/cluster-sender.html /var/lib/tomcat6/webapps/docs/config/cluster-valve.html /var/lib/tomcat6/webapps/docs/config/cluster.html /var/lib/tomcat6/webapps/docs/config/context.html /var/lib/tomcat6/webapps/docs/config/engine.html /var/lib/tomcat6/webapps/docs/config/executor.html /var/lib/tomcat6/webapps/docs/config/globalresources.html /var/lib/tomcat6/webapps/docs/config/host.html /var/lib/tomcat6/webapps/docs/config/http.html /var/lib/tomcat6/webapps/docs/config/index.html /var/lib/tomcat6/webapps/docs/config/listeners.html /var/lib/tomcat6/webapps/docs/config/loader.html /var/lib/tomcat6/webapps/docs/config/manager.html /var/lib/tomcat6/webapps/docs/config/realm.html /var/lib/tomcat6/webapps/docs/config/resources.html /var/lib/tomcat6/webapps/docs/config/server.html /var/lib/tomcat6/webapps/docs/config/service.html /var/lib/tomcat6/webapps/docs/config/systemprops.html /var/lib/tomcat6/webapps/docs/config/valve.html /var/lib/tomcat6/webapps/docs/connectors.html /var/lib/tomcat6/webapps/docs/default-servlet.html /var/lib/tomcat6/webapps/docs/deployer-howto.html /var/lib/tomcat6/webapps/docs/developers.html /var/lib/tomcat6/webapps/docs/extras.html /var/lib/tomcat6/webapps/docs/funcspecs /var/lib/tomcat6/webapps/docs/funcspecs/fs-admin-apps.html /var/lib/tomcat6/webapps/docs/funcspecs/fs-admin-objects.html /var/lib/tomcat6/webapps/docs/funcspecs/fs-admin-opers.html /var/lib/tomcat6/webapps/docs/funcspecs/fs-default.html /var/lib/tomcat6/webapps/docs/funcspecs/fs-invoker.html /var/lib/tomcat6/webapps/docs/funcspecs/fs-jdbc-realm.html /var/lib/tomcat6/webapps/docs/funcspecs/fs-jndi-realm.html /var/lib/tomcat6/webapps/docs/funcspecs/fs-memory-realm.html /var/lib/tomcat6/webapps/docs/funcspecs/index.html /var/lib/tomcat6/webapps/docs/funcspecs/mbean-names.html /var/lib/tomcat6/webapps/docs/html-manager-howto.html /var/lib/tomcat6/webapps/docs/images /var/lib/tomcat6/webapps/docs/images/add.gif /var/lib/tomcat6/webapps/docs/images/asf-logo.gif /var/lib/tomcat6/webapps/docs/images/code.gif /var/lib/tomcat6/webapps/docs/images/design.gif /var/lib/tomcat6/webapps/docs/images/docs.gif /var/lib/tomcat6/webapps/docs/images/fix.gif /var/lib/tomcat6/webapps/docs/images/printer.gif /var/lib/tomcat6/webapps/docs/images/tomcat.gif /var/lib/tomcat6/webapps/docs/images/tomcat.svg /var/lib/tomcat6/webapps/docs/images/update.gif /var/lib/tomcat6/webapps/docs/images/void.gif /var/lib/tomcat6/webapps/docs/index.html /var/lib/tomcat6/webapps/docs/introduction.html /var/lib/tomcat6/webapps/docs/jasper-howto.html /var/lib/tomcat6/webapps/docs/jndi-datasource-examples-howto.html /var/lib/tomcat6/webapps/docs/jndi-resources-howto.html /var/lib/tomcat6/webapps/docs/logging.html /var/lib/tomcat6/webapps/docs/manager-howto.html /var/lib/tomcat6/webapps/docs/maven-jars.html /var/lib/tomcat6/webapps/docs/mbeans-descriptor-howto.html /var/lib/tomcat6/webapps/docs/monitoring.html /var/lib/tomcat6/webapps/docs/proxy-howto.html /var/lib/tomcat6/webapps/docs/realm-howto.html /var/lib/tomcat6/webapps/docs/security-manager-howto.html /var/lib/tomcat6/webapps/docs/setup.html /var/lib/tomcat6/webapps/docs/ssi-howto.html /var/lib/tomcat6/webapps/docs/ssl-howto.html /var/lib/tomcat6/webapps/docs/tribes /var/lib/tomcat6/webapps/docs/tribes/faq.html /var/lib/tomcat6/webapps/docs/tribes/introduction.html /var/lib/tomcat6/webapps/docs/tribes/setup.html /var/lib/tomcat6/webapps/docs/virtual-hosting-howto.html /var/lib/tomcat6/webapps/docs/windows-service-howto.html
Konfiguration
Nachfolgend einige grundlegende Konfigurationen des Apache Tomcat 6-Application Servers.
Konfiguration: Start/Stopp
Bei der Installation des Apache Tomcat 6-Application Servers wird eine entsprechendes Start-Script mitgeliefert, welches wie unter CentOS üblich, welches sich in nachfolgendem Verzeichnis mit ebenfalls nachfolgendem Namen befindet:
/etc/init.d/tomcat6
Um einen Apache Tomcat 6-Application Servers, welcher als Dienst/Deamon als Hintergrundprozess läuft, auch nach einem Neustart des Servers zur Verfügung zu haben, soll der Dienst/Daemon mit dem Server mit gestartet werden, was mit nachfolgendem Befehl realisiert werden kann:
# chkconfig tomcat6 on
Eine Überprüfung, ob beim Neustart des Server der tomcat6
-Dienst/Deamon wirklich mit gestartet wird, kann mit nachfolgendem Befehl erfolgen und sollte eine Anzeige, wie ebenfalls nachfolgend dargestellt ausgeben:
# chkconfig --list | grep tomcat6 tomcat6 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Konfiguration: /etc/tomcat6/tomcat6.conf
Eine spezielle Konfigurationsdatei unter CentOS in der Version 6.x ist
/etc/tomcat6/tomcat6.conf
Nachfolgend sollen einige Änderungen bzw. Ergänzungen an dieser Konfigurationsdatei durchgeführt werden, welchen ein Kommentar, wie nachfolgend dargestellt, voransteht:
# Tachtler
Hier die komplette Konfigurationsdatei mit allen Änderungen bzw. Ergänzungen, welche ebenfalls nachfolgend erklärt werden:
# System-wide configuration file for tomcat6 services # This will be sourced by tomcat6 and any secondary service # Values will be overridden by service-specific configuration # files in /etc/sysconfig # # Use this one to change default values for all services # Change the service specific ones to affect only one service # (see, for instance, /etc/sysconfig/tomcat6) # # Where your java installation lives # Tachtler # default: #JAVA_HOME="/usr/lib/jvm/java-1.5.0" JAVA_HOME="/usr/lib/jvm/java" # Where your tomcat installation lives CATALINA_BASE="/usr/share/tomcat6" CATALINA_HOME="/usr/share/tomcat6" JASPER_HOME="/usr/share/tomcat6" CATALINA_TMPDIR="/var/cache/tomcat6/temp" # You can pass some parameters to java here if you wish to #JAVA_OPTS="-Xminf0.1 -Xmaxf0.3" # Use JAVA_OPTS to set java.library.path for libtcnative.so # Tachtler # default: #JAVA_OPTS="-Djava.library.path=/usr/lib64" JAVA_OPTS="-Djava.library.path=/usr/lib64" # Cannot resolve user database reference - naming-factory-dbcp # the real problem is a cnfe that is avoided by configuring # the -Djavax.sql.DataSource.Factory. This fixes the rpm install. # Tachtler # default: JAVA_OPTS="${JAVA_OPTS} -Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory" JAVA_OPTS="${JAVA_OPTS} -Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory -server -Xms128m -Xmx256m" # What user should run tomcat TOMCAT_USER="tomcat" # You can change your tomcat locale here #LANG="en_US" # Run tomcat under the Java Security Manager SECURITY_MANAGER="false" # Time to wait in seconds, before killing process SHUTDOWN_WAIT="30" # Whether to annoy the user with "attempting to shut down" messages or not SHUTDOWN_VERBOSE="false" # Set the TOMCAT_PID location CATALINA_PID="/var/run/tomcat6.pid" # Connector port is 8080 for this tomcat6 instance # Tachtler # default #CONNECTOR_PORT="8080" CONNECTOR_PORT="8000" # If you wish to further customize your tomcat environment, # put your own definitions here # (i.e. LD_LIBRARY_PATH for some jdbc drivers)
Nachfolgend ein paar Erklärungen zu den gemachten Änderungen bzw. Ergänzungen:
JAVA_HOME
Angabe der Position, unter welchem Pfad die zu verwendende Java-Version zu finden ist:
# Where your java installation lives # Tachtler # default: #JAVA_HOME="/usr/lib/jvm/java-1.5.0" JAVA_HOME="/usr/lib/jvm/java
JAVA_OPTS
Ergänzugen zu den Java-Optionen:
# Cannot resolve user database reference - naming-factory-dbcp # the real problem is a cnfe that is avoided by configuring # the -Djavax.sql.DataSource.Factory. This fixes the rpm install. # Tachtler # default: JAVA_OPTS="${JAVA_OPTS} -Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory" JAVA_OPTS="${JAVA_OPTS} -Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory -server -Xms128m -Xmx256m"
*1 -server = Betrieb im Server-Modus
*2 -Xms128m = minimaler RAM-Speicher welche beim Start des Apache Tomcat 6 Application Servers reserviert werden soll
*3 -Xmx256m = maximaler RAM-Speicher welche durch den Apache Tomcat 6 Application Servers belegt werden kann
CONNECTOR_PORT
Veränderung des TCP-Ports auf dem der Apache Tomcat 6-Application Servers lauschen soll.
# Connector port is 8080 for this tomcat6 instance # Tachtler # default #CONNECTOR_PORT="8080" CONNECTOR_PORT="8000"
Konfiguration: /etc/tomcat6/web.xml
Diese Konfigurationsdatei stellt eine Standard-Datei für alle WEB-Anwendungen dar, welche keine eigene web-xml
-Datei vorhalten.
Nachfolgend kann hier z.B. die Standard-Laufzeit einer Session, hier von 30 Minuten auf z.B. 8 Minuten geändert werden (nur relevanter Ausschnitt):
... <!-- ==================== Default Session Configuration ================= --> <!-- You can set the default session timeout (in minutes) for all newly --> <!-- created sessions by modifying the value below. --> <!-- Tachtler --> <!-- default: <session-config> <session-timeout>30</session-timeout> </session-config> --> <session-config> <session-timeout>8</session-timeout> </session-config> ...
Konfiguration: /etc/tomcat6/server.xml
Diese Konfigurationsdatei ist die Haupt-Konfigurationsdatei des Apache Tomcat 6-Application Servers.
Nachfolgend sollen einige Änderungen an dieser Konfigurationsdatei durchgeführt werden, welche aufgrund der Größe der Datei, in kleinen Änderungsschritten dargestellt werden.
Konfiguration: Server
Aus Sicherheitsgründen sollte der Port und auch die Zeichenkette, mit dem der Apache Tomcat 6-Application Servers heruntergefahren werden kann:
... <!-- Note: A "Server" is not itself a "Container", so you may not define subcomponents such as "Valves" at this level. Documentation at /docs/config/server.html --> <!-- Tachtler --> <!-- default: <Server port="8005" shutdown="SHUTDOWN"> --> <Server port="8098" shutdown="DOWNBABY"> ... <!-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html --> <!-- Tachtler - DISABLED - --> <!-- <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" /> --> ...
Konfiguration: GlobalNamingResources
Die Nutzung einer Datei zur Authentifizierung von Benutzer, welche standardmäßig /etc/tomcat6/tomcat-users.xml
ist, soll hier deaktiviert werden, um später gegen einen LDAP-Server zu authentifizieren, was in nachfolgender Konfiguration gezeigt wird.
Wie ein entsprechender LDAP-Server eingerichtet werden kann, kann unter folgendem Link innerhalb dieses DokuWiki's nachgelesen werden:
Wie entsprechende Anpassungen an einem LDAP-Server zu Authentifizierung von Benutzer durchgeführt werden müssen, kann unter folgendem Link innerhalb dieses DokuWiki's nachgelesen werden:
WICHITG - Bitte NICHT auskommentieren wenn zur Authentifizierung von Benutzer die Konfigurationsdatei /etc/tomcat6/tomcat-users.xml
genutzt werden soll !!!
... <GlobalNamingResources> <!-- Editable user database that can also be used by UserDatabaseRealm to authenticate users --> <!-- Tachtler - DISABLED - --> <!-- <Resource name="UserDatabase" auth="Container" type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" pathname="conf/tomcat-users.xml" /> --> </GlobalNamingResources> ...
Konfiguration: Connector HTTP
Die Konfiguration des „Connector“ bezeichnet die Art und Weise, wie eine Verbindung zum Apache Tomcat 6-Application Servers hergestellt werden kann:
... <!-- A "Connector" represents an endpoint by which requests are received and responses are returned. Documentation at : Java HTTP Connector: /docs/config/http.html (blocking & non-blocking) Java AJP Connector: /docs/config/ajp.html APR (HTTP/AJP) Connector: /docs/apr.html Define a non-SSL HTTP/1.1 Connector on port 8080 --> <!-- Tachtler --> <!-- <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> --> <Connector port="8000" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" address="127.0.0.1" /> ...
*1 Hier wird als Beispiel der Standard-Port von 8080 auf den Port 8000 abgeändert
*2 Verbindungen werden nur von der IP-Adresse 127.0.0.1 akzeptiert
Konfiguration: Connector AJP
Die Konfiguration des „Connector“ bezeichnet die Art und Weise, wie eine Verbindung zum Apache Tomcat 6-Application Servers hergestellt werden kann:
... <!-- Define an AJP 1.3 Connector on port 8009 --> <!-- Tachtler --> <!-- default: <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /> --> <Connector port="8099" protocol="AJP/1.3" redirectPort="8443" address="127.0.0.1"/> ...
*1 Hier wird als Beispiel der Connector-Port von 8009 auf den Port 8099 abgeändert
*2 Verbindungen werden nur von der IP-Adresse 127.0.0.1 akzeptiert
Konfiguration: Realm className
Die Nutzung einer Datei zur Authentifizierung von Benutzer, welche standardmäßig /etc/tomcat6/tomcat-users.xml
ist, soll hier deaktiviert werden, um später gegen einen LDAP-Server zu authentifizieren, was in nachfolgender Konfiguration gezeigt wird.
Wie ein entsprechender LDAP-Server eingerichtet werden kann, kann unter folgendem Link innerhalb dieses DokuWiki's nachgelesen werden:
Wie entsprechende Anpassungen an einem LDAP-Server zu Authentifizierung von Benutzer durchgeführt werden müssen, kann unter folgendem Link innerhalb dieses DokuWiki's nachgelesen werden:
WICHITG - Bitte NICHT auskommentieren wenn zur Authentifizierung von Benutzer die Konfigurationsdatei /etc/tomcat6/tomcat-users.xml
genutzt werden soll !!!
... <!-- This Realm uses the UserDatabase configured in the global JNDI resources under the key "UserDatabase". Any edits that are performed against this UserDatabase are immediately available for use by the Realm. --> <!-- Tachtler - DISABLED - --> <!-- <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/> --> ...
Konfiguration: /etc/tomcat6/context.xml
Die Nutzung einer Datei zur Authentifizierung von Benutzer, welche standardmäßig /etc/tomcat6/tomcat-users.xml
ist, soll hier deaktiviert werden, um später gegen einen LDAP-Server zu authentifizieren, was in nachfolgender Konfiguration gezeigt wird.
Wie ein entsprechender LDAP-Server eingerichtet werden kann, kann unter folgendem Link innerhalb dieses DokuWiki's nachgelesen werden:
Wie entsprechende Anpassungen an einem LDAP-Server zu Authentifizierung von Benutzer durchgeführt werden müssen, kann unter folgendem Link innerhalb dieses DokuWiki's nachgelesen werden:
WICHITG - Bitte NICHT hinzufügen wenn zur Authentifizierung von Benutzer die Konfigurationsdatei /etc/tomcat6/tomcat-users.xml
genutzt werden soll !!!
Hier die Konfiguration für einen Zugriff auf einen LDAP-Server, als Beispiel (nur relevanter Ausschnitt):
... <!-- The contents of this file will be loaded for each web application --> <Context antiJARLocking="true"> <!-- Default set of monitored resources --> <WatchedResource>WEB-INF/web.xml</WatchedResource> <!-- Tachtler --> <!-- Enable LDAP authentication --> <Realm className="org.apache.catalina.realm.JNDIRealm" connectionName="cn=Ersatzauthentifizierer,dc=tachtler,dc=net" connectionPassword="geheim" connectionURL="ldap://ldap.dmz.tachtler.net:389" userPattern="uid={0},ou=People,dc=tachtler,dc=net" roleBase="ou=TomcatRoles,dc=tachtler,dc=net" roleName="cn" roleSearch="(uniqueMember={0})" /> <!-- Uncomment this to disable session persistence across Tomcat restarts --> <!-- <Manager pathname="" /> --> ...
Erster Start
Nachdem alle vorhergehenden Konfigurationsschritte erfolgreich durchgeführt worden sind kann der Apache Tomcat 6-Application Server mit nachfolgendem Befehle gestartet werden:
# service tomcat6 start Starting tomcat6: [ OK ]
Überprüfung: LOG-Ausgaben
Mit nachfolgendem Befehl, kann die LOG-Ausgabe des Apache Tomcat 6-Application Servers überprüft werden.
# cat /usr/share/tomcat6/logs/catalina.out Nov 25, 2011 4:39:57 PM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.22. Nov 25, 2011 4:39:57 PM org.apache.catalina.core.AprLifecycleListener init INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. Nov 25, 2011 4:39:57 PM org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing Coyote HTTP/1.1 on http-127.0.0.1-8000 Nov 25, 2011 4:39:57 PM org.apache.coyote.ajp.AjpAprProtocol init INFO: Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8099 Nov 25, 2011 4:39:57 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 725 ms Nov 25, 2011 4:39:57 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Nov 25, 2011 4:39:57 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.24 Nov 25, 2011 4:39:57 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor manager.xml Nov 25, 2011 4:39:57 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor host-manager.xml Nov 25, 2011 4:39:57 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory sample Nov 25, 2011 4:39:57 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory examples Nov 25, 2011 4:39:58 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory ROOT Nov 25, 2011 4:39:58 PM org.apache.coyote.http11.Http11AprProtocol start INFO: Starting Coyote HTTP/1.1 on http-127.0.0.1-8000 Nov 25, 2011 4:39:58 PM org.apache.coyote.ajp.AjpAprProtocol start INFO: Starting Coyote AJP/1.3 on ajp-127.0.0.1-8099 Nov 25, 2011 4:39:58 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 974 ms
Überprüfung: IP/Port-Listen
Mit nachfolgendem Befehl kann überprüft werden auf welchen IP-Adressen (**sollte in diesem Beispiel NUR 127.0.0.1 sein) und auf welchen Ports der Apache Tomcat 6-Application Server horcht:
# netstat -tulpen | grep java tcp 0 0 127.0.0.1:8098 0.0.0.0:* LISTEN 91 23322 8157/java tcp 0 0 127.0.0.1:8099 0.0.0.0:* LISTEN 91 23303 8157/java tcp 0 0 127.0.0.1:8000 0.0.0.0:* LISTEN 91 23301 8157/java