1.创建目录mkdir nexus
2. wget "https://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-2.14.3-02-bundle.tar.gz"
3.解压文件 tar xfvz nexus-2.14.3-02-bundle.tar.gz
4.在环境变量中增加 export RUN_AS_USER=root
5.启动nexus
cd /usr/local/nexus
nexus-2.14.3-02/bin/nexus start