Install Tomcat 7 on CentOS 6.X Linux
This Guide shows you How to Install Apache Tomcat 7 Server Release on Linux CentOS 6 GNOME Desktop.
Inside the Post you will Find a Link to Getting-Started with Tomcat 7 on CentOS Linux.
Finally, to improve the Visualization of the whole Process the Post includes the Essential Screenshots.
-
Download Apache Tomcat 7 Server.
Apache Tomcat 7 tar.gz -
Double-Click on Archive and Extract into /tmp
-
Open Terminal Window
(Press “Enter” to Execute Commands)In case first see: Terminal QuickStart Guide.
-
Relocate Apache Tomcat 7
Login as SuperUser.
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* /usr/share
-
Check if Java is Installed on your Platform
java -version
The Output Need to Show a Version >= 1.6.
If Java is Not Installed then:
Install the Latest Java JDK 7 on CentOS 6 -
Command to Start and Stop the Tomcat Server
-
Start
/usr/share/apache-tomcat-7/bin/startup.sh
-
Stop
/usr/share/apache-tomcat-7/bin/shutdown.sh
-
-
Then to Access Tomcat Admin on Browser Go.
-
Tomcat 7 Deployment Quick Start: