一. 下载
wget https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-3.6.2-01-unix.tar.gz
二. 解压
tar -zxvf nexus-3.6.2-01-unix.tar.gz
三.移动位置
mkdir -p /usr/nexus
mv nexus-3.6.2-01 /usr/nexus
mv sonatype-work /usr/nexus
cd /usr/nexus
四.修改端口号
cd /usr/nexus/nexus-3.6.2-01/etc
vi nexus-default.properties
五.运行
cd /usr/nexus/nexus-3.6.2-01/bin
./nexus start
六.页面
默认的用户名密码是admin/admin123