卸載gitlab

卸載gitlabgit

  1. 中止gitlab
    sudo gitlab-ctl stop
  2. 卸載gitlab
    sudo rpm -e gitlab-ce
  3. 查看gitlab進程
    [root@test32 ~]# ps -ef|grep gitlab
    root 26962 1 0 Feb13 ? 00:00:02 runsvdir -P /opt/gitlab/service log:
    殺掉第一個守護進程
     kill -9 26962
     再次查看gitlab進程是否存在
    卸載gitlab
  4. 刪除gitlab文件
    卸載gitlab
    find / -name gitlab|xargs rm -rf 刪除全部包含gitlab的文件及目錄
    刪除gitlab-ctl uninstall時自動在root下備份的配置文件

經過以上幾步就能夠完全卸載gitlabide

卸載gitlab

相關文章
相關標籤/搜索