ubuntu install gitlab

2016-06-27  本文已影响129人  小众臻品

GitLab includes Git repository management, code reviews, issue tracking, wikis, and more, plus GitLab CI, an easy-to-use continuous integration and deployment tool.

gitlab我们主要用来代码托管、code review。

sudo apt-get install curl openssh-server ca-certificates postfix
  1. Add the GitLab package server and install the package
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo apt-get install gitlab-ce

如果这一步无法完成,则去

https://packages.gitlab.com/gitlab/gitlab-ce

找到相应版本的安装包下载

curl -LJO https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/trusty/gitlab-ce-XXX.deb/download
dpkg -i gitlab-ce-XXX.deb
  1. Configure and start GitLab
sudo gitlab-ctl reconfigure
  1. Browse to the hostname and login
    初始化密码

https://about.gitlab.com/downloads/#ubuntu1404

上一篇 下一篇

猜你喜欢

热点阅读