首先下载nexus

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


centos 7 搭建maven私服


2.随便找个文件夹解压 比如:/usr/local

cd /usr/local

tar -zxvf  nexus-2.14.3-02-bundle.tar.gz

3.建立软连接(不知道干嘛用的)

 ln -s nexus-2.14.3-02 nexus 

4.启动nexus

cd /usr/local/nexus

./bin/nexus start


如果需要root权限

    vim /etc/profile

  结尾加上

  export RUN_AS_USER=root

  保存退出。

  刷新:source /etc/profile

再次启动nexus安装完成

打开http://192.168.2.141(换成你的ip):8081/nexus

默认帐号admin  密码admin123


相关文章:

  • 2021-11-30
  • 2021-06-29
猜你喜欢
  • 2022-12-23
  • 2021-04-13
  • 2021-12-26
  • 2021-08-14
  • 2021-04-27
  • 2021-10-08
  • 2021-07-19
相关资源
相似解决方案