您的位置 首页 linux安装软件

nexus安装(linux安装 nexus)

nexus搭建maven私有仓库教程(nexus安装)

在 202上配置

10.0.0.202:8081 admin admin123

 

(1) nexus安装 部署私服

需要jdk 环境: 可以参考:https://www.baimeidashu.com/9023.html

上传JDK和nexus安装包
rpm -ivh jdk-8u121-linux-x64.rpm

 

nexus  下载https://www.sonatype.com/download-oss-sonatype\

官网下载 需要填写 各种信息, 很麻烦

这里我给大家准备了下载好的 安装包:

nexus: https://url69.ctfile.com/d/253469-56163475-117455?p=2206 (访问密码: 2206)

我们 再 Linux 中 解压:

tar xf nexus-3.13.0-01-unix.tar.gz 
mv nexus-3.13.0-01 /usr/local/
ln -s /usr/local/nexus-3.13.0-01/ /usr/local/nexus

 

启动 nexus

/usr/local/nexus/bin/nexus start

浏览器访问:

10.0.0.202:8081 admin admin123

 

nexus配置阿里云仓库 : https://www.baimeidashu.com/9889.html

 

 


配置仓库两个选项
1、项目下的pom.xml配置、只生效当前的项目
2、在maven配置全局所有项目生效

配置Maven全局配置文件
/usr/local/maven/conf/settings.xml

nexus搭建maven私有仓库
nexus搭建本地仓库

nexus 搭建
nexus搭建maven

欢迎来撩 : 汇总all

白眉大叔

关于白眉大叔linux云计算: 白眉大叔

热门文章