curl https://packages.gitlab.com/gpg.key 2> /dev/null | sudo apt-key add - &>/dev/null
添加gitlab-ce.list
vi /etc/apt/sources.list.d/gitlab-ce.list deb https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/ubuntu xenial main
安装gitlab
sudo apt-get update sudo apt-get install gitlab-ce root@ganl-ubuntu:/home/ganl# dpkg -l|grep gitlab ii gitlab-ce 8.10.7-ce.0 amd64 GitLab Community Edition and GitLab CI (including NGINX, Postgres, Redis) root@ganl-ubuntu:/home/ganl#
配置gitlab
gitlab-ctl reconfigure
访问gitlab,要求修改密码:
可以使用了
邮箱设置:Ubuntu12.04安装gitlab社区版(Install a GitLab CE Omnibus package on ubuntu12.04)
未经允许不得转载:ganlei的个人博客 » Ubuntu 16.04.1 安装gitlab 8.10.7-ce.0