美文网首页
Ubuntu16.04.4 install gitlab 国内镜

Ubuntu16.04.4 install gitlab 国内镜

作者: just_a_name | 来源:发表于2018-05-29 10:15 被阅读0次

    Gitlab CE

    1. curl https://packages.gitlab.com/gpg.key 2> /dev/null | sudo apt-key add - &>/dev/null
    2. add below to file /etc/apt/sources.list.d/gitlab-ce.list
      deb https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/ubuntu xenial main
    3. sudo apt-get update
      sudo apt-get install EXTERNAL_URL="http://ip or hostname" gitlab-ce

    Gitlab CI Multi Runner

    1. curl https://packages.gitlab.com/gpg.key 2> /dev/null | sudo apt-key add - &>/dev/null
    2. add below to file /etc/apt/sources.list.d/gitlab-ce.list
      deb https://mirrors.tuna.tsinghua.edu.cn/gitlab-ci-multi-runner/ubuntu xenial main
    3. sudo apt-get update
    4. sudo apt-get install gitlab-ci-multi-runner

    Gitlab Runner

    1. curl https://packages.gitlab.com/gpg.key 2> /dev/null | sudo apt-key add - &>/dev/null
    2. add below to file /etc/apt/sources.list.d/gitlab-ce.list
      deb https://mirrors.tuna.tsinghua.edu.cn/gitlab-runner/ubuntu xenial main
    3. sudo apt-get update
    4. sudo apt-get install gitlab-runner

    相关文章

      网友评论

          本文标题:Ubuntu16.04.4 install gitlab 国内镜

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