美文网首页
ubuntu install gitlab

ubuntu install gitlab

作者: 小众臻品 | 来源:发表于2016-06-27 10:09 被阅读129次
  • 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

      本文链接:https://www.haomeiwen.com/subject/jeszdttx.html