ubuntu install gitlab

  • gitlab是什么?

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。

  • ubuntu如何安装gitlab
    1. Install and configure the necessary dependencies
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

你可能感兴趣的:(ubuntu install gitlab)