当前位置:   article > 正文

完全卸载 GitLab_dbkg 卸载 gitlab

dbkg 卸载 gitlab

全文转载自 askubuntu.com 上的回答 链接


That directory is populated with gitlab-ce reconfigure command after installation and holds variable data, configurations related to gitlab-ce package.

The recommended process to uninstall it was

  1. Remove services

    sudo gitlab-ctl uninstall
    
    • 1
  2. Clean any data generated by usage of the package

    sudo gitlab-ctl cleanse
    
    • 1
  3. You may also want to remove any accounts you configured. To do so

    sudo gitlab-ctl remove-accounts
    
    • 1
  4. Then remove the package using (博主注:这里卸载的是 ce)

    sudo dpkg -P gitlab-ce
    
    • 1

Furthermore, gitlab-ce uses these directories (as described here)

  • /opt/gitlab holds application code for GitLab and its dependencies.
  • /var/opt/gitlab holds application data and configuration files that gitlab-ctl reconfigure writes to.
  • /etc/gitlab holds configuration files for omnibus-gitlab. These are the only files that you should ever have to edit manually.
  • /var/log/gitlab contains all log data generated by components of omnibus-gitlab.

So, First remove the package recommended way (Even if you need to reinstall it). You can then remove those data using rm safely.

Information found from omnibus-gitlab README page

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/756622
推荐阅读
相关标签
  

闽ICP备14008679号