How to install and configure the Tomcat8.0 server in Windows

Source: Internet
Author: User

 

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.