diff --git a/git/install_gitlab.md b/git/install_gitlab.md index ec7bd88..4cc4348 100644 --- a/git/install_gitlab.md +++ b/git/install_gitlab.md @@ -7,7 +7,13 @@ ## install ``` bash $ sudo apt-get install curl openssh-server ca-certificates postfix + +$ curl -LJO https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/ubuntu/pool/trusty/main/g/gitlab-ce/gitlab-ce_9.2.2-ce.0_amd64.deb +$ dpkg -i gitlab-ce-XXX.deb + $ curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash $ sudo apt-get install gitlab-ce + + $ sudo gitlab-ctl reconfigure ``` \ No newline at end of file