zoukankan      html  css  js  c++  java
  • gitlab的安装

    gitlab的安装

    一.安装依赖的安装包
    yum install curl policycoreutils openssh-server openssh-clients
    systemctl enable sshd
    systemctl start sshd
    yum install postfix
    systemctl enable postfix
    systemctl start postfix
    firewall-cmd --permanent --add-service=http
    systemctl reload firewalld


    二安装gitlab文件
    [root@7mini-node1 ~]# rpm -ivh gitlab-ce-8.9.11-ce.0.el7.x86_64.rpm

    三.配置配置文件
    [root@7mini-node1 ~]# vim /etc/gitlab/gitlab.rb
    external_url 'http://10.0.0.12' #修改访问地址,揉过映射过域名,可写域名。


    四.执行自动化配置安装文件,并读取配置文件
    [root@7mini-node1 ~]# gitlab-ctl reconfigure

  • 相关阅读:
    JAVA学习25天
    Java学习第24天
    Java学习第23天
    Java学习22天
    第3周
    Java21
    day23作业
    day23
    Typecho使用技巧
    搭建Typecho博客
  • 原文地址:https://www.cnblogs.com/jimmy-xuli/p/8987248.html
Copyright © 2011-2022 走看看