How to Install and Configure Apache Tomcat (Linux)

  • google plus

In Brief...

Apache Tomcat can be installed and configured for first time use on Linux operating systems in a straightforward way. Every major Linux distribution offers a package manager for installing software such as Tomcat. For example, yum is often used on Red Hat operating systems and apt-get is used for Ubuntu. The apt-get command is actually a part of the Advanced Package Tool (APT) for Debian Linux. In this topic I will demonstrate the use of apt-get.

Take our Apache Tomcat 8.0 Administration for Windows Training course for free.

See the Course Outline and Register


To learn how to install and configure Apache Tomcat for the Ubuntu distribution of Linux, follow these 4 steps:

  1. Open a terminal window. At the prompt, type:
    sudo apt-get update
    This command will update the package information on your computer.
  2. In the same terminal window type:
    sudo apt-get install tomcat7
    This command will install tomcat7 in your Linux environment. Directories and scripts will also be configured.
  3. You can also install helpful web applications like the Tomcat Web Application Manager:
    sudo apt-get install tomcat7-admin
  4. Tomcat install and initial configuration is now complete.

Webucator provides instructor-led training to students throughout the US and Canada. We have trained over 90,000 students from over 16,000 organizations on technologies such as Microsoft ASP.NET, Microsoft Office, XML, Windows, Java, Adobe, HTML5, JavaScript, Angular, and much more. Check out our complete course catalog.



Author: Stephen Withrow

Stephen has over 30 years' experience in training, development, and consulting in a variety of technology areas including Java, C, C++, XML, JavaScript, AJAX, Tomcat, JBoss, Oracle, and DB2. His background includes design and implementation of business solutions on client/server, Web, and enterprise platforms. Stephen is a published writer in both technical and non-technical endeavors. Stephen received an undergraduate degree in Computer Science and Physics from Florida State University.