In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "how to configure the TOMCAT8 server with RHEL7". Many people will encounter this dilemma in the operation of the actual case, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Installation environment
System: redhat7.0
Tomcat version: apache-tomcat 8.0.50
Ip:172.16.1.10
Jdk version: 1.7
To deploy tomcat services, you first need to deploy jdk
Upload jdk package to extract and configure [root@localhost local] # tar xf jdk-7u79-linux-x64.tar.gz [root@localhost local] # ln-s / usr/local/jdk1.7.0_79/ / usr/local/jdk
Add the following configuration to / etc/profile
Test [root@localhost local] # source / etc/profile [root@localhost local] # java-versionjava version "1.7.0x79" Java (TM) SE Runtime Environment (build 1.7.0_79-b15) Java HotSpot (TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
In this way, the jdk deployment is complete, and then the tomcat is deployed.
Upload tomcat package
Create a storage directory
[root@localhost ~] # mkdir / root/test [root@localhost ~] # cd / root/test/ decompress tomcat [root@localhost test] # unzip apache-tomcat-8.0.50.zipArchive: apache-tomcat-8.0.50.zip creating: apache-tomcat-8.0.50/ creating: apache-tomcat-8.0.50/bin/ inflating: apache-tomcat-8.0.50/bin/bootstrap.jar inflating: apache-tomcat-8.0.50/bin/ Catalina-tasks.xml inflating: apache-tomcat-8.0.50/bin/catalina.bat inflating: apache-tomcat-8.0.50/bin/catalina.sh. Set permissions and start the service [root@localhost test] # cd apache-tomcat-8.0.50/bin/ [root@localhost bin] # ll total usage 832 Murray. 1 root root 34782 October 16 2018 bootstrap.jar-rw-r--r--. 1 root root 15928 March 14 2019 catalina.bat-rw-r--r--. 1 root root 23256 March 14 2019 catalina.sh-rw-r--r--. 1 root root 1686 October 16 2018 catalina-tasks.xml-rw-r--r--. 1 root root 25145 October 16 2018 commons-daemon.jar-rw-r--r--. 1 root root 207125 October 16 2018 commons-daemon-native.tar.gz-rw-r--r--. 1 root root 2040 October 16 2018 configtest.bat-rw-r--r--. 1 root root 1922 October 16 2018 configtest.sh-rw-r--r--. 1 root root 8509 October 16 2018 daemon.sh-rw-r--r--. 1 root root 2091 October 16 2018 digest.bat-rw-r--r--. 1 root root October 16 2018 digest.sh-rw-r--r--. 1 root root 3574 October 16 2018 setclasspath.bat-rw-r--r--. 1 root root 3680 October 16 2018 setclasspath.sh-rw-r--r--. 1 root root October 2020 16 2018 shutdown.bat-rw-r--r--. 1 root root 1902 October 16 2018 shutdown.sh-rw-r--r--. 1 root root 2022 October 16 2018 startup.bat-rw-r--r--. 1 root root 1904 October 16 2018 startup.sh-rw-r--r--. 1 root root 49037 October 16 2018 tomcat-juli.jar-rw-r--r--. 1 root root 405109 October 16 2018 tomcat-native.tar.gz-rw-r--r--. 1 root root 4586 October 16 2018 tool-wrapper.bat-rw-r--r--. 1 root root 5495 October 16 2018 tool-wrapper.sh-rw-r--r--. 1 root root 0 October 16 2018 velocity.log-rw-r--r--. 1 root root 2026 October 16 2018 version.bat-rw-r--r--. 1 root root October 16 2018 version.sh [root@localhost bin] # chmod 2018 * [root@localhost bin] # sh startup.shUsing CATALINA_BASE: / root/test/apache-tomcat-8.0.50Using CATALINA_HOME: / root/test/apache-tomcat-8.0.50Using CATALINA_TMPDIR: / root/test/apache-tomcat-8.0.50/tempUsing JRE_HOME: / usr/local/jdkUsing CLASSPATH: / root/test/apache- Tomcat-8.0.50/bin/bootstrap.jar:/root/test/apache-tomcat-8.0.50/bin/tomcat-juli.jarTomcat started. Turn off the firewall [root@localhost conf] # systemctl stop firewalld test
So the TOMCAT deployment is complete!
This is the end of the content of "how to configure the TOMCAT8 server with RHEL7". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.