1.下载nexus版本
下载地址:https://www.sonatype.com/download-oss-sonatype
2.解压
tar -zxvf nexus-3.14.0-04-unix.tar.gz
3.启动
cd nexus-3.14.0-04/bin
./nexus run &
这样就可以了
4.其他
默认 账户:admin
默认密码:admin123
默认端口是8081,修改
cd cd …/…/sonatype-work/nexus3/etc/
vi nexus.properties
# Jetty section
# 端口修改
# application-port=8081
# 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