Pages

Thursday, June 6, 2013

How to install and uninstall tomcat on Ubuntu



Installation
$ sudo apt-cache search tomcat
$ sudo apt-get install tomcat7

       You can directly use second command. just to check what are the available tomcat version , you can use the first command.
Start
$ sudo /etc/init.d/tomcat7 start
Stop
$ sudo /etc/init.d/tomcat7 stop
Uninstall
$ dpkg -l | grep tomcat
           grep key word used to search the pattern
$ sudo dpkg -P tomcat7
           by using sudo we are leveraging the rights of user to install or uninstall.

2 comments:

  1. Anna ekkadoo undalsinavadivanna ma lucku ala kalisochindi��

    ReplyDelete
  2. Nuv kuda anna.. :D ikkada vaadivi kaadu.
    anyway comment on content plz. ;)

    ReplyDelete