大旗谷资源网 Design By www.zqyou.com
CentOS7 Nexus安装
CentOS7
Download
Nexus安装下载nexus-2.11.2-03-bundle.tar.gz
Install
安装
上传RPM文件到/tmp目录下
mkdir /opt/nexus cd /opt/nexus tar -zxvf /tmp/nexus-2.11.2-03-bundle.tar.gz ln -sf /opt/nexus/nexus-2.11.2-03/opt/nexus/latest ln -sf /opt/nexus/latest /opt/nexus/default
新建用户
useradd -r nexus --shell /bin/false chown -hR nexus:/opt/nexus
开机启动
新建/etc/init.d/nexus
#!/bin/sh # chkconfig: - 80 20 # Description: Nexus OSS NEXUS_HOME=/opt/nexus/default RUN_AS_USER=nexus JAVA_HOME=/usr/java/default export NEXUS_HOME RUN_AS_USER JAVA_HOME "$NEXUS_HOME/bin/nexus"$1 exit $"color: #0000ff">chmod +x /etc/init.d/nexus
设定
/opt/nexus/default/conf/nexus.properties
application-port=9083
nexus-webapp-context-path=/
设置开机启动
chkconfig nexus on
防火墙
新建文件/usr/lib/firewalld/services/jenkins.xml
<"1.0" encoding="utf-8"?> <service> <short>Nexus</short> <description>Nexus OSS</description> <portprotocol="tcp"port="9083"/> </service>修改防火墙设定
firewall-cmd --permanent --add-service=nexus
firewall-cmd --reload感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
大旗谷资源网 Design By www.zqyou.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
大旗谷资源网 Design By www.zqyou.com
暂无CentOS7 Nexus安装步骤详细介绍的评论...
更新日志
2024年09月20日
2024年09月20日
- 群星.1993-滚石九大天王十二出好戏·贺岁齐唱【滚石】【WAV+CUE】
- 黑神话悟空上品虫校尉精魄获取方法一览|上品虫校尉精魄收集攻略
- 《指环王:夏尔的传说》推迟至2025年初发行
- 黑神话悟空上品蝎太子精魄获取方法一览|上品蝎太子精魄收集攻略
- 银霞.1977-《台北66电影原声带》台湾复刻版[WAV+CUE]
- 银霞.1980-《你那好冷的小手》台湾珍藏纪念版[WAV+CUE]
- 王菲.2006《菲常好听》引进版[低速原抓WAV+CUE]
- 《三日危情独家的记忆》女角色介绍
- 《天国拯救》拉泰比武大会攻略
- 任天堂推出《马里奥惊奇》NS捆绑包 10月24日发售
- 《孤岛惊魂》能否逆转育碧颓势?曝系列新作正招兵买马
- 天命人呼叫战术轰炸!玩家自制《黑神话:悟空》轰炸机Mod
- 群星.1992-滚石九大天王·十二出好戏【滚石】【WAV+CUE】
- 群星.1994-新滚石九大天王之年度大丫滚石】【WAV+CUE】
- 坣娜.1998-别恋【非常喜】【WAV+CUE】