美文网首页
nexus搭建私有maven仓库

nexus搭建私有maven仓库

作者: 雪_豹 | 来源:发表于2018-10-17 23:17 被阅读0次
1、环境准备,虚拟机centos6.10

解压jdk安装包

image.png

配置java环境变量
vim ~/.bashrc

image.png
2、下载nexus

下载地址:
https://help.sonatype.com/repomanager2/download/download-archives---repository-manager-oss

image.png
2、安装、启动nexus

解压到需要的目录下

image.png

进入启动目录下
/root/awin/nexus/nexus-2.14.9-01/bin

image.png
3、防火墙配置,开启8081端口

进入目录

image.png

iptables

image.png

ip6tables

image.png

重启iptables服务 service iptables restart

image.png

查看iptables状态 service iptables status

image.png
4、web访问

http://192.168.1.166:8081/nexus/#welcome

image.png image.png
5、私服仓库配置(未完待续)

相关文章

网友评论

      本文标题:nexus搭建私有maven仓库

      本文链接:https://www.haomeiwen.com/subject/oepdzftx.html