In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Step 1. Install tomcat. Download apache-tomcat-8.0.30, and the downloaded file is apache-tomcat-8.0.30-windows-x64.zip 2. Unpack the package to the DRV / directory. 3. Modify the name of the decompression folder to: tomcat-8080 4. Create two copies of the folder under the dvv / directory and rename them to tomcat-8081 and tomcat-8082 5. Add environment variable: right-click my computer-> Select Properties-> Select Advanced-> Select Environment variable: add system variable: CATALINA_HOME_8080, its value is: d:\ tomcat-8080; CATALINA_HOME_8081, its value is: d:\ tomcat-8081; CATALINA_HOME_8082, its value is: d:\ tomcat-8082; 6. Modify the startup port and shutdown port: go to the D:\ tomcat-8081\ conf\ directory, open the server.xml file, and modify the following two places: (1) modify the port= "8006" so that its closed port does not conflict with another closed port. (2) modify port= "8081" so that its connection port does not conflict with another. (3) modify this port= "8010" so that its AJP port does not conflict with another. 7. Modify the contents of the startup.bat, shutdown.bat, and catalina.bat files: (1) Open the D:\ tomcat-8081\ bin\ startup.bat file and replace all CATALINA_HOME with CATALINA_HOME_8081. (2) Open the D:\ tomcat-8081\ bin\ shutdown.bat file and replace all CATALINA_HOME with CATALINA_HOME_8081. (3) Open the D:\ tomcat-8081\ bin\ catalina.bat file and replace all CATALINA_HOME with CATALINA_HOME_8081. 9. Configure tomcat-8080, tomcat-8082 as described above. 10. Start Tomcat, enter three different Tomcat installation directories under the command line, execute startup.bat, and start the three Tomcat respectively. Then enter the following in the browser, and if the tomcat home page is displayed, the deployment is successful:
Http://localhost:8080
Http://localhost:8081
Http://localhost:8082
Configure tomcat as service 1. Go to the tomcat-8080/bin directory, modify service.bat, find the following, and change SERVICE_NAME to the custom service name rem Set default Service name set SERVICE_NAME=tomcat8080 set DISPLAYNAME=Apache Tomcat 8.0% SERVICE_NAME% 2. Search for CATALINA_HOME in service.bat and replace it all with CATALINA_HOME_8080 (consistent with the environment variable name) 3. In the tomcat-8080/bin directory, find tomcat8.exe and tomcat8w.exe, rename the SERVICE_NAME configuration with the same name, and rename it to tomcat8080.exe and tomcat8080w.exe 4. Use the command line to enter tomcat-8080/bin and execute service.bat install 5. 0. Enter services.msc using win+r to enter the service interface, find the service name corresponding to DISPLAYNAME (that is, Apache Tomcat 8.0 tomcat8080), right-click the "Properties" menu, select "Startup Type" as "automatic" on the "General" tab, or enter the tomcat-8080/bin directory, double-click tomcat8080w.exe, select the General tab in the pop-up interface, and select Startup type as Automatic.
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.