My system is the Windows 10 operating system, I installed the Tomcat8.0 server, after development testing, most of the Tomcat7.0 server is now used, the difference is not small, I installed 8.0 For example, to tell you about installing Tomcat server and how to configure the environment.
First of all, to download Tomcat8.0 server, Apache official website to download, Apache website link "http://tomcat.apache.org/", Click on the left-hand side of the Tomcat8.0 download (you can also download other versions, according to the development requirements test), after the download is completed check your JDK and its environment configuration is not installed and configured, directly install the download good tomcat (here in my Tomcat8.0 for example), double-click Installation-" Apache-tomcat-8.0.21.exe "Next, install the installed directory under the D-Disk, always next, knowing the completion (finished!) )
Second, configure the Tomcat environment variables with the following steps:
1, the computer right-click Properties, open the environment variable---system variables---New variable name: catalina_base, the variable value is: D:\Program files\apache software Foundation\tomcat 8.0, such as:
2, the new variable name: catalina_home, the variable value is: D:\Program files\apache software Foundation\tomcat 8.0, such as:
3. Open path, add variable value:%catalina_home%\lib;%catalina_home%\bin, such as:
Finally, start the Tomcat server and check if the TONMCAT server is successfully configured:
There are two ways to start, and here is a way to explain the success of the configured Tomcat server!
Step: Enter the command under the cmd command: Startup, the following dialog box appears, indicating that the service started successfully, such as:
Good luck! After the test is complete, the above interface shows that the Tomcat server configuration was successful!
Test the Tomcat server: Open the browser, enter http://localhost:8080 in the address bar, and if you see a "cat" interface with Tomcat, your JDK and Tomcat have been successfully built.
How to install and configure the Tomcat8.0 server in Windows