Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
    
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 at 8:38

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.