1. 获得root权限
[ferrari@localhost ~]$ su -
2. 下载nexus集成版
[root@localhost ~]# cd /usr/local
[root@localhost local]# wget http://192.168.47.2:8080/nexus-oss-webapp-1.6.0-bundle.zip
3. 解压缩
[root@localhost local]# unzip nexus-oss-webapp-1.6.0-bundle.zip [root@localhost local]# rm -rf nexus-oss-webapp-1.6.0-bundle.zip [root@localhost local]# ln -s nexus-oss-webapp-1.6.0 nexus
4. 设置为系统服务
[root@localhost local]# cd /etc/init.d
[root@localhost init.d]# cp /usr/local/nexus/bin/jsw/linux-x86-32/nexus ./nexus [root@localhost init.d]# chmod 755 nexus [root@localhost init.d]# chkconfig --add nexus
[root@localhost init.d]# chkconfig --levels 345 nexus on
5. 编辑/etc/init.d/nexus的文本 5.1. 添加以下变量
NEXUS_HOME=/usr/local/nexus PLATFORM=linux-x86-32
PLATFORM_DIR="${NEXUS_HOME}/bin/jsw/${PLATFORM}" 5.2. 修改以下变量
WRAPPER_CMD="${PLATFORM_DIR}/wrapper"
WRAPPER_CONF="${PLATFORM_DIR}/../conf/wrapper.conf"
PIDDIR="${NEXUS_HOME}"
6. 启动服务
[root@localhost init.d]# service nexus start
相关文章
- Linux 下安装 MATLAB
- Solaris10 下mysql5.5.12的安装
- Linux下vi命令小结
- ubuntu下的数据库和python存储库安装——MySQL,MongoDB,Redis
- Linux下“/”和“~”的区别
- 0.1Linux系统开发Angular项目一一首次运行环境的安装(chrome ,terminator,git,node)
- Microsoft Visual C++ 2005 Redistributable---win下安装软件“嘭”的一声报错!
- windows xp 环境下 Oracle8i 双击安装文件无反应的解决办法
- 使用autotools工具用configure、make、make install编译安装linux工程的详细步骤
- Linux系统下 Rsync 环境安装搭建