「GitLab」:修訂間差異
跳至導覽
跳至搜尋
第2行: | 第2行: | ||
== 安裝 == | == 安裝 == | ||
<syntaxhighlight lang="bash"> | |||
sudo apt install -y ca-certificates curl openssh-server postfix | |||
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash | |||
</syntaxhighlight> | |||
== 移除 == | == 移除 == |
於 2019年12月10日 (二) 08:58 的修訂
GitLab是一套軟體。
安裝
sudo apt install -y ca-certificates curl openssh-server postfix
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
移除
移除需要多個步驟[1]:
sudo gitlab-ctl uninstall
sudo gitlab-ctl cleanse
sudo gitlab-ctl remove-accounts
sudo apt purge gitlab-ce
sudo rm -rf /etc/gitlab /opt/gitlab /var/log/gitlab /var/opt/gitlab
參考資料
- ↑ Is it fine to remove the /opt/gitlab/ directory manually after removing the gitlab package from the system?. 2016-09-14 [2019-12-10].
外部連結
- 官方網站 (英文)