在ubuntu10.10 64位下设置nexus自动启动

1.下载nexus-oss-webapp-1.8.0-bundle.tar.gz

2.将包解压在自己的某个路径下,如:/home/mylocal/soft/nexus

3.将nexus脚本复制到/etc/init.d/中,及

  /home/mylocal/soft/nexus/nexus-oss-webapp-1.8.0/bin/jsw/linux-x86-64/nexus

4.修改nexus脚本,将WRAPPER_CMD和WRAPPER_CONF指向正确的路径

及将WRAPPER_CMD的路径指定为:

  /home/mylocal/soft/nexus/nexus-oss-webapp-1.8.0/bin/jsw/linux-x86-64/nexus

将WRAPPER_CONF的路径指定为:

  /home/mylocal/soft/nexus/nexus-oss-webapp-1.8.0/bin/jsw/conf

5.在/etc/rc2.d目录建立到这个服务的软连接,如,sudo ln -s /etc/init.d/nexus S92nexus

你可能感兴趣的:(linux,脚本)