Installing Tomcat under CentOS

Source: Internet
Author: User

The prerequisite for installing Tomcat is: Install the JDK.

This is not explained in detail, if you do not know how to install the JDK, please refer to:

http://blog.csdn.net/u012965373/article/details/42181377

Next is the case of installing Tomcat, here is my centos6.5 server version,

First to download the Tomcat package, on the Tomcat website,

It is then placed under a folder shared by the server.

Then CP/USR/SHARE/TOMCAT.TAR.GZ/USR (my shared folder is/usr/shair)

And then Next

#tar-ZXVF apache-tomcat-6.0.10.tar.gz; Extract

3) Copy apache-tomcat-6.0.10 to/usr/local/and rename to Tomcat

[[email protected] bin] #cp-R Apache-tomcat-6.0.10/usr/local/tomcat;

4) Start Tomcat

[[email protected] Bin]#/usr/local/tomcat/bin/startup.sh
using catalina_base:  /usr/local/tomcat
using CATALINA_ home:  /usr/local/tomcat
Using Catalina_tmpdir:/usr/local/tomcat/ TEMP
Using jre_home:       /USR/LOCAL/JDK /JDK1.6.0_17
Using classpath:      /usr/local/ TOMCAT/BIN/BOOTSTRAP.JAR
[[email protected] bin]#

To this tomcat has been installed complete



Installing Tomcat under CentOS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.