玖零定制问题修复的gravatar头像
玖零定制问题修复 2017-08-15 11:45:17
CentOs6.5基本环境配置(八):Nexus配置

下载nexus文件
https://www.sonatype.com/download-oss-sonatype

CentOs6.5基本环境配置(八):Nexus配置

上传到服务器

CentOs6.5基本环境配置(八):Nexus配置

解压文件
tar -zxvf nexus-2.14.2-01-bundle.tar.gz |解压到当前目录
tar -zxvf nexus-2.14.2-01-bundle.tar.gz -C ~/soft/nexus/ |解压到指定目录
启动nexus 第一次启动会出现警告 两种解决方式

CentOs6.5基本环境配置(八):Nexus配置

一临时解决
export RUN_AS_USER=root 后在执行 ./nexus start 运行结果如下图:
二永久解决方案:修改bin/nexus文件配置跳过警告

CentOs6.5基本环境配置(八):Nexus配置

启动nexus ./nexus start

CentOs6.5基本环境配置(八):Nexus配置

查看nexus 启动状态 ./nexus status 出现如下图说明我们启动成功了

CentOs6.5基本环境配置(八):Nexus配置

Nexus默认端口号为8081
若不想用8081端口 可进入

访问服务进入nexus 默认登陆密码为 admin/admin123
变更所有type =proxy 中Configuration 为true

CentOs6.5基本环境配置(八):Nexus配置


将Releases仓库的Deployment Policy 设置为 Allow

CentOs6.5基本环境配置(八):Nexus配置


打赏

已有1人打赏

最代码官方的gravatar头像
最近浏览
kinggode  LV14 2019年12月11日
weienqing  LV17 2017年11月17日
是时候了  LV3 2017年11月14日
狼牙月伊人  LV2 2017年11月4日
那就是我的太阳走吧  LV1 2017年9月25日
203778513  LV9 2017年9月13日
李先森  LV19 2017年9月5日
branice  LV18 2017年9月3日
18202838208  LV14 2017年9月3日
pjjmtylp  LV2 2017年8月25日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友