This Guide shows you How to Install the Latest Tomcat 7 Server Release on Ubuntu Linux 11-12 Desktop.
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.
-
Download Tomcat.
Apache Tomcat 7 tar.gz -
Find the Downloaded Package and Double-Click to Extract in /tmp
-
Move the Tomcat 7 Folder to Location
Open a Terminal Window.
Login as SuperUser.
sudo su
If Got “User is Not in Sudoers file” then see: How to Enable sudo
Move.
sudo chown -R root:root /tmp/apache-tomcat*
mv /tmp/apache-tomcat-7* /opt
-
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
-
Command to Start and Stop the Tomcat Server
-
Start
/opt/apache-tomcat-7/bin/startup.sh
-
Stop
/opt/apache-tomcat-7/bin/shutdown.sh
-
-
Then to Access Tomcat Admin on Browser Go.
-
Tomcat 7 Deployment Quick Start: