36
37

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

GitLabのアンインストール

Posted at

概要

GitLab を CentOS 6.7 に yum でインストールしていたのですが、最終的にアンインストールすることになったため手順をメモしておきます。

サービスを停止

$ sudo gitlab-ctl stop unicorn
$ sudo gitlab-ctl stop sidekiq
$ sudo gitlab-ctl stop nginx

GitLabのアンインストールとゴミファイルの削除

$ sudo yum remove gitlab-ce

$ sudo rm -rf /opt/gitlab
$ sudo rm -rf /var/opt/gitlab
$ sudo rm -rf /etc/gitlab
$ sudo rm -rf /var/log/gitlab

$ sudo rm -f /etc/yum.repos.d/gitlab_gitlab-ce.repo

$ sudo userdel gitlab-www
$ sudo userdel git
36
37
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
36
37

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?