nexus服務啟動/關閉命令


nexus服務啟動/關閉命令
history | grep nexus # 查看服務器上面的歷史請求命令
ps -ef | grep nexus 查看進程及目錄
find / -name 'nexus' # 查找
find / -name 'nexus-2.13.0-01' -type d

查找目錄:find /(查找范圍) -name '查找關鍵字' -type d 帶*模糊匹配
查找文件:find /(查找范圍) -name 查找關鍵字 -print
find / -name 'nexus*2.13*' -type d
# find / -name 'nexus-2.13*' -type d
/opt/nexus-2.13.0-01
find / -name 'nexus-2.13*' -type d
# find / -name 'nexus-2.13.0-01' -type d
/opt/nexus-2.13.0-01
find / -name 'nexus*' -type d

which nexus # which指令會在環境變量$PATH設置的目錄里查找符合條件的文件。


[root@test01 bin]# ./nexus
Usage: ./nexus { console | start | stop | restart | status | dump }
啟動nexus:
#./nexus start
# nexus-2.13.0-01/bin/nexus start
關閉nexus:
#./nexus stop
# nexus-2.13.0-01/bin/nexus stop


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM