手机端网站开发 免费,做rap的网站,嘉兴网站制作策划,wordpress修改底部版权Debian Linux完全卸载gitlab-ce
在Debian上本地安装了gitlab-ce#xff0c;维护起来比较麻烦#xff0c;而且占用了80和443端口
后面想改用docker#xff0c;就想完全卸载gitlab-ce
卸载服务
sudo gitlab-ctl uninstall清理所有产生的数据#xff0c;会提示等待60秒维护起来比较麻烦而且占用了80和443端口
后面想改用docker就想完全卸载gitlab-ce
卸载服务
sudo gitlab-ctl uninstall清理所有产生的数据会提示等待60秒如果想反悔可以按CtrlC
sudo gitlab-ctl cleanse需要等待60秒 ******************************************************************** * * * * * * * * * * STOP AND READ * * * * * * * * * ********************************************************************This command will delete *all* local configuration, log, andvariable data associated with gitlab.You have 60 seconds to hit CTRL-C before configuration,logs, and local data for this application are permanentlydeleted.*******************************************************************移除所有账户
sudo gitlab-ctl remove-accounts卸载软件
sudo apt purge gitlab-ce会提示如下警告
dpkg: 警告: 卸载 gitlab-ce 时目录 /opt/gitlab/sv 非空因而不会删除该目录
dpkg: 警告: 卸载 gitlab-ce 时目录 /opt/gitlab/init 非空因而不会删除该目录
dpkg: 警告: 卸载 gitlab-ce 时目录 /opt/gitlab/etc 非空因而不会删除该目录
dpkg: 警告: 卸载 gitlab-ce 时目录 /opt/gitlab/embedded/ssl/certs 非空因而不会删除该目录
dpkg: 警告: 卸载 gitlab-ce 时目录 /opt/gitlab/embedded/service/gitlab-shell 非空因而不会删除该目录
dpkg: 警告: 卸载 gitlab-ce 时目录 /opt/gitlab/embedded/service/gitlab-rails/public 非空因而不会删除该目录
dpkg: 警告: 卸载 gitlab-ce 时目录 /opt/gitlab/embedded/service/gitlab-rails/config 非空因而不会删除该目录
dpkg: 警告: 卸载 gitlab-ce 时目录 /opt/gitlab/embedded/cookbooks 非空因而不会删除该目录
dpkg: 警告: 卸载 gitlab-ce 时目录 /opt/gitlab/embedded/bin 非空因而不会删除该目录手动删除/opt/gitlab如果提示权限不足记得su切换到root用户这个目录保存着gitlab的主要数据
su
cd /opt
rm -fr gitlab检查/var/opt/gitlab这个目录保存着gitlab的配置如果有就删掉
检查/etc/gitlab这个目录保存gitlab服务信息
检查/var/log/gitlab这个目录保存日志文件
上面这些目录如果有就删掉没有就无所谓