GitLab:修订间差异
跳到导航
跳到搜索
此页面具有访问限制。如果您看见此消息,则说明您没有权限访问此页面。
(→安裝) |
(→首段) |
||
第1行: | 第1行: | ||
'''GitLab'''是一套軟體。 | '''GitLab'''是一套 以[[Git]]為中心而發展出來的 軟體。 | ||
== 安裝 == | == 安裝 == |
2019年12月10日 (二) 09:00的版本
GitLab是一套以Git为中心而发展出来的软件。
安装
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
sudo EXTERNAL_URL="https://gitlab.example.com" apt-get install gitlab-ce
移除
移除需要多个步骤[2]:
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
参考资料
- ↑ GitLab Installation. [2019-12-10].
- ↑ Is it fine to remove the /opt/gitlab/ directory manually after removing the gitlab package from the system?. 2016-09-14 [2019-12-10].
外部链接
- 官方网站 (英文)