Apache Tomcat 5.5 Download For Linux
The above distribution assumes Java 5.To run Tomcat using an older Java implemenation (such as JDK 1.4.x)you will also needapache-tomcat-5.5.12-compat.tar.gz.Installing Tomcat(These instructions are for a Unix-like system, such as GNU/Linux.)
Apache Tomcat 5.5 Download For Linux
This creates the directory $tomcat_prefix/apache-tomcat-5.5.12.tar.gz.Set the environment variable $CATALINA_HOME to this directory:export CATALINA_HOME=$tomcat_prefix/apache-tomcat-5.5.12.tar.gzTomcat on Fedora Core 4The Fedora Core 4distribution of GNU/Linux includes packages for Tomcatcompiled with GCJ.If you haven't installed the Tomcat5 packages, as root do:# yum install tomcat5Make sure that /usr/bin/java and /usr/bin/javacrefer to the gcj versions, rather than (say) Sun's JDK:# /usr/sbin/alternatives --config java# /usr/sbin/alternatives --config javacThe selection should look like /usr/lib/jvm/jre-1.4.2-gcj/bin/javaand /usr/lib/jvm/java-1.4.2-gcj/bin/javac, respectively.To start Tomcat do:# /sbin/service tomcat5 startTo shut down Tomcat do:# /sbin/service tomcat5 stopTo have Tomcat automaticaly start on system boot, do:# /sbin/chkconfig tomcat5 onTo set $CATALINA_HOME, as used in the following, do:# export CATALINA_HOME=/usr/share/tomcat5Installing Kawa/Qexo for TomcatYou will need to install a jar file of Kawa.You can get kawa-1.8.jar (or later)the Kawa ftp siteor from a mirror site.Copy this to $CATALINA_HOME/shared/lib/kawa-1.8.jar.(If you're using Tomcat 4.0.x, shared/lib doesn'texist. Install as $CATALINA_HOME/lib/kawa-1.8.jar instead.)
I prefer iptable to avoid to manage an apache and tomcat with native librarie can be an efficient web server. Clearly under heavy load dur to static content (like images) an apache can make the difference.I manage a lot of virtual hosts, so having only tomcat I can configure only it. About SSL, i use the ssl connector of tomcat without problems.
If you installed Tomcat "by hand" by downloading and unpacking an official binary release archive (tar.gz or .zip) from tomcat.apache.org, regardless of the operating system you're using, here is the standard way to restart Tomcat:
Note This article follows the Apache Tomcat documentation convention of using $CATALINA_HOME to represent the root of the Tomcat installation directory. For example, if you install Tomcat 7.0.19 in /usr/local, $CATALINA_HOME represents /usr/local/apache-tomcat-7.0.19.
The Administration Web Application tools is only available until Tomcat 5.5.28. Try to download the Admin Tool and extract it. After extracting the package, copy the \apache-tomcat-5.5.28\conf\Catalina\localhost\admin.xml to $CATALINA_HOME\localhost.
Hudson monitors executions of repeated jobs, such as building a software project or jobs run by cron. This article explains how you can set it up on Linux. if(typeof ez_ad_units!='undefined')ez_ad_units.push([[728,90],'howtoforge_com-medrectangle-3','ezslot_11',121,'0','0']);__ez_fad_position('div-gpt-ad-howtoforge_com-medrectangle-3-0');1 Preparation 1. Create directory structure as follows:/var/hudson/ +-[.ssh] +-[bin] +-[slave.jar] +-[workspace] +-[container] +-[ci-tools] +-[java] mkdir -p /var /var/hudson /var/hudson/.ssh /var/hudson/bin /var/hudson/workspace /var/hudson/container /var/hudson/ci-tools /var/hudson/java The purpose of directory layout is to have a standard one and easy to maintain in the future. 2. Create hudson user with the home directory /var/hudson: (adsbygoogle=window.adsbygoogle[]).push();useradd -d /var/hudson -c 'Hudson user' hudson chown -R hudson /var/hudson 3. Download Tomcat 5.5.26 and extract into folder /var/hudson/container/apache-tomcat-5.5.26 ( -5/v5.5.26/bin/apache-tomcat-5.5.26.tar.gz):su hudson wget -5/v5.5.26/bin/apache-tomcat-5.5.26.tar.gz tar -xzf apache-tomcat-5.5.26.tar.gz mv apache-tomcat-5.5.26 /var/hudson/container/ 4. The path to bin folder of tomcat should be /var/hudson/container/apache-tomcat-5.5.26/bin.5. Download JRE 5 from and install it into /var/hudson/container/jre1.5.0_15.6. Download hudson.war from (current version is 1.218). if(typeof ez_ad_units!='undefined')ez_ad_units.push([[580,400],'howtoforge_com-medrectangle-4','ezslot_9',108,'0','0']);__ez_fad_position('div-gpt-ad-howtoforge_com-medrectangle-4-0');7. Put the hudson.war into webapps folder of tomcat located at /var/hudson/container/tomcat-5.5.26/webapps.8. Create start-server.sh file at /var/hudson with following content:#!/bin/shset JRE_HOME=/var/hudson/container/jre1.5.0_15set HUDSON_HOME=/var/hudson/workspaceif(typeof ez_ad_units!='undefined')ez_ad_units.push([[336,280],'howtoforge_com-box-4','ezslot_10',110,'0','0']);__ez_fad_position('div-gpt-ad-howtoforge_com-box-4-0');set CATALINA_HOME=/var/hudson/container/apache-tomcat-5.5.26cd /var/hudson/container/apache-tomcat-5.5.26sh ./bin/startup.sh &9. Create stop-server.sh file at /var/hudson with following content:#!/bin/shset JRE_HOME=/var/hudson/container/jre1.5.0_15set CATALINA_HOME=/var/hudson/container/apache-tomcat-5.5.26cd /var/hudson/container/apache-tomcat-5.5.26./bin/shutdown.sh10. Open the browser at :8080/hudson to see the Hudson home page. 11. Copy the slave.jar located under /var/hudson/container/apache-tomcat-5.5.26/webapps/hudson/WEB-INF folder into /var/hudson/bin folder. 2 Installation 1. Download and install following plug-ins: Active Directory.hpi, violations.hpi, emma.hpi, cobertura.hpi
For x64 operating system:/usr/jdk/jdk1.6.0_15/bin/amd64/keytool -import -keystore /usr/jdk/jdk1.6.0_15/jre/lib/security/cacerts -storepass changeit -trustcacerts -file /var/apache/tomcat55/conf/ssl.crt/ca-bundle.crtNote: The command above should be written as one line. Run the command bellow to import the signed public key into the key store:For 32bit operating system: /usr/jdk/jdk1.6.0_15/bin/keytool -import -keystore /var/apache/tomcat55/conf/ssl.key/server.key -storepass ComplexPassword -trustcacerts -file /var/apache/tomcat55/conf/ssl.crt/server.crtNote: The command above should be written as one line.
For x64 operating system:/usr/jdk/jdk1.6.0_15/bin/amd64/keytool -import -keystore /var/apache/tomcat55/conf/ssl.key/server.key -storepass ComplexPassword -trustcacerts -file /var/apache/tomcat55/conf/ssl.crt/server.crtNote: The command above should be written as one line.
Stop the Tomcat service:/etc/init.d/tomcat stop
Edit using VI, the file /var/apache/tomcat55/conf/server.xml and add the section bellow:
Edit using VI, the file /var/apache/tomcat55/conf/web.xml and add the following section, inside the tag:Constrain the user data transport for the whole applicationCONFIDENTIAL
Start the Tomcat service:/etc/init.d/tomcat start -security
Posted in Apache, Certificate Authority, SSL, Tomcat No Comments Hardening guide for Tomcat 5.5 on Solaris 10 platformJuly 22nd, 2010 Author: eyalestrinPre-installation notesThis guide instruct how to install SUN JDK 1.6 build 15 and Tomcat 5.5 on SUN Solaris 10.
Install TomcatApache Tomcat acts as the container server which runs the application. If you don't have Tomcat installed you can download it from -55.cgi#5.5.20.Install instructions for Tomcat can be found on their site.Install the MySQL JDBC connectorNow that you have Tomcat installed you need to make it MySQL-aware by installing the MySQL JDBC connector.The JDBC connector can be fetched from Take note, version 5.1.5 of the MySQL JDBC connector contains a bug that prevents eHour from working correctly. eHour was tested with version 5.0.8.Unpack the downloaded archive and copy the extracted mysql-connector-5.x.x-bin.jar file to Tomcat's common/lib directory.Hook up eHour to TomcatBefore you deploy eHour in Tomcat you have to configure the database connection, make sure Tomcat isn't running.In the conf/tomcat directory of the eHour distribution you'll find the ehour.xml config file.Edit this file in your favourite text-editor and replace the following fields:@ehour.db.usernamethe MySQL username@ehour.db.passwordthe MySQL password@ehour.db.hostnamethe hostname/IP address of your MySQL server@ehour.db.namethe eHour MySQL databaseWhen you're done editing copy this file to the conf/Catalina/localhost directory in your Tomcat install directoryInstall eHour in TomcatIn the install directory of Tomcat create a directory named deploy