Installing tomcat on linux

Installing tomcat on Fedora, Red Hat, CentOs

yum install tomcat6
yum install tomcat6-webapps
yum tomcat6-admin-webapps

Installing tomcat on Debian, Ubuntu

apt-get install tomcat6
apt-get install tomcat6-webapps
apt-get tomcat6-admin-webapps

Check if tomcat is running

ps -ef | grep tomcat

Start tomcat

sudo service tomcat6 start

Stop tomcat

sudo service tomcat6 stop

Restart tomcat

sudo service tomcat6 restart

Tomcat installing directory

/etc/tomcat6

Tomcat default port

localhost:8080

Search within Codexpedia

Custom Search

Search the entire web

Custom Search