系统相关
首页 > 系统相关> > Sonatype Nexus Repository Manager OSS仓库管理私服 — Windows 环境安装

Sonatype Nexus Repository Manager OSS仓库管理私服 — Windows 环境安装

作者:互联网

简介

nexus有收费版和开源免费版,本次案例采用Nexus Repository Manager OSS是开源免费的,其功能基本满足我们的需求。

下载

地址:Nexus Repository OSS

根据部署环境选择不同配置

image

下载完后进行解压,会得到两个文件夹

nexus-3.40.1-01:安装目录
sonatype-work:工作目录
image

常用命令

nexus /install:安装
nexus /uninstall:卸载
nexus /stop:停止后台运行
nexus /start:后台运行(关闭cmd后仍在后台运行)
nexus /status:查看运行状态
nexus /run:前台运行(可在cmd命令行实时查看log,需用CTRL+C停止运行,直接关闭命令行窗口也可停止运行)

安装

通过管理员身份启动CMD命令界面,进行定位到安装目录下的bin目录
image
安装命令:nexus /install

运行

安装命令:nexus /run

如果启动运行过程中出现错误:Picked up _JAVA_OPTIONS: -Xmx512M Error occurred during initialization of VM Initial heap size set t
修改红色框内的信息
image

远程访问时候记得需要关闭防火墙,或者开放端口:http://127.0.0.1:8081/
初始登录密码根据登录界面提示路径下获取
image

标签:Repository,Nexus,OSS,私服,nexus,安装,运行
来源: https://www.cnblogs.com/Angelo/p/16306059.html