ubuntu安装maven私有仓库nexus3

下载地址

下载地址

解压

解压

移动

mv nexus-3.1.0-04 /usr/local/nexus

安装

nexus3默认需要jdk1.8及以上
>java -version查看安装的jdk版本,如果没有1.8
> 则进入到nexus配置中手动设置jdk路径
> bj
> jdkv

修改使用的用户

vim nexus.rc
增加 run_as_user=”root”
user

启动

./nexus (bin目录)
starterr
index
默认登录用户admin,密码admin123

使用

项目pom中加入:
pom

参考

http://www.cnblogs.com/qq27271609/p/5497793.html
http://www.cnblogs.com/qq27271609/p/5497412.html
http://www.cnblogs.com/qq27271609/p/5497815.html


Creative Commons License
This work is licensed under a CC A-S 4.0 International License.