rxysg

一.简介

nexus仓库管理器,分为两个版本,Nexus Repository Manager OSS 和 Nexus Repository Manager Pro。前者可以免费使用,相比后者,功能缺少一些,但是不影响我们搭建maven私服。

二.环境

[maven远程仓库]
    主机名 = host-1
    系统 = centos-7.3
    地址 = 1.1.1.1
    软件 = nexus-2.14.3
          jdk-1.8

三.部署

1.下载地址:https://www.sonatype.com/download-oss-sonatype

2.解压
tar -zxvf /home/ckl/upload/nexus-2.14.3-02-bundle.tar.gz -C /usr/local/

3.建立软连接
cd /usr/local/
ln -s nexus-2.14.3-02 nexus

4.设置环境变量
vim /etc/profile

export NEXUS_HOME=/usr/local/nexus-2.14.3-02
export RUN_AS_USER=root

5.刷新环境变量
source /etc/profile

6.启动
cd /usr/local/nexus
./bin/nexus start

7.访问测试
http://1.1.1.1:8081/nexus 默认用户名为admin,密码admin123

分类:

技术点:

相关文章:

  • 2021-08-21
  • 2022-12-23
  • 2021-12-03
  • 2021-08-21
  • 2021-07-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-04-21
  • 2021-09-08
  • 2021-12-19
  • 2022-12-23
  • 2021-05-16
  • 2021-12-14
相关资源
相似解决方案