1、环境准备,虚拟机centos6.10
解压jdk安装包

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

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

2、安装、启动nexus
解压到需要的目录下

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

3、防火墙配置,开启8081端口
进入目录

iptables

ip6tables

重启iptables服务 service iptables restart

查看iptables状态 service iptables status

4、web访问
http://192.168.1.166:8081/nexus/#welcome


网友评论