CentOS 6.8 Installation Tomcat7

Source: Internet
Author: User

Because I use the centos5.8 minimal, first install the JDK, go to the official website to download http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html

wget http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-i586.rpm? authparam=1473765078_568f7ad360b93702629b900eff741527

Then install RPM-IVH xxxx.rpm by default

The default installation path is the/usr/java/directory

Now you need to configure the default environment variables, modify the/etc/profile, append later

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/87/39/wKiom1fX4-bARMjgAABJJaUhJqI815.png-wh_500x0-wm_3 -wmp_4-s_3516365203.png "title=" Qq20160913193134.png "alt=" Wkiom1fx4-barmjgaabjjauhjqi815.png-wh_50 "/>

Then direct java-version to see that the Java JDK has been successfully installed


Then install Tomcat

Download Tomcat, I chose Tomcat7 http://tomcat.apache.org/download-70.cgi

Download and extract the downloaded files to/USR/LOCAL/TOMCAT7

Then find the bin directory and execute startup.sh.

The complete path is/usr/local/tomcat7/bin/startup.sh


The default port for Tomcat is 8080



CentOS 6.8 Installation Tomcat7

Related Article

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.