Installing Tomcat on Ubuntu
Hi friends, If you are done with JDK installation into your system(explained in the previous blog), Now will see how can we install tomcat (the process will be same for any version) 1. Download the package " apache-tomcat-7.0.6.tar.gz " from the below link http://tomcat.apache.org/download-70.cgi [tar.gz] 2. Now we need to unpack it with the following command: tar xvzf apache-tomcat-7.0.8.tar.gz 3. Then move it an appropriate directory, normally prefer /usr/share/tomcat7 , or any directory. Using the command: sudo mv apache-tomcat-7.0.8/ /usr/share/tomcat7 4. Now define the environment variables JAVA_HOME and JRE_HOME . This file is in the "environment" in / etc. Command to edit the file: As i told you in my previous tutorial 5. IMPORTANT: Verify the location where they have installed Java. sometimes tomcat does not recognize the path of JDK, so define the file paths inside " catalina.sh " located in