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/02 Report--
Windows environment C:\ > systeminfo | find "OS" OS name: Microsoft Windows 7 Professional version OS version: 6.1.7601 Service Pack 1 Build 7601OS manufacturer: Microsoft CorporationOS configuration: stand-alone workstation OS component type: Multiprocessor FreeBIOS version: American Megatrends Inc. F6 2017-7-6 download jdk: http://www.oracle.com/technetwork/java/javase/downloads/index.htmltomcat:https://tomcat.apache.org/download-90.cgi install jdk install jdk-8u171-nb-8_2-windows-x64.exe all the way nextC:\ > java-versionjava version "1.8.0mm 171" Java (TM) SE Runtime Environment (build 1.8.0_171-b11) Java HotSpot (TM) 64-Bit Server VM (build 25.171-b11 Mixed mode) at the cmd command prompt, enter: java-verbose at the end of the command line The path to the installation is displayed. [Loaded java.lang.Shutdown from C:\ Program Files\ Java\ jre1.8.0_171\ lib\ rt.jar] [Loaded java.lang.Shutdown$Lock from C:\ Program Files\ Java\ jre1.8.0_171\ lib\ rt.jar] Environment variables set my computer-Properties-Advanced system Settings-Environment variables-system variables New variables (if any Just modified according to the actual path) variable name: JAVA_HOME variable value: C:\ Program Files\ Java\ jdk1.8.0_171 variable name: CATALINA_HOME variable value: e:\ software\ apache-tomcat-9.0.8-windows-x64\ apache-tomcat-9.0.8 variable name: CLASSPATH variable value:% JAVA_HOME%\ lib\ dt.jar % JAVA_HOME%\ lib\ tools.jar finally has no semicolon to find the Path variable in the system variable. Double-click to open the Path variable and add% JAVA_HOME%\ bin;%JAVA_HOME%\ jre\ bin at the end of the variable value. % CATALINA_HOME%\ bin finally does not have a semicolon to restart the computer to start tomcatE:\ software\ apache-tomcat-9.0.8-windows-x64\ apache-tomcat-9.0.8\ bin\ startup.bat stop tomcat directly close the cmd command window opened at startup to view the port, Process occupies netstat-ano | findstr "8080" C:\ > netstat-ano | find "8080" TCP 0.0.0.0findstr 8080 0.0.0.0findstr 0 LISTENING 4884 TCP [:]: 8080 [:]: 0 LISTENING 4884 View process PID and memory usage C:\ > tasklist-v | find "4884" java.exe 4884 Console 1 109112 K Running ZSWD04\ Administrator 0:00:03 Tomcat installs tomcat as a windows service syntax: Usage: service.bat install/remove [service_name] [/ user username] C:\ > E:\ software\ apache-tomcat-9.0.8-windows-x64\ apache-tomcat-9.0.8\ bin\ service.bat Install tomcat9Installing the service 'tomcat9'... Using CATALINA_HOME: "E:\ software\ apache-tomcat-9.0.8-windows-x64\ apache-tomcat-9.0.8" Using CATALINA_BASE: "E:\ software\ apache-tomcat-9.0.8-windows-x64\ apache-tomcat-9.0.8" Using JAVA_HOME: "C:\ Program Files\ Java\ jdk1.8.0_171" Using JRE_HOME: "C:\ Program Files\ Java\ jdk1.8.0_171\ jre" Using JVM: "C:\ Program Files\ Java\ jdk1.8.0_171\ jre\ bin\ server\ jvm.dll" The service 'tomcat9' has been installed. Run > services.msc to find a service item named Apache Tomcat 9.0 tomcat9. Manually.
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.