1.下载nexus-2.14.0-01
2.将其解压到/apps/nexus-2.14.0-01
3.修改nexus.properties将端口改为80:application-port=80
4.启动nexus
cd /apps/nexus-2.14.0-01/bin
./nexus start
5.登陆nexus,默认密码admin/admin123
6.配置上网代理以便可以上公网下载依赖包
Administration-Server-Default HTTP Proxy Setting,将上网代理服务器及端口填入;
Administration-Server-Default HTTPS Proxy Setting,将上网代理服务器及端口填入;
7.配置私有库
Repositories-Add-Proxy Reporitory
选择Repository Policy
填写Remote Storage Location
保存
8.配置jenkins,测试构建。
nexus安装
最新推荐文章于 2022-05-06 17:53:16 发布