Pages

Saturday, August 18, 2012

How to install tom cat on ubuntu

You can do this in two ways.

  1. Install using : sudo apt-get install tomcat7
  2. You can Install manually which is straight forward. download tomcat 7 binaries from http://tomcat.apache.org/ and extract it to a location you want and go to the bin folder in your extraction using the terminal.  Then type
                                                                             sh startup.sh : to start the server 
                                                                             sh shutdown.sh : to down the server

after you start up the server, you can access the server at the port 8080 (which is the default port for tomcat).

How ever the tomcat server is some what considered light weight compared to servers like glassfish, jboss etc... Therefore if you consider having a server with all the capabilities and features of java, it is better to use a server like glassfish.

No comments:

Post a Comment