Cent OS 6.x下安装Nexus2.X

Nexus 有社区版本和专业版本,一个收费一个免费,我们安装免费的OSS版:

1. 下载并安装: nexus-2.14.5-02-bundle.tar.gz

    cd /opt

    mkdir nexus

    cd nexus

    wget http://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-2.14.5-02-bundle.tar.gz

    gzip -d nexus-2.14.5-02-bundle.tar.gz

    tar -xvf nexus-2.14.5-02-bundle.tar

2. 启动Nexus

   cd nexus/nexus-2.14.5-02/bin

   ./nexus start(启动)

   ./nexus stop(停止)

3. 运行Nexus

   修改默认端口号为8081(到conf/nexus.properties修改)

   在浏览器中输入:http://hostname:8081/nexus/ 可以看到nexus的主页,

   点击右上角Login,默认用户名和密码是:admin/admin123

猜你喜欢

转载自whq329.iteye.com/blog/2390472