卸载方法
在/opt/gitlab*
中找不到uninstall
文件,无法通过该方法卸载gitlab
经过摸索,可通过以下方法彻底卸载gitlab
sudo gitlab-ctl stop
sudo gitlab-ctl uninstall
sudo gitlab-ctl cleanse
sudo rm -rf /opt/gitlab
可通过sudo gitlab-ctl help
来获取相关命令 sudo gitlab-ctl uninstall
,
关于其的说明是 Kill all processes and uninstall the process supervisor (data will be preserved).
但在实际操作中,只通过uninstall无法彻底卸载gitlab