Deploy simple projects with Xshell and XFTP

Source: Internet
Author: User

Recently I occasionally contact how to deploy the project, friends request, while this occasion, a simple summary, for everyone to share, but also hope that the great God, we learn from each other, there are problems do not spray.

1. Usage Environment: Win 7 + Tomcat 7 + MyEclipse2014

2. Install software: Xshell and xftp, I use is XSHELL4 and XFTP4, this needless to say, the next step directly next, installation can complete, fool type;

3. Open the Xshell connection server, specifically

Click New to create a new reply to the Properties dialog box, click Connect, user authentication, enter host name, reply name

OK, pop-up dialog box

Click Connect, then enter the password to successfully connect to the server.

4. Start deployment project first into the server Tomcat directory, I use the directory under/tomcat8/tomcat/, enter the command cd/tomcat8/tomcat/, enter the path of the project deployment

Then click on Ctrl+alt+f or click on the toolbar with a red and green button, click on the new File transfer (green button),

And then pop up the Xftp dialog, which is dedicated to the deployment project, where the right side represents the current path of the server, the desktop-rooted directory tree, as

Choose the deployment path into your local tomcat, my D:\Program Files\apache-tomcat-8.0.11\webapps, specifically

Select the project you want to deploy, right click on the mouse, select transfer, click Overwrite OK,

Then a progress bar will appear below, reaching 100%,

4. Go to the Xshell window, then close server Tomcat, then, restart, okle, specific commands such as

At this point, the deployment project is over, open the Web to see it!!!

Deploy simple projects with Xshell and XFTP

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.