O'Reilly logo

MySQL™ and JSP™ Web Applications: Data-Driven Programming Using Tomcat and MySQL by James Turner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing Tomcat Under Linux

As with the other packages, installing Tomcat is essentially the same under Linux as under Windows.

Downloading the Distribution

Point your browser totohttp://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/rpms/ and select the noarch rpm file and the webapps rpm file.

Save the files to /tmp.

Unpacking the Distribution

cd to /tmp and, as root, run the following:

# rpm —install tomcat4-4.0.1-1.noarch.rpm

Don't forget to setup vars in /etc/tomcat4/conf/tomcat4.conf to
adapt the RPM to your JDK for example.
As supplied we assume you're using IBM JDK 1.3.0

For security purposes, tomcat is no more activated by
default so don't forget to use chkconfig under root :
/sbin/chkconfig —add tomcat4

# /sbin/chkconfig ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required