美文网首页
一键安装gitlab

一键安装gitlab

作者: sknfie | 来源:发表于2021-05-07 14:02 被阅读0次

    概述

    GitLab是一个利用Ruby on Rails开发的开源应用程序,实现一个自托管的Git项目仓库,可通过Web界面进行访问公开的或者私人项目。

    1 .安装配置依赖项

    yum install -y curl policycoreutils-python openssh-server perl 
    systemctl enable sshd
    systemctl start sshd
    firewall-cmd --permanent --add-service=http 
    firewall-cmd --permanent --add-service=https 
    systemctl reload firewalld
    

    2 .安装一个邮件系统用来发送邮件

    yum install postfix 
    systemctl enable postfix 
    systemctl start postfix
    

    3 .添加GitLab仓库,并安装到服务器上

    curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash
    EXTERNAL_URL="http://www.gitx.com" yum install -y gitlab-ee
    

    相关文章

      网友评论

          本文标题:一键安装gitlab

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