ubuntu 卸载 gitlab

来源:互联网 发布:淘宝店铺消保怎么交 编辑:程序博客网 时间:2024/06/06 12:21

卸载方法:执行下面三条命令,后重启系统
# Stop gitlab and remove its supervision processsudo gitlab-ctl uninstall# Debian/Ubuntusudo dpkg -r gitlab-ce# Redhat/Centossudo rpm -e gitlab-ce
gitlab其他命令了解
gitlab-ctl 命令帮助

gitlab-ctl help

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[root@ithomer ~]# gitlab-ctl help
/opt/gitlab/embedded/bin/omnibus-ctl:command(subcommand)
cleanse
  Delete *all* gitlab data, and start from scratch.
deploy-page
  Put up the deploy page
graceful-kill
  Attempt a graceful stop, thenSIGKILL the entire process group.
help
  Print this help message.
hup
  Send the services a HUP.
int
  Send the services an INT.
kill
  Send the services a KILL.
once
  Start the services ifthey are down. Do not restart them ifthey stop.
reconfigure
  Reconfigure the application.
restart
  Stop the services ifthey are running, thenstart them again.
service-list
  List all the services (enabled services appear with a *.)
show-config
  Show the configuration that would be generated by reconfigure.
start
  Start services ifthey are down, and restart them ifthey stop.
status
  Show the status of all the services.
stop
  Stop the services, and donot restart them.
tail
  Watch the service logs of all enabled services.
term
  Send the services a TERM.
uninstall
  Kill all processes and uninstall the process supervisor (data will be preserved).

 


0 0
原创粉丝点击