将 jar 部署到 unix 服务器
Deploying jar to unix server
目前,为了将我的程序部署到我的 ubuntu 服务器,我必须执行以下步骤。
1. Compile the code using Gradle
2. Using FileZilla to move the jar to my server.
3. Connect to my server and find the process to kill it
4. restart the program.
我很好奇是否有任何替代方案可以让我自己尝试。比如某种方式 "deploy" 我的 jar 到服务器并让它自动重启进程。
目前,为了将我的程序部署到我的 ubuntu 服务器,我必须执行以下步骤。
1. Compile the code using Gradle
2. Using FileZilla to move the jar to my server.
3. Connect to my server and find the process to kill it
4. restart the program.
我很好奇是否有任何替代方案可以让我自己尝试。比如某种方式 "deploy" 我的 jar 到服务器并让它自动重启进程。