美文网首页
卸载gitlab

卸载gitlab

作者: 格老子 | 来源:发表于2018-05-04 22:31 被阅读12次

    <pre data-initialized="true" data-gclp-id="0" style="margin: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-family: "Courier New" !important; font-size: 12px; color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">一、停止gitlab
    sudo gitlab-ctl stop
    二、卸载gitlab
    sudo rpm -e gitlab-ce
    三、查看gitlab进程


    image

    </pre>

    杀掉第一个守护进程

    kill -9 4473

    再次查看gitlab进程是否存在

    <pre data-initialized="true" data-gclp-id="1" style="margin: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-family: "Courier New" !important; font-size: 12px; color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">四、删除gitlab文件
    find / -name gitlab|xargs rm -rf 删除所有包含gitlab的文件及目录
    删除gitlab-ctl uninstall时自动在root下备份的配置文件


    image

    </pre>

    通过以上几步就可以彻底卸载gitlab

    from:https://www.cnblogs.com/shansongxian/p/6678110.html

    相关文章

      网友评论

          本文标题:卸载gitlab

          本文链接:https://www.haomeiwen.com/subject/qmbjrftx.html