linux 卸载 gitlab,完全卸载删除gitlab
2、卸载gitlab(注意这里写的是gitlab-ce)[root@localhost ~]# rpm -e gitlab-ce3、查看gitlab进程[root@localhost ~]# ps aux | grep gitlabroot 579 0.0 0.0 4332 436 ? Ss 15:44 0:00 runsvdir -P /opt/gitlab/service log: .....
2、卸载gitlab(注意这里写的是gitlab-ce)
[root@localhost ~]# rpm -e gitlab-ce
3、查看gitlab进程
[root@localhost ~]# ps aux | grep gitlab
root 579 0.0 0.0 4332 436 ? Ss 15:44 0:00 runsvdir -P /opt/gitlab/service log: ...........................................................................................................................................................................................................................................................................................................................................................................................................
root 586 0.0 0.0 4180 304 ? Ss 15:44 0:00 runsv gitlab-workhorse
root 591 0.0 0.0 4324 484 ? S 15:44 0:00 svlogd -tt /var/log/gitlab/redis
root 593 0.0 0.0 4324 496 ? S 15:44 0:00 svlogd -tt /var/log/gitlab/unicorn
root 599 0.0 0.0 4324 492 ? S 15:44 0:00 svlogd -tt /var/log/gitlab/postgresql
root 602 0.0 0.0 4324 292 ? S 15:44 0:00 svlogd -tt /var/log/gitlab/nginx
root 604 0.0 0.0 4324 528 ? S 15:44 0:00 svlogd -tt /var/log/gitlab/logrotate
root 606 0.0 0.0 4324 500 ? S 15:44 0:00 svlogd -tt /var/log/gitlab/sidekiq
root 608 0.0 0.0 4324 496 ? S 15:44 0:00 svlogd -tt /var/log/gitlab/gitlab-workhorse
root 1442 0.0 0.0 11628 1352 ? S+ 19:46 0:00 /bin/bash /usr/bin/gitlab-ctl reconfigure
root 1443 0.0 0.2 55728 8124 ? Sl+ 19:46 0:00 /opt/gitlab/embedded/bin/ruby /opt/gitlab/embedded/bin/omnibus-ctl gitlab /opt/gitlab/embedded/service/omnibus-ctl reconfigure
root 1446 0.0 1.3 228368 51876 ? Sl+ 19:46 0:02 /opt/gitlab/embedded/bin/ruby /opt/gitlab/embedded/bin/chef-client -z -c /opt/gitlab/embedded/cookbooks/solo.rb -j /opt/gitlab/embedded/cookbooks/dna.json
root 8883 0.0 0.0 112664 960 pts/0 S+ 21:30 0:00 grep --color=auto gitlab
root 32644 0.0 0.0 11628 1356 ? S+ 19:37 0:00 /bin/bash /usr/bin/gitlab-ctl reconfigure
root 32645 0.0 0.2 55668 8088 ? Sl+ 19:37 0:00 /opt/gitlab/embedded/bin/ruby /opt/gitlab/embedded/bin/omnibus-ctl gitlab /opt/gitlab/embedded/service/omnibus-ctl reconfigure
root 32648 0.0 1.3 228388 51988 ? Sl+ 19:37 0:02 /opt/gitlab/embedded/bin/ruby /opt/gitlab/embedded/bin/chef-client -z -c /opt/gitlab/embedded/cookbooks/solo.rb -j /opt/gitlab/embedded/cookbooks/dna.json
结束掉第一个进程
[root@localhost ~]# kill -9 579
杀掉后,在ps aux | grep gitlab确认一遍,还有没有gitlab的进程
5、删除所有包含gitlab文件
[root@localhost ~]# find / -name gitlab | xargs rm -rf
更多推荐
所有评论(0)