How To Install Tomcat 7.0.56 Server on CentOS & RHEL 6/5

Spread the love

Check Java version using command

# java -version

java version “1.8.0”
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode)

Then , Download tomacat using command

# cd /tmp
# wget

Untar and move as per your requirement directory

# tar xzf apache-tomcat-7.0.56.tar.gz
# mv apache-tomcat-7.0.56 /usr/local/tomcat7

After this go into folder and run file.

# cd /usr/local/tomcat7
# ./bin/

[Sample Output]

Using CATALINA_BASE:   /usr/local/tomcat7
Using CATALINA_HOME:   /usr/local/tomcat7
Using CATALINA_TMPDIR: /usr/local/tomcat7/temp
Using JRE_HOME:        /opt/jdk1.8.0_05/jre
Using CLASSPATH:       /usr/local/tomcat7/bin/bootstrap.jar:/usr/local/tomcat7/bin/tomcat-juli.jar
Tomcat started.

Check by


Leave a Reply

Your email address will not be published. Required fields are marked *