下载解压

官网https://www.sonatype.com/download-oss-sonatype

下载页面 https://help.sonatype.com/repomanager2/download/download-archives---repository-manager-oss

解压下载好的文件

tar -zxvf nexus-2.14.13-01-bundle.tar.gz

解压完成会看到两个文件夹

nexus-2.14.13-01

sonatype-work

我当前在/usr/local

mkdir nexus
mv sonatype-work/ nexus/sonatype-work
mv nexus-2.14.13-01/ nexus/nexus

修改nexus.properties 文件

vim conf/nexus.properties 

CentOS7 搭建maven私服Nexus

如果端口冲突,修改端口,否则默认即可

vim bin/nexus
#RUN_AS_USER=
改为:
RUN_AS_USER=root

 

打开防火墙端口8081

firewall-cmd --zone=public --add-port=8081/tcp --permanent

浏览器访问

http://192.168.100.129:8081/nexus

登录Nexus的默认用户名admin密码admin123

CentOS7 搭建maven私服Nexus

 

相关文章:

  • 2021-12-05
  • 2021-10-23
  • 2022-01-05
  • 2021-06-10
  • 2021-04-27
  • 2021-06-25
  • 2021-05-25
  • 2022-01-19
猜你喜欢
  • 2021-11-06
  • 2021-07-15
  • 2021-06-09
相关资源
相似解决方案