Remote deployment via Xshell

Source: Internet
Author: User
Tags create directory


Xshell and XFTP5 machines for operating Linux systems

------------------------------------------------------------------------------------------------------------

1. To know the current project to be operated on Linux, the corresponding process number Screen-ls can view all the current process numbers

2. Kill the process, kill Screenid.

3. To know the war package that the project holds in Linux, replace the fresh-baked war package with the original by XFTP5 in Xshell, know the corresponding directory, and drag it directly into the cover

4. Create a new process Screen-r screenname

5. When the previous step is completed, it enters a new form and executes the Java-jar Xxx.war running the jar package, the project starts

------------------------------------------------------------------------------------------------------------
mkdir timecost//Create Directory
CD timecost//Enter directory
Java-jar Xxx.war//Run the jar package (overwrite the original war package with the new war package and execute the new war package under this directory in the current directory)

Feel a window corresponding to a program
Screen-r newtimecost//New Window (program)
Screen-ls//View all windows (Programs)
Screen-r Screenid//Enter the window (program)
Kill Screenid//Kill Delete window (program)

Ctrl + A + D exit window (while the window is exiting but the program is still running in the background)

Remote deployment via Xshell

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.