zoukankan      html  css  js  c++  java
  • Centos 8 安装 gitlab13

    1、环境和安装包准备

      系统:CentOS-8.2.2004-x86_64-minimal.iso ,安装的是最小化标准版 且 /etc/selinux/config 配置已禁用
      下载 gitlab:wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el8/gitlab-ce-13.3.0-ce.1.el8.x86_64.rpm
      当前用户:root

    2、先安装依赖,设置邮件服务自启动,再安装gitlab

      yum install policycoreutils-python-utils postfix

      systemctl enable postfix

      systemctl start postfix

      rpm -ivh gitlab-ce-13.3.0-ce.1.el8.x86_64.rpm

    3、配置gitlab13

      编辑 /etc/gitlab/gitlab.rb 找到 external_url 'http://xxxxxxxx' 改成自己的地址 external_url 'http://192.168.3.9:8989'

      添加防火墙端口

      firewall-cmd --add-port=8989/tcp --permanent

      firewall-cmd --reload

      重新读取配置,重启服务

      gitlab-ctl reconfigure

      gitlab-ctl restart

  • 相关阅读:
    phpcms页面替换
    phpcms笔记
    php头像上传预览
    phpcms后台管理
    php写流程管理
    php写留言板
    php人员权限管理(RBAC)
    单例模式
    Effective C++笔记——day01
    C++Primer笔记-----day08
  • 原文地址:https://www.cnblogs.com/dawnlz/p/13549734.html
Copyright © 2011-2022 走看看