The basic Java development environment Tomcat

View more Java development environment configuration, click the "Java development environment configuration Filmography"

Chapter One: Tomcat installation tutorial

1) go to the official website to download the installation package

http://tomcat.apache.org/

Recommended to download compressed (zip) format, namely the installation is complete decompression

 

2) Profile

startup.bat find bin directory under start tomcat, shutdown.bat closed tomcat, the default port 8080, do not configure the environment variables, and now almost all integrated with other tools used together;

Find server.xml in conf directory, configure the default port:

<Connector URIEncoding="UTF-8" port="8099" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />

Find tomcat-users.xml conf directory, login user configuration information:

<role rolename="manager-gui"/> <user username="xdzy" password="123456" roles="manager-gui"/>

 

3) IDEA configured Tomcat

 

Guess you like

Origin www.cnblogs.com/xdzy/p/10985972.html