In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to install centos7 Tomcat7, I hope you will learn something after reading this article, let's discuss it together!
I. Environment
Centos7 linux
Apache-tomcat-7.0.92.tar.gz: link: https://pan.baidu.com/s/1-clhIjD98ec8XYui_5QFaA extraction code: 6nq5
Second, install 1. Upload the installation package
Upload to: / usr/local/src/tomcats (other paths are fine)
two。 Extract the installation package
[root@localhost tomcats] # tar-zxvf apache-tomcat-7.0.92.tar.gz
3. Rename the installation package
(you don't have to rename it, but it's easy to distinguish. )
[root@localhost tomcats] # mv apache-tomcat-7.0.92 tomcat7-8080
4. Start tomcat
Go to the bin directory of tomcat first
[root@localhost tomcats] # cd tomcat7-8080/bin
After changing the path, there is a startup.sh and then use this to start the tomcat.
The first startup: sh startup.sh
The second startup:. / startup.sh
5. Turn on tomcat's firewall
L View firewall status: systemctl status firewalld
L View all open ports: firewall-cmd-- zone=public-- list-ports
L Open port 8080: firewall-cmd-zone=public-add-port=8080/tcp-permanent
L reload: firewall-cmd-- reload
Note: the test environment can also turn off the firewall directly
[root@localhost bin] # systemctl stop firewalld
6. Whether the test was successful
Browser access: http://192.168.159.128:8080/ is successfully installed when the following interface appears.
After reading this article, I believe you have a certain understanding of "how to install Tomcat7 in centos7". If you want to know more about it, please follow the industry information channel. Thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.