Leif160519的blog Leif160519的blog

——————

目录
完全卸载GitLab
/  

完全卸载GitLab

本文摘自:https://blog.csdn.net/huhuhuemail/article/details/80519433

一、停止gitlab

sudo gitlab-ctl stop

二、卸载gitlab(这块注意了,看看是gitlab-ce版本还是gitlab-ee版本,别写错误了)

sudo rpm -e gitlab-ce

三、查看gitlab进程

ps -ef|grep gitlab

杀掉第一个守护进程(runsvdir -P /opt/gitlab/service log)

kill -9 4473

再次查看gitlab进程是否存在

四、删除gitlab文件

find / -name *gitlab*|xargs rm -rf  

删除所有包含gitlab的文件及目录

find / -name gitlab |xargs rm -rf 

删除gitlab-ctl uninstall时自动在root下备份的配置文件(ls /root/gitlab*看看有没有,有也删除)

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


“The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” – Tom Cargill

标  题完全卸载GitLab
作  者Leif160519
出  处https://github.icu/articles/2019/08/29/1567058106789.html
关于博主:坐标南京,运维工程师,如有问题探讨可以直接下方留言。
声援博主:如果您觉得文章对您有帮助,可以评论、订阅、收藏。您的鼓励是博主的最大动力!