Centos Install SonaType Nexus
2012-11-08 17:26
183 查看
cd /home/software
wget http://www.sonatype.org/downloads/nexus-2.1.2-bundle.tar.gztar zxvf nexus-2.1.2-bundle.tar.gz
cp /home/software/nexus-2.1.2/bin/jsw/linux-x86-64/nexus /etc/init.d/nexus编辑/etc/init.d/nexus文件,添加以下变量定义:
1 NEXUS_HOME=/home/nexus/nexus2 PLATFORM=linux-x86-643 PLATFORM_DIR="${NEXUS_HOME}/bin/jsw/${PLATFORM}"修改以下变量:1 WRAPPER_CMD="${PLATFORM_DIR}/wrapper"2 WRAPPER_CONF="${PLATFORM_DIR}/../conf/wrapper.conf"3 PIDDIR="${NEXUS_HOME}"修改如下变量,设置启动用户为root:
1 RUN_AS_USER=root执行命令添加nexus自启动服务
1 # chkconfig –add nexus2 # chkconfig –levels 345 nexus on执行如下命令启动、停止nexus服务
1 # service nexus start
2 # service nexus stop测试:http:localhost:8081:nexus
相关文章推荐
- CentOS 安装 SonaType Nexus Maven Repository,以及旧库迁移。
- Centos+Sonatype Nexus 搭建Maven私有库
- CentOS 安装 SonaType Nexus Maven Repository以及旧库迁移
- CentOS 安装 SonaType Nexus Maven Repository以及旧库迁移
- How To Install Latest Sonatype Nexus 3 On Linux
- sonatype nexus 3搭建Docker私有仓库
- Sonatype Nexus 库被删除的恢复方法
- sonatype nexus 搭建maven服务器
- Sonatype Nexus 搭建Maven 私服
- Maven私有库和本地库的安装与配置 Sonatype Nexus
- SONATYPE NEXUS 搭建MAVEN 私服
- Sonatype Nexus 搭建Maven 私服
- Sonatype Nexus
- Maven 私有库和本地的安装与配置 Sonatype Nexus + Maven
- 使用Gradle和Sonatype Nexus 搭建私有maven仓库
- Sonatype Nexus 搭建Maven 私服
- Sonatype Nexus Repository OSS 3.0 安装方法
- Sonatype Nexus 搭建Maven 私服
- 6、Maven私有库和本地库的安装与配置(Sonatype Nexus +Manven)
- Maven Sonatype Nexus return 401