Maven-私服搭建与配置

Java58

一、maven私服搭建

1.下载地址

https://help.sonatype.com/repomanager3/product-information/download/download-archives---repository-manager-3

2.启用

```sh
tar -zxvf nexus-3.31.1-01-unix.tar.gz
mv nexus-3.31.1-01 nexus3

cd nexus3/bin
./nexus start
./nexus stop

可以更改配置和端口

vim /usr/local/nexus3/etc/nexus-default.properties

初始密码位于此,更改密码后该文件将不存在

cd /usr/local/sonatype-work/nexus3/admin.password

输入验证码查看隐藏内容

扫描二维码关注本站微信公众号 Johngo学长
或者在微信里搜索 Johngo学长
回复 svip 获取验证码
wechat Johngo学长