Installation and Configuration CentOS7 Tomcat-7

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/Tiger_lin1/article/details/85720033

Installation Environment: centos 7

Installation: Installation Source

Software: apache-tomcat-7.0.92.tar.gz

Download: http://tomcat.apache.org/download-70.cgi

Installation premise: The system must be configured to install jdk1.8.0 (Java environment)

1, the installation tomcat

1.1, the apache-tomcat-7.0.92.tar.gz upload the files to / usr / local / src

cd /usr/local/src
wget  http://mirrors.hust.edu.cn/apache/tomcat/tomcat-7/v7.0.92/bin/apache-tomcat-7.0.92.tar.gz

1.2, extract the source packet

tar xvzf apache-tomcat-7.0.92.tar.gz

1.3, renaming the source path

mv apache-tomcat-7.0.92 /usr/local/tomcat

2, start Tomcat

/usr/local/tomcat/bin/startup.sh 启动tomcat

Here Insert Picture Description

Description above message has been successfully launched.
Tomcat installation and operation inspection

View tomcat is functioning properly at the following address.
http://192.168.3.144:8080/
Here Insert Picture Description

3, stop tomcat

/usr/local/tomcat/bin/shutdown.sh

Here Insert Picture Description

The successful implementation of Tomcat to stop

Guess you like

Origin blog.csdn.net/Tiger_lin1/article/details/85720033