1.下载Nexus
[root@localhost ~]# wget https://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-2.11.2-03-bundle.tar.gz
[root@localhost ~]# ls
anaconda-ks.cfg Desktop Documents Downloads dubbo-governance.log install.log install.log.syslog log.log Music nexus-2.11.2-03-bund
2.解压
[root@localhost ~]# mkdir nexus
[root@localhost ~]# tar -zxvf nexus-2.11.2-03-bundle.tar.gz -C nexus
[root@localhost nexus]# ls
nexus-2.11.2-03 sonatype-work
(一个是nexus服务,一个私有库目录)
[root@localhost nexus]#
3.编辑Nexus的nexus.properties,配置端口和work
[root@localhost ~]# wget https://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-2.11.2-03-bundle.tar.gz
[root@localhost ~]# ls
anaconda-ks.cfg Desktop Documents Downloads dubbo-governance.log install.log install.log.syslog log.log Music nexus-2.11.2-03-bund
2.解压
[root@localhost ~]# mkdir nexus
[root@localhost ~]# tar -zxvf nexus-2.11.2-03-bundle.tar.gz -C nexus
[root@localhost nexus]# ls
nexus-2.11.2-03 sonatype-work
(一个是nexus服务,一个私有库目录)
[root@localhost nexus]#
3.编辑Nexus的nexus.properties,配置端口和work
本文介绍了如何安装和配置Sonatype Nexus作为Maven的私有库,包括默认的登录信息(用户名:admin,密码:admin123),帮助开发者实现持续集成。
订阅专栏 解锁全文
1万+

被折叠的 条评论
为什么被折叠?



