centos7搭建maven私服

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

浏览器访问:http://host:8081/nexus

猜你喜欢

转载自blog.csdn.net/shuang3281/article/details/85248991
今日推荐