WINDOWS installation under Tomcat

zhaozj2021-02-16  54

Reprinted:

Download, install the download address for the Java official site: jakarta.apache.org, more than domestic. From this address to download: http://jakarta.apache.org/builds/tomcat/release/, I downloaded the Tomcat32B4 version. Download, unzip it to a directory, I use F: / Tomcat32B4 as an example here. Configure the "My Computer" (right-click) Advanced environment variable on the desktop in "System Variable" ---> New "Enter: java_home, the variable value is entered in the variable name: f: / jdk13 then determine; Variables "->" New "Enter: Tomcat_Home, Variable Value Enter: f: / tomcat32b4 in the variable name: f: Ok, configure it, you have to restart your computer, environment variables can be valid. Note that other settings for Tomcat, if there is no need, it is not changed, I will talk about the simplest method, if you are not sure about your changes, or it is recommended not to change. Test (1) Start Tomcat: There is one: startup.bat in F: / Tomcat32B4 / BIN, running it, there will be a DOS window. (2) Browsing In the browser: http: // localhost: 8080 / See what the effect (Tomcat default port is 8080, under the premise of conflict, you can change), can you see a Cute kitten (in fact, I personally think that no matter from color or like, more pictures) (3) Running in this page with JSP Examples and Servlet Examples, ok, test it yourself. (4) Exit Tomcat There is a: shutdown.bat in F: / tomcat32b4 / bin, run it, turn off the DOS window (if you stick to the DOS window, but, since there is this shutdown.bat, there should be Its reasons thereof).

转载请注明原文地址:https://www.9cbs.com/read-19216.html

New Post(0)