Download Tomcat
: http://tomcat.apache.org/
Installed version: Tomcat 9.0
Installation Environment: Windows 7 x64
Read the Tomcat documentation
Document Path: http://localhost:8080/docs/setup.html
Locate the Windows installation section and see the instructions below: Click the blue Windows Service How-to section to enter the installation.
Path found: http://tomcat.apache.org/tomcat-9.0-doc/windows-service-howto.html#Installing_services
Follow the instructions to get it done.
Installing Tomcat
Installation Order:
1. Use the Administrator command to open cmd;
2. Install the command; Find the path of the file you extracted: such as: C:\apache-tomcat-8.00\bin\service.bat;
Install the service named ‘MyService‘C:\> service.bat install MyService //myservice 是你安装服务器的名字,也可以不写,默认为tomcat【version】形式。
3.找到bin下的tomcat9w.exe 程式。
4.启动服务。即可。
Summarize
1. Installing Tomcat is simple, but you have to be aware that you need to install the Java environment first.
2. Although no environment variables are configured when Tomcat is installed. However, it is recommended to configure environment variables.
My machine: In the environment New: Catalina_home Path: D:\serverTomcat\apache-tomcat-9.0.0.M8
3. Enter localhost:8080 in the browser. If a webpage appears, the above prompts you to configure success.
Tomcat Learning (-) Windows 7 x64 Configuring the Tomcat Service