编译安装(nexus-2.14.4-03)后,添加系统(centos 7)开机启动项
注:亲测可用!
,,
1。上传nexus启动脚本,
# cd/etc/init.d/,
# cp/usr/local/nexus/bin/nexus, nexus
2。修改等/init。d/联系,,
NEXUS_HOME="/usr/地方/联系/?
根,RUN_AS_USER=
3。修改/usr/bin/地方/联系/公司/conf/包装。相依,
wrapper.java.command=/usr/地方/jdk1.8.0_91/bin/java
,
4。chkconfig,添加联系,
chkconfig——水平345 nexus