美文网首页
Ubuntu 16.04 安装 GitLab

Ubuntu 16.04 安装 GitLab

作者: 勤劳的小仓鼠 | 来源:发表于2018-11-12 17:49 被阅读0次

在线安装参考:https://about.gitlab.com/installation/#ubuntu

1.安装openssl

     sudo apt-get update

     sudo apt-get install -y curl openssh-server ca-certificates 

2. 安装 postfix

     sudo apt-get install -y postfix

3. 获取gitlab 安装信息

     curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash

4. 安装 gitlab

     sudo EXTERNAL_URL="http://gitlab.example.com" apt-get install gitlab-ee

5. 初始化 gitlab

     sudo gitlab-ctl reconfigure

离线安装包下载地址:https://packages.gitlab.com/gitlab/gitlab-ee/packages/ubuntu/xenial/gitlab-ee_10.3.0-ee.0_amd64.deb

使用 gitlab : http://blog.csdn.net/xiangzhihong8/article/details/52098015

常见问题 :

     如何配置 gitlab 域名 :

         vim  /etc/gitlab/gitlab.rb

         编辑:external_url '你的网址'

         例如:external_url 'http://192.168.0.209'

         编辑完成后,再sudo gitlab-ctl reconfigure一下,使配置生效

相关文章

网友评论

      本文标题:Ubuntu 16.04 安装 GitLab

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