1

I need to practice writing some Java applications.

Can any one help me install Tomcat and tell me how to start and stop the server.

Lucio
  • 18,843
udaykumar
  • 1,453
  • 3
  • 13
  • 12
  • And What about tomcat8 installing at ubuntu? Is this version of tomcat is available on Ubuntu software Center? Does this code works? sudo apt-get install tomcat8 – jujulal Aug 24 '14 at 08:38

1 Answers1

3

Look at the documentation, the answer is essentially:

sudo apt-get install tomcat7

If you want a per-user instance installation (easier for development when starting-and-stopping are desirable) you can install the tomcat7-user package and use the utilities it provides (eg tomcat7-instance-create). This is all stuff covered by the documentation.

Note: tomcat6 and tomcat6-user packages are also available. tomcat5 is no longer packaged or recommended.

Oli
  • 293,335