I l @ ve RuBoard |
As with the other packages, installing Tomcat is essentially the same under Linux as under Windows. Downloading the DistributionPoint 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 Distributioncd 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 add tomcat4 # rpm install tomcat4-webapps-4.0.1-1.noarch.rpm This installs Tomcat to /etc/tomcat4 and /var/tomcat4. Editing the /etc/tomcat4/tomcat.conf FileAs root, edit /etc/tomcat4/conf/tomcat.conf and set the value for JAVA_HOME as appropriate (the location where you unpacked the JDK). Testing TomcatAs root, try /etc/init.d/tomcat4 start . Open a browser and point it to http://localhost:8180/ . You should see the Web page shown in Figure A.1. As with Windows, it's almost impossible to mess up this install. Check your PATH variable if it doesn't seem to work. |
I l @ ve RuBoard |