nexus yum 私服集成

nexus 集成了 yum 私服使用起来还是比较简单的

配置 yum proxy

配置yum repo

nexus.repo /etc/yum.repos.d/
参考

[nexusrepo]
name=Nexus Repository
baseurl=http://hostip:8081/repository/yum-proxy/$releasever/os/$basearch/
enabled=1
gpgcheck=0
priority=1

参考资料

https://help.sonatype.com/repomanager3/yum-repositories

猜你喜欢

转载自www.cnblogs.com/rongfengliang/p/9100055.html