Tomcat installation
Take Tomcat8.5 as an example
1. Website link
Apache Tomcat® - Apache Tomcat 8 Software Downloads
According to personal preference, I installed version 8.5
2. Download and decompress
My installation directory is (E:\Environments\apache-tomcat-8.5.83)
3. Configure system variables
The variable name is fixed, and the variable value is the tomcat decompression path! ! !
变量名:CATALINA_BASE
变量值:E:\Environments\apache-tomcat-8.5.83
变量名:CATALINA_HOME
变量值:E:\Environments\apache-tomcat-8.5.83
4. Create two new path variables
%CATALINA_HOME%\lib
%CATALINA_HOME%\bin
5. Double-click to run startup.bat
tomcat file bin directory
The output of the following statement means that the operation is successful!
6. Open the browser input
Enter localhost:8080
The following interface appears, which means the configuration is successful!
At this time, find shutdown.bat to run and close the tomcat service
IDEA deployment Tomcat
7. Click settings
Add Tomca server and confirm
8. Create a new project
9. Select jdk, tomcat and web application
10. Complete the creation
11. Configure tomcat service
12. Add deployment