How to install Tomcat on Ubuntu

How to install Tomcat on Ubuntu and Integrate with Eclipse

search for tomcat. 

$ sudo apt-cache search tomcat
Install tomcat admin and tomcat 

$ sudo apt-get install tomcat7-admin
$ sudo apt-get install tomcat7
$ sudo /etc/init.d/tomcat7 start
$ sudo /etc/init.d/tomcat7 stop
$ sudo /etc/init.d/tomcat7 restart
Check for tomcat status

sudo service tomcat7 status

Open Eclipse: 

Add Server and select path till    /usr/lib/tomcat7

Comments

Popular posts from this blog

Java Practice Questions MCQ

Linux Assignments - Practise

HackerRank Introduction Challenges - Java