环境检查是否已经安装了gitlab,安装了需要卸载
# 检查当前环境是否已经安装了gitlab,并且查看版本
gitlab-rails console
# 删除命令
yum remove git

# 查找命令
rpm -qa | grep gitlab
# 删除命令
rpm -e gitlab-ce-12.10.1-ce.0.el8.x86_64
# 查找命令
find / -name git
# 删除命令 (find / -name git 检查出来的路径要逐一删除a b c d e各代表一个路径)
rm -rf a b c d e
