Install apache tomcat on Ubuntu Linux


First move tar.gz file into /usr/local/src/ directory and now extract here,

 tar  xzvf  apache-tomcat-6.0.35.tar.gz

 It will extract apache-tomcat-6.0.35.tar.gz file into directorty apache-tomcat-6.0.35

 Rename this directory to tomcat6,
 mv apache-tomcat-6.0.35  tomcat6

 Now set your environment variable...

 cat >> ~/.bashrc
 export CATALINA_HOME=/usr/local/src/tomcat6

 Save it using ctrl+d and then
  source ~/.bashrc

Now you can test by starting your tomcat server

  sudo $CATALINA_HOME/bin/startup.sh

Comments

Popular posts from this blog

Struts 2 : Warning :No configuration found for the specified action: 'Login.action' in namespace: '/'

Upload csv file at Google Cloud Storage using java

Read Images from a xlsx file using Apache POI