Java 0 Basic threads Windows install and start the Tomcat server method diagram (free of installation version) _java

Source: Internet
Author: User
Tags zip tomcat server apache tomcat

Related reading:

Java 0 Basic teaches the way to install JDK under Windows diagram

Website download

You are the Windows environment, so open the browser and enter the address: http://tomcat.apache.org/download-70.cgi

Select the corresponding. -bit Windows zip download is ok.

Installation

Find the ZIP package you downloaded and unzip it to the directory you think is right, but it's a free installation version.

Start

Go to the Bin directory and find Startup.bat double click, so even if Tomcat is started, now in the browser, enter address + port 8080 (default) to see:

Description, you start the success.

Registration Service

Whether it's Linux or windows, programs run in a service way, but the service is different, and registering Tomcat as a Windows service is also good for our future use.

1. Enter the bin directory, press the SHIFT key, click the right mouse button, choose to open the Command window here, opened the cmd Command window, and the directory has been under the bin.

2. Then enter the installation command: Service.bat install after the return, the following representative has been installed successfully.

3. In the service, you will find a service called Apache Tomcat 7.0 TOMCAT7, which is the Tomcat service we just installed, and we can set the startup type for it.

Stop it

The stop of Tomcat under Windows, no matter how it starts, I think we all know how to stop. ^_^

Here, all operations for installing, starting, registering services, and stopping Tomcat are complete under Windows systems. Hope to help everyone, if you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!

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.