"Tomcat" Centos7 the fastest installation of the Tomcat Web Lab environment (yum installation)

Source: Internet
Author: User
First, the experimental environment

EXSI6.0 virtual Machines
System: CENTOS7
Yum Source: Mirror.163.com.repo

Second, the experimental steps

1. Yum installs Tomcat

yum install tomcat -y

2. Yum installs Tomcat Web Access necessary services

yum install tomcat-webapps tomcat-admin-webapps -y

3, open tomcat:8080 port, boot up

firewall-cmd --zone=public --permannet --add-prot=8080/tcpfirewall-cmd --reloadsystemctl start tomcatsystemctl enable tomcat

4. View Tomcat

tomcat version #查看tomcat版本java -version #查看java版本alternatives --config java #选择已安装的java版本#访问http://localhost:8080 检查tomcat启动成功

"Tomcat" Centos7 the fastest installation of the Tomcat Web Lab environment (yum installation)

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.