一、安装
1.安装jdk
https://mp.csdn.net/mdeditor/86539449#
2.安装nexus (使用用户为非root)
$ pwd
/onstardata/tools/nexus
$ wget https://sonatype-download.global.ssl.fastly.net/repository/repositoryManager/3/nexus-3.15.0-01-unix.tar.gz
$ tar zxvf nexus-3.15.0-01-unix.tar.gz
$ /onstardata/tools/nexus/nexus-3.15.0-01/bin/nexus restart #使用默认配置即可
二、nexus配置 阿里云代理
登录到nexus的web界面:http://yourip:8081/ 默认登录用户名 密码: admin admin123
详细设置见其他人博客:https://blog.csdn.net/kq1983/article/details/83066102
其中阿里云仓库地址我的设置为:http://maven.aliyun.com/nexus/content/repositories/central