- 下载最新版nexus,https://www.sonatype.com/download-oss-sonatype, 我这里下载的是Nexus Repository Manager OSS 2.14.5
- 将下载的下来的安装包,上传到服务器,我这里上传到了
/home
- 将安装包解压到
/usr/local
(务必解压到该目录,文档里这么写的,没必要自找麻烦),命令为:tar -zxvf /home/nexus-2.14.5-02-bundle.tar.gz -C /usr/local/
- 进入nexus的bin目录:
cd /usr/local/nexus-2.14.5-02/bin
- 启动nexus:
.nexus start
浏览器访问:http://host:8081/nexus