Linux deployment of Web engineering notes in Tomcat

Source: Internet
Author: User

1.linux view of the Java processes that have started: Ps-ef|grep Java

2.Linux off Tomcat, need to kill Tomcat process directly: Kill-9 23206


3.Linux starts Tomcat under the Tomcat directory:/bin/startup.sh

4. Configure Server.xml

<connector port= "10005" protocol= "http/1.1"
connectiontimeout= "20000"
Uriencoding= "UTF-8"

redirectport= "8444"/>

Need to configure several ports to see if the port is occupied: Windows cmd window: Telnet 220.191.225.219 10005


5.maven Packing Command

1) mvn Clean

2) MVN Package




The use of the command package, because the pom.xml in the configuration of some files are not packaged, resulting in missing JS, CSS and other documents, comments off can be entered into the war


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.