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

September 10th, 2012 by Regaz



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 Quickly Getting-Started with Tomcat 7 on Ubuntu Linux.

For an Easy Visualization of the Entire Process the Post Comprehend the Essential Installation 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 12 Open Terminal
  4. Relocate Tomcat

    Login as SuperUser

    sudo su

    If Got “User is Not in Sudoers file” then Look: Solution

    Move it

    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

    Insert:

    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. To Access Tomcat Server on Browser Go
    localhost:8080

  9. Tomcat 7 Quick Getting-Started:

    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 8-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 the 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 DevelopmentWebsite in Joomla DevelopmentJoomla DevelopmentSito in FlashAdobe How-to
(Visited 1 times, 1 visits today)
Share on Tumblr

Tags: , , , , , , ,