How to Install Apache Tomcat 7 on Linux Ubuntu 12.04 Precise Pangolin Easy Visual-Guide

September 10, 2012 | By Duchateaux.

This Guide shows you How to Install the Latest Tomcat 7 Server Release on Ubuntu Linux 12.04 Precise Pangolin.

It’s Best to Install Tomcat 7 Using the Apache Official Distro Instead, of Installing it by Ubuntu apt-get Packages.

In Fact the Ubuntu Packaged Tomcat 7 has Cut the Official Tomcat Distro in Pieces and doing so has Open the door to Unwanted Intrications and Complications in Configuration and Management.

Inside the Post you will Find a Link to Getting-Started with Tomcat 7 on Ubuntu Linux.

Finally, to improve the Visualization of the whole Process the Post includes the Essential Screenshots.

Tomcat 7 on Debian
  1. Download Tomcat.

    Apache Tomcat 7 tar.gz
  2. Find the Downloaded Package and Double-Click to Extract in /tmp

  3. Open a Terminal Window
    (Press “Enter” to Execute Commands)

    Ubuntu Linux Open Terminal

    In case first see: Terminal QuickStart Guide.

  4. Relocate Tomcat

    Login as SuperUser.

    sudo su

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

    Move it.

    sudo chown -R root:root /tmp/apache-tomcat*
    mv /tmp/apache-tomcat-7* /opt
  5. Check if Java is Installed on your Platform

    java -version

    The Output Need to Show a Version >= 1.6.

    Howto Install Oracle Java JDK 7 on Ubuntu Linux 12
    Oracle JDK 7 On Ubuntu Linux 12
  6. Set $CATALINA_HOME Environment Variable

    exit
    nano ~/.bashrc

    Append:

    export $CATALINA_HOME=/opt/apache-tomcat-7

    Load Set-Up.

    bash
  7. Start and Stop the Tomcat Server

    • Start Tomcat

      sudo $CATALINA_HOME/bin/startup.sh

    • Stop Tomcat

      sudo $CATALINA_HOME/bin/shutdown.sh

  8. Then to Access Tomcat Admin on Browser Go.

    http://localhost:8080

  9. Tomcat 7 Quick Start:

    Tomcat Quick Start Guide
Sviluppo Siti WebInstall and Getting-Started on Oracle 11g R2 for RHEL 6Install and Getting-Started on Oracle 11g R2 for RHEL 6Install and Getting-Started on Oracle 11g R2 for Oracle Linux 6Install and Getting-Started on Oracle 11g R2 for Oracle Linux 6How to Install VMware Tools on Linux Mint 12How to Install VMware Tools on Ubuntu 11 LinuxHow to Install VMware Tools on Ubuntu 12How to Install VMware Tools Fedora 16 Linux Easy Visual GuideHow to Install VMware Tools on Fedora-16 LinuxHow to Install VMware Tools on Fedora PAE Kernel LinuxHow to Install VMware Tools on Debian Wheezy LinuxHow to Install VMware Tools on Debian Lenny and Squeeze LinuxHow to Install VMware Tools on CentOS 6 Linux VisuallyHow to Install VMware Tools on CentOS 6 LinuxHow to Install VMware Tools on OpenSuse LinuxHow to Install VMware Tools on RHEL 6 LinuxHow to Install VMware Tools on Oracle Linux 6How to Install VMware Tools on Mageia LinuxHow to Install VMware Tools on Rosa Marathon 12 LinuxHow to Install VMware Tools on FreeBSD 9 UnixHow to Install Evernote on Linux Oracle 6 KDEHow to Install Evernote on Linux RHEL 6 KDEHow to Install Evernote on Fedora Linux 16 KDEHow to Install Evernote on Linux OpenSuse 12 KDEHow to Install Evernote on Linux CentOS 6 KDEHow to Install Evernote on Linux Oracle 6 GNOMEHow to Install Evernote on Linux RHEL 6 GNOMEHow to Install Evernote on Linux OpenSuse 12 GNOMEHow to Install Evernote on Fedora Linux 16 GNOMEHow to Install Evernote on Linux CentOS 6 GNOMEusr/share Website Development PHPWebsite in Drupal DevelopmentJoomla DevelopmentSito in Flash

QuickChic Theme • Powered by WordPress