在搭建ELK平臺時,因爲我一般使用CRT進行SSH連接,但是因爲Kibana是解壓安裝,所以當我們關閉SSH連接後程序就結束了,要想讓程序在後臺運行,我們可以使用nohup命令
[root@hdp5 kibana-4.1.2]# nohup /root/Apps/kibana-4.1.2/bin/kibana &
[1] 3266
[root@hdp5 kibana-4.1.2]# nohup: ignoring input and appending output to `nohup.out'
exit
logout
一定要使用exit退出,不要直接關閉,可能會斷開連接。