liunx 部署 spring boot

來源:互聯網
上載者:User

標籤:type   sar   NPU   linux   ott   串連   build   tle   man   

 

 

Xshell for Xmanager Enterprise 4 (Build 0232)
Copyright (c) 2002-2014 NetSarang Computer, Inc. All rights reserved.

Type `help‘ to learn how to use Xshell prompt.
Xshell:\>

Connecting to 192.168.0.51:22...解釋:串連到本地服務
Connection established.
To escape to local shell, press ‘Ctrl+Alt+]‘.

WARNING! The remote SSH server rejected X11 forwarding request.
Last login: Sun Jul 8 22:39:02 2018 from 192.168.1.180 解釋:上次登入
[[email protected] ~]# ll   解釋:查看本目錄下的檔案
total 177792
-rw-r--r-- 1 root root 16415 Dec 25 2017 192.168.0.5120171225.txt
-rw-------. 1 root root 1155 Mar 6 2017 anaconda-ks.cfg
-rw-r--r-- 1 root root 130116403 Oct 11 2017 driftBottleCurrentEntity.json
-rwxr--r-- 1 root root 51914595 Aug 10 2017 hwlm-goddess-0.0.2-SNAPSHOT.jar
[[email protected] ~]# cd /opt/app/hwlm-bootdo  解釋:cd進入指定目錄查看本目錄下
[[email protected] hwlm-bootdo]# ll   解釋:查看本目錄下的檔案
total 192
drwxr-xr-x 4 root root 40 Jul 8 22:40 applog
-rw------- 1 root root 135398 Jul 8 23:06 nohup.out
[[email protected] hwlm-bootdo]# ps -ef | grep bootdo    解釋:ps -ef | grep 檢索進程是否存 
root 33479 1 2 22:40 ? 00:00:46 java -jar bootdo-1.6.9.jar
root 33674 33617 0 23:07 pts/0 00:00:00 grep --color=auto bootdo
[[email protected] hwlm-bootdo]# kill 33479  解釋:kill 殺掉進程 
[[email protected] hwlm-bootdo]# ps -ef | grep bootdo
root 33479 1 2 22:40 ? 00:00:46 java -jar bootdo-1.6.9.jar
root 33679 33617 0 23:07 pts/0 00:00:00 grep --color=auto bootdo
[[email protected] hwlm-bootdo]# kill -9 33479 解釋:kill -9強制 殺掉進程   
[[email protected] hwlm-bootdo]# ps -ef | grep bootdo  解釋:ps -ef | grep 檢索進程是否存 
root 33682 33617 0 23:07 pts/0 00:00:00 grep --color=auto bootdo
[[email protected] hwlm-bootdo]# nohup java -jar bootdo-1.6.9.jar &   解釋:nohup java -jar 持續啟動java包 用途:LINUX命令用法,不掛斷地運行命令
[1] 33683
[[email protected] hwlm-bootdo]# nohup: ignoring input and appending output to ‘nohup.out’

[[email protected] hwlm-bootdo]#
[[email protected] hwlm-bootdo]#
[[email protected] hwlm-bootdo]# ps -ef | grep bootdo  解釋:ps -ef | grep 檢索進程是否存 
root 33683 33617 99 23:08 pts/0 00:00:05 java -jar bootdo-1.6.9.jar
root 33696 33617 0 23:08 pts/0 00:00:00 grep --color=auto bootdo
[[email protected] hwlm-bootdo]#

 

liunx 部署 spring boot

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.