成都创新互联网站制作重庆分公司

nexus-2.14.4添加系统启动项

编译安装(nexus-2.14.4-03)后,添加系统(centos 7)开机启动项

宽城网站建设公司创新互联建站,宽城网站设计制作,有大型网站制作公司丰富经验。已为宽城1000多家提供企业网站建设服务。企业网站搭建\外贸营销网站建设要多少钱,请找那个售后服务好的宽城做网站的公司定做!

注:亲测可用!

  

1. 上传nexus启动脚本  

# cd /etc/init.d/  

# cp /usr/local/nexus/bin/nexus  nexus 

2. 修改etc/init.d/nexus    

NEXUS_HOME="/usr/local/nexus/" 

RUN_AS_USER=root  

3. 修改/usr/local/nexus/bin/jsw/conf/wrapper.conf  

wrapper.java.command=/usr/local/jdk1.8.0_91/bin/java

 

4. chkconfig --add nexus  

chkconfig --levels 345 nexus on


本文题目:nexus-2.14.4添加系统启动项
标题来源:http://cxhlcq.com/article/psegss.html

其他资讯

在线咨询

微信咨询

电话咨询

028-86922220(工作日)

18980820575(7×24)

提交需求

返回顶部