In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Https://pan.baidu.com/s/1Cs1S_JiIRjZvvo9o_X5ZmA / / Software connects to Baidu network disk
Systemctl stop firewalld / / turn off firewall setenforce 0 / / turn off monitoring yum install lrz*-y / / you can drag the software package directly to the command tar xf apache-tomcat-8.5.23.tar.gztar xf jdk-8u144-linux-x64.tar.gz in the current directory of xshell
Cp-rv jdk1.8.0_144/ / usr/local/java
Vi / etc/profile / / add export JAVA_HOME=/usr/local/javaexport JRE_HOME=/usr/local/java/jreexport PATH=$PATH:/usr/local/java/binexport CLASSPATH=./:/usr/local/java/lib:/usr/local/java/jre/lib at the end of the file
Source / etc/profilejava-version
……
……
-the above is to build a JAVA environment-
Cp-r apache-tomcat-8.5.23 / usr/local/tomcat8ln-s / usr/local/tomcat8/bin/startup.sh / usr/bin/tomcatupln-s / usr/local/tomcat8/bin/shutdown.sh / usr/bin/tomcatdowntomcatupnetstat-anpt | grep 8080
Note:
Bin stores startup and shutdown tomcat scripts
Conf contains different configuration files, server.xml (the main configuration file for Tomcat) and web.xml
Lib stores jar packages needed for Tomcat operation or site operation, and all sites on this Tomcat share these jar packages.
Work stores the class files generated by jsp compilation
Webapp stores sample applications, and the applications you want to deploy in the future should also be placed in this directory and can be changed.
Logs stores log files
LICENSE: license.
NOTICE: documentation.
-the above is the tomcat installation-
Mkdir-p / web/webapp1vi / web/webapp1/index.jsp JSP test page
Tomcatdown
Tomcatup
Http://192.168.80.181:8080
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.