How to install and configure Tomcat environment

Installation's official website: http: //tomcat.apache.org/ (or into the Apache official website, select the project, find Tomact;)

1. First find "Which version" on the left

Here Insert Picture Description
Note "Support Java Version". How do I know the jdk version: Enter "java -version" at the cmd in the
example:
Here Insert Picture Description.
My version is the "7 and later", I can use Tomcat Version9.0.x or 8.5.x, 8.5.x I recommend here this version.

2. Then click on the left or in the "Tomcat 8"

Here Insert Picture Description

3. Select go after: the first Zip classified under the Core enough

Here Insert Picture Description
Or select 32/64 will do, it is recommended first.

4. After downloading unzip good on the line

After extracting the file looks like this:
Here Insert Picture Description

5. The next step is to configure the environment variable:

Here Insert Picture Description
Right-select "Properties"
Here Insert Picture Description
select "Advanced System Settings"
Here Insert Picture Description
lower right corner "Environment Variables"
Here Insert Picture Description
select "New" and pay attention to choose the system variables in the "new"
Here Insert Picture Description
variable name: CATALINA_HOME
variable value: Select the root directory of tomcat

6. Verify that the installation was successful

Select the bin directory under the installation directory
Here Insert Picture Description
to find after entering the "startup.bat" Double-click to start, to see if the last run:
Here Insert Picture Description
prove your successful installation, you can stay in the hair loss begins ~

Released three original articles · won praise 0 · Views 116

Guess you like

Origin blog.csdn.net/weixin_43640450/article/details/104383478