In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Before installing and deploying tomcat, we must first ensure that there is a Java environment on the machine, so the installation and deployment of tomcat is generally divided into two parts, the first is the configuration of the java environment, and the second is the installation and deployment of tomcat.
1 java environment configuration
1.1Open the http://www.oracle.com/technetwork/java/javase/downloads/index.html" URL to download the corresponding version of the java installation package, as shown in the following figure:
1.2 after the installation package is downloaded, it should look like the following figure:
1.3 double-click the downloaded file to install java. During the installation process, there are two pop-up interfaces to select the installation path. The first time is the path to install jdk, and the second time is the path to install jre. We just need to select the appropriate path, as shown in the figure:
1.3 after the java installation is successful, configure the environment variables. Right-click on the desktop [this computer] to open the properties interface, then select "Advanced system Settings" on the left, switch to the "Advanced" tab on the open page, and then click the "Environment variables" button, as shown below:
1.4 after opening the environment variables interface, configure the java environment, select "New" button in "system variables", and then create a new java_home system variable, as shown in the figure:
1.5 double-click the "Path" variable in [system variable], and then add "% JAVA_HOME%\ bin", as shown in the figure:
1.6 you can see in many tutorials that you have to configure CLASSPATH and so on, but in fact, you don't need to set this variable at all in version 1.5 of jdk. Now that the java installation and environment configuration are complete, let's test it:
"windows+r" opens the running window, enter cmd to call up the command line, and then enter java, java-version, javac and other commands to test. The following information indicates that the configuration is successful:
2 tomcat installation and deployment
2.1 Open the "https://tomcat.apache.org/download-90.cgi" URL" to download the installation package, as shown in the figure:
2.2 after downloading, double-click the installation package to install, and the interface prompts you to select the installation path for jdk, as shown in the figure:
2.3 at this point, the tomcat installation is complete. Type "localhost:8080" in the browser to test. The following interface indicates that the deployment is successful:
Summary
The above is the tutorial of Tomcat installation and deployment in windows 10 introduced by the editor. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply you in time. Thank you very much for your support to the website!
If you think this article is helpful to you, you are welcome to reprint it, please indicate the source, thank 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.