1.官网下载地址:
2.选择3.31.0版本下载并将tar.gz包上传到linux服务器上面并按修改配置文件
tar -zxvf nexus-3.31.0-01-unix.tar.gz
解压jar包
cd nexus-3.31.0-01/etc/
进入nexus配置目录
vi nexus-default.properties
## DO NOT EDIT - CUSTOMIZATIONS BELONG IN $data-dir/etc/nexus.properties
##
# Jetty section
application-port=18081
application-host=0.0.0.0
nexus-args=${jetty.etc}/jetty.xml,${jetty.etc}/jetty-http.xml,${jetty.etc}/jetty-requestlog.xml
nexus-context-path=/
# Nexus section
nexus-edition=nexus-pro-edition
nexus-features=\
nexus-pro-feature
nexus.hazelcast.discovery.isEnabled=true
3.登录默认账号
默认admin密码在提示服务器上的文件中
4.创建管理账号
5.创建私服maven仓库
填入相关信息