Open Source RDBMS - Seamless, Scalable, Stable and Free

English | Login |Register

Install Apache Tomcat on Ubuntu


Apache Tomcat is a Web container that allows to serve Java Servlets (such as Solr full-text search server) and JSP (Java Server Pages) Web applications. More information can be found on Tomcat official site.

In this tutorial you will learn how to install Tomcat 7 on Ubuntu 11.10. To install Tomcat type the following command in the terminal.

sudo apt-get install tomcat7

This will install Tomcat on port 8080 (default) and autostart it (also it will be set to autostart on system reboot). To see if installation went successfully, navigate to http://localhost:8080 in your browser. You should see a default page which displays "It works!".

To have Apache Solr work with Tomcat, you do not need to configure anything. Default settings will work out of the box. If necessary, you can refer to Ubuntu Documentation for Tomcat.

Stop/Start Tomcat

If you need to stop or start Tomcat, run the following respectively:

~$ sudo service tomcat7 stop
~$ sudo service tomcat7 start
comments powered by Disqus
문서 정보
viewed 21015 times
번역 en
작성자
posted 2년 전
CUBRID
공헌자
마지막 수정시간 작년
변경 내역 보기
Share this article