springBoot环境搭建中,build.gradle配置文件中提及仓库repositories配置,为加速构建我们可搭建本地仓库。

1.官网上下载安装包

https://www.sonatype.com/download-oss-sonatype 点击链接,下载相应版本安装包。

2.解压安装包

解压目录可自己选择:D:\nexus-2.14.8-01-bundle\nexus-2.14.8-01

配置path:D:\nexus-2.14.8-01-bundle\nexus-2.14.8-01\bin  配置path的目的是可以通过命令启动;

3.命令行启动nexus

本地nexus私服搭建

该错误是因为需要管理员身份运行,用管理员申请运行命令行:

nexus install 

安装成功后,启动服务,nexus start   默认端口是8081

4.验证服务是否正常

http://localhost:8081/nexus/#welcome

默认用户名:admin  密码:admin123

本地nexus私服搭建

5.nexus发布成服务

常用的工具或应用习惯性发布成服务,不用每次再通过命令行启动。命令行中输入 Services.msc,打开服务:

本地nexus私服搭建

相关文章:

  • 2021-06-30
  • 2021-08-19
  • 2021-10-14
  • 2021-07-01
  • 2022-01-06
  • 2021-09-12
猜你喜欢
  • 2021-05-24
  • 2021-09-19
  • 2021-10-08
  • 2021-09-09
  • 2021-12-03
  • 2021-11-11
  • 2021-11-03
相关资源
相似解决方案