玖零定制问题修复
2017-08-15 11:45:17
CentOs6.5基本环境配置(八):Nexus配置
下载nexus文件
https://www.sonatype.com/download-oss-sonatype
解压文件
tar -zxvf nexus-2.14.2-01-bundle.tar.gz |解压到当前目录
tar -zxvf nexus-2.14.2-01-bundle.tar.gz -C ~/soft/nexus/ |解压到指定目录
启动nexus 第一次启动会出现警告 两种解决方式
一临时解决
export RUN_AS_USER=root 后在执行 ./nexus start 运行结果如下图:
二永久解决方案:修改bin/nexus文件配置跳过警告
启动nexus ./nexus start
查看nexus 启动状态 ./nexus status 出现如下图说明我们启动成功了
Nexus默认端口号为8081
若不想用8081端口 可进入
访问服务进入nexus 默认登陆密码为 admin/admin123
变更所有type =proxy 中Configuration 为true
将Releases仓库的Deployment Policy 设置为 Allow
评论