centos8下maven私服搭建(nexus - 3.13)

  

1,安装Maven
wget http://mirrors.hust.edu.cn/apache/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz
焦油-zxvf apache-maven-3.5.4-bin.tar。广州
mv apache-maven-3.5.4/usr/local vim
/etc/profile
添加到文件尾部:
MAVEN_HOME=/usr/地方/apache-maven-3.5.4
出口MAVEN_HOME源/etc/profile

mvn - v
 centos8下maven私服搭建(nexus - 3.13)
 centos8下maven私服搭建(nexus - 3.13)

  

再次输入:mvn - v
 centos8下maven私服搭建(nexus - 3.13)

  

2,安装nexus
wget - no-check-certificate https://sonatype-download.global.ssl.fastly.net/repository/repositoryManager/3/nexus-3.13.0-01-unix.tar.gz或https://www.zhinengx.cn/store/thumbs/2018/0726/nexus-3.13.0-01-unix.tar.gz
者网络下载有点慢。也可以下载完上传到centos上。
焦油-zxvf nexus-3.13.0-01-unix.tar。广州
mv nexus-3.13.0-01/usr/local
cd/usr/local/nexus-3.13.0-01/bin
。/关系开始
浏览器:http://192.168.41.128:8081访问
 centos8下maven私服搭建(nexus - 3.13)

  

用户密码:admin admin123
 centos8下maven私服搭建(nexus - 3.13)

  

 centos8下maven私服搭建(nexus - 3.13)

  

3,其他设置
sudo ln - s/usr/local/nexus-3.13.0-01/etc/init./bin/联系d/nexus
#查看nexus服务状态,启动服务,停止服务等
服务关系状态/启动/停止
#设置为开机自启动/关闭等
chkconfig nexus开/关

centos8下maven私服搭建(nexus - 3.13)