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