Tools used to deploy the project on the linux server: SecureCRT and WinSCP1. first, compress the project into a war package using maven. eclipse: Right-click the project -- & gt; runas -- & gt; mavenpackage2.copy the empty Tomcat project to the linux server, change the port 3. copy the packaged war package... tools used to deploy projects on linux servers: SecureCRT and WinSCP 1. first, use maven to compress the project into a war package. eclipse: Right-click the project and choose run as> maven package 2. copy the empty Tomcat project to the linux server and change port 3. copy the packaged war package to webapps in Tomcat 4. start startup in the bin directory. sh 5. command to enter the bin directory: [root @ localhost neco-tomcat-6.0.35-8094] # cd/opt/neco-tomcat-6.0.35-8094/bin/grant permissions to the folder: [root @ localhost bin] # chmod 777-R/opt/neco-tomcat-6.0.35-8094/start tomcat service: [root @ localhost bin] #. /startup. sh close the service: [root @ localhost bin] #. /shutdown. sh/opt/neco-tomcat-6.0.35-8094/webapps view log information: [root @ localhost bin] # tail-222f/opt/neco-tomcat-6.0.35-8094/logs/catalina. out
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