How to setup Apache Tomcat on Linux?
*First you need to install Java. [See How to install Java on linux?|http://www.egjug.org/?q=linux_java]
*Download Tomcat
**[Download page|http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi]
**[Tomcat 5.0.28|http://ftp.wayne.edu/apache/jakarta/tomcat-5/v5.0.28/bin/jakarta-tomcat-5.0.28.tar.gz]
*Extract tomcat
{{{#tar xvfz jakarta-tomcat-5.0.28.tar.gz}}}
*Install Tomcat
{{{
#cd jakarta-tomcat-5.0.28
#cd bin
#tar xvfz jsvc.tar.gz
#cd jsvc-src
#chmod +x configure
#./configure
#make
#cp jsvc ..
#cd ..
}}}
*Run Tomcat
{{{#./startup.sh}}}
open web browser and type http://localhost:8080/
you should see the Tomcat Administration page
*Test Tomcat
go to webapps/ROOT in the tomcat directory
and create page hello.html and write in it
{{{ Hello Tomcat}}}
open the URL http://localhost:8080/hello.html you should see your page
*Make JSP page
go to webapps/ROOT in the tomcat directory
and create page hello.jsp and write in it the following lines
{{{
<%=new String("Hello EGJUG")%>
<%=new java.util.Date()%>
}}}
save and run the following URL http://localhost:8080/hello.jsp
you should see my Name
*Monitor Tomcat
you can see the log file in the logs directory
''Note'':- I can see that Tomcat on Linux faster that tomcat in windows at least 3 times in both startup, shutdown and in compiling. Also Jetty 6 as i knew is so fast on linux.
How to Install Tomcat on Linux?
Submitted by Ahmed Hashim on Sun, 2005-12-04 17:19.






Thank you for the article.
Yes
yum install tomcat55
yum install tomcat55
As easy as this, brought to you by JPackage.