Tomcat is web container for java (servlet, jsp or other). It is a part of apache development.
In this case we will install tomcat on linux step by step from source targz . We assumed java development kit (jdk version 1.5 or 1.6) was installed.
1. Download apache-tomcat newer version(ex. apache-tomcat-6.0.18.tar.gz) from apache-tomcat
extract your tomcat software from downloaded :
$tar zxvf apache-tomcat-6.0.18.tar.gz
2. please change your directory to tomcat extracted
$cd apache-tomcat-6.0.18
3. then copy it to your directory (ex. /usr/local/tomcat6 )
4. your tomcat's already installed
5. start your tomcat
$tomcat_home/bin/startup.sh
note: tomcat_home = your directory where tomcat's installed
$tomcat_home/bin/shutdown.sh
this command 'll shutdown your tomcat
If you use debian linux & family , you can use apt-get command (must a root acces) and install it from mirror debian :
1. #apt-get update
2. #apt-cache search tomcat
3. #apt-get install tomcat
RedHat, Fedora & family :
1. #rpm -i tomcat-version.rpm
Install Postgresql Di Linux
17 years ago

3 comments:
very good !!!
it's very very very help me
thanks
good ....
i've a problem.
i've a domain where that domain have php code & jsp code.
i want to connect apache2 to tomcat webserver
i was installed mod_jk.so & any configure, but not working.
HOW COULD I CONNECT APACHE2 TO TOMCAT6 ??
thanks all
i'm too
how i can connect my apache webserver to tomcat ???????
thanks all
Post a Comment