Laze

If I rest I rust !

  博客园  :: 首页  :: 新随笔  ::  ::  :: 管理

centos 将nexus做成系统服务并开机启动

 

创建连接到 /etc/init.d下

sudo ln -s /usr/local/nexus-2.11.2-03/bin/nexus /etc/init.d/nexus

查看nexus服务状态、启动服务、停止服务等

service nexus status/start/stop

设置nexus服务开机自启动或者开机不启动

chkconfig nexus on/off

 

 

posted on 2018-11-29 10:19  CollinTsui  阅读(1360)  评论(0)    收藏  举报