oktokeep

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

分类:

技术点:

相关文章:

  • 2021-05-30
  • 2021-11-17
  • 2021-11-14
  • 2021-11-14
猜你喜欢
  • 2022-12-23
  • 2021-11-15
  • 2021-11-02
  • 2022-02-16
  • 2022-12-23
  • 2021-11-23
  • 2021-12-27
相关资源
相似解决方案