一、查找Gitlab软件包
[root@staging ~]# rpm -qa |grep gitlab
gitlab-ce-13.0.3-ce.0.el7.x86_64
二、卸载Gitlab
[root@staging ~]# yum -y remove gitlab-ce-13.0.3-ce.0.el7.x86_64
三、清理数据目录
[root@staging ~]# rm -rf /etc/gitlab
[root@staging ~]# rm -rf /var/log/gitlab
[root@staging ~]# rm -rf /var/opt/gitlab
[root@staging ~]# rm -rf /opt/gitlab