How to Install and Configure Apache Tomcat (Linux)

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.

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.
Author: Stephen Withrow

Stephen has over 30 years of experience in training, development, and consulting in a variety of technology areas including Python, Java, C, C++, XML, JavaScript, Tomcat, JBoss, Oracle, and DB2. His background includes design and implementation of business solutions on client/server, Web, and enterprise platforms. Stephen has a degree in Computer Science and Physics from Florida State University.

About Webucator

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, Azure, Windows, Java, Adobe, Python, SQL, JavaScript, Angular and much more. Check out our complete course catalog.