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 ...
Get MySQL™ and JSP™ Web Applications: Data-Driven Programming Using Tomcat and MySQL now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.