(different projects have different startup methods), depending on your project deployment path and deployment plan. startup.sh command or start the jar package command, etc. For example, if a Java web project is to be deployed under the tomcat of the Linux server, the war package of the project needs to be uploaded to the server Under the Tomcat webapp directory or upload the jar package to the specified directory, start the sh startup.sh. Start the project, stop or restart it through the Xshell 5 command window. Use WinSCP to upload the project to the specified directory of the remote server. Using Xshell 5+WinSCP, you can also deploy a variety of projects (Java, Python, scripts, etc.) to a remote server. This kind of scheme needs to remember most of the linux commands, the degree of difficulty is *****. shutdown.sh commands or use ps -ef |grep java to get the Java process number and then pass the killall -9 process number to stop the Java project, and then redeploy. (different projects start differently), mainly depends on your project deployment path and deployment plan When redeploying, you need to use sh shutdown.sh. startup.sh command or start jar package command, etc. For example, if a Java web project is to be deployed under the tomcat of the Linux server, you need to upload the war package of the project to Under the Tomcat webapp directory of the server or upload the jar package to the specified directory, start sh startup.sh. Log in to the remote server through Xshell 5, execute the rz command to upload the project to the remote server, and then start the project through the command in the command window. Download the file, execute the command sz Upload the file, execute the command rz, the file selection window will pop up, select the file, and click OK.
#EXECUTION COMMAND XSHELL5 DOWNLOAD#
you need to upload and download the deployment file: The specific operations are as follows:ġ. Use Xshell 5 to deploy a variety of projects (Java, Python, scripts, etc.) to a remote server.
![execution command xshell5 execution command xshell5](https://nil.uniza.sk/wp-content/uploads/2021/05/image-20.png)
![execution command xshell5 execution command xshell5](https://nil.uniza.sk/wp-content/uploads/2021/05/image-21.png)
I will introduce you one by one of the operation methods for deploying projects to remote servers: Xshell 5
![execution command xshell5 execution command xshell5](https://img2018.cnblogs.com/blog/526027/201912/526027-20191202105638888-1431574811.png)
Later, it was discovered that the Czech JetBrainsP圜harm tool developed by a Czech company has the function of automatically deploying Python projects to remote servers. It was too cumbersome for development and deployment. By using Xshell 5, Tools such as WinSCP for remote deployment and testing of the project took a lot of time each time. This is also the case for my initial development.
#EXECUTION COMMAND XSHELL5 CODE#
Every time a Python project is developed, the most boring thing for all Python developers is not to modify the code, but to upload their code to a remote server in real time for testing or deployment.