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