Linux deployment environment operations (tomcat container)

Source: Internet
Author: User
Linux deployment environment operation (tomcat container) environment determination: 183.62.156.65 [user name] snsgw [password] snsgwPort: 3980 package redeployment package: use putty to log on, go to the deployment directory cd/home/snsgw/webapps to disable Tomcat www.2cto.com .. /bin /... linux deployment environment operation (tomcat container) environment determination: 183.62.156.65 [user name] snsgw [password] snsgw Port: 3980 package redeployment package:
Use putty to log on to the deployment directory cd/home/snsgw/webapps to disable tomcat www.2cto.com .. /bin/shutdown. sh deletes snsgw and snsgw. war package rm-rf snsgw * confirm whether the ls has been deleted. If no snsgw or snsgw is found. use a file tool to upload the package to the/home/snsgw/webapps directory on the server. after the upload is complete, use ls to check whether the package has been uploaded successfully. Start tomcat .. /bin/startup. sh failed to close tomcat or start tomcat, such as Address already binded, you can check whether the tomcat process has stopped ps-ef | grep tomcat and find that tomcat has failed to be closed (the process information includes/home/snsgw ), kill the kill-9 process id and run the command ps-ef | grep tomcat to check whether the process has been deleted, if it is deleted, try to start the package www.2cto.com to view the deployment log tail-f/home/snsgw/logs/catalina. outmore/home/snsgw/webapps/snsgw/WEB-INF/classes/config. properties modify the system configuration file vi/home/snsgw/webapps/snsgw/WEB-INF/classes/config. propertiesvi/home/snsgw_test/webapps/snsgw/WEB-INF/classes/config. propertieshistory view the previous password operation record database operation command mysql-usns-psns-h172.18.15.108 author maid
Related Article

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.