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
18 years ago
