First, install Tomcat server
1. Download tomcat URL: http://tomcat.apache.org/
2, find the Download
3, Download
4: Once downloaded, extract to any directory
5: After the extraction is completed to obtain directory
Two, Tomcat starts to close
1. Navigate to the bin directory under the file download, open the bin directory, find startup.bat
2, black window will appear the following circumstances
3, enter localhost in the URL: [8080] Tomcat default port 8080
[Note] can not close the DOS window Tomcat, Tomcat or stopped
Three, Tomcat 8080 port issue
Start Tomcat server is the default port 8080, we will be 8080, 8086 changed to
first find the file conf directory, click inside the server.xml
1.Tomcat server starts the default configuration port
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
2. Modify the Tomcat server startup port to port 8086
<Connector port="8086" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
[Note 1] Once the server in the * .xml file is changed, the Tomcat server must be restarted after the restart will re-read the new configuration information. As it has been modified in the start port in the Tomcat's server.xml file becomes 8086, so Tomcat server startup on port 8086 to start a
[Note 2] to access Tomcat server must also be a new access port to access: HTTP: // localhost: 8086 /
Four, Tomcat garbage problem
Tomcat is possible to open a window appears black garbage problem
Conf directory to find the file, click inside the logging.properties, GBK or modified to UTF-8