网站首页 返回列表 像“草根”一样,紧贴着地面,低调的存在,冬去春来,枯荣无恙。 centos7安装nexus 24-11-1 10:00:09 曹大卫 64 ```shell wget https://download.sonatype.com/nexus/3/latest-unix.tar.gz tar -xvf nexus-3.63.0-01-unix.tar.gz useradd -m -s /bin/bash nexus echo "nexus" |passwd nexus --stdin chown -R nexus:nexus nexus-3.63 cat >> /etc/systemd/system/nexus.service <<EOF [Unit] Description=Nexus Repository Manager After=network.target [Service] Type=forking LimitNOFILE=65536 ExecStart=/root/nexus/nexus-3.63/bin/nexus start ExecStop=/root/nexus/nexus-3.63/bin/nexus stop User=nexus Restart=on-abort RemainAfterExit=yes [Install] WantedBy=multi-user.target EOF cd /root/nexus/nexus-3.63/etc vim nexus-default.properties application-port=8081 nexus-context-path=/nexus/ systemctl enable nexus systemctl start nexus ###启动失败的话 ,删除/home/nexus/sonatype-work/ 中的nexus3目录,此目录为启动时创建的数据目录 重启 ./nexus run 前台启动 ###初始密码 cat /home/nexus/sonatype-work/nexus3/admin.password ``` 关键字词[nexus] 分享到: 上一篇:centos7安装nfs及挂载 下一篇:calico三种网络模式 如需留言,请 登录,没有账号?请 注册 0 条评论 0 人参与 最新文章 centos7 rsyslog v8.24.0-34.el7 版本bug efk中将宿主机ip地址采集到日志输出中 企业微信群机器人@成员的方式 promethues operator修改告警规则 centos7配置阿里云yum源 pt-duplicate-key-checker 工具检测mysql是否有重复索引 阿里云ecs扩容磁盘 es启用 tcp和http的ssl后报错 点击排行 alertmanager按标签分发告警到接收者 calico三种网络模式 promethues operator修改告警规则 企业微信群机器人@成员的方式 centos7配置阿里云yum源 最新评论 友情链接
0 条评论 0 人参与