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

    一:硬性要求:

    内存:4GB

    存储:100GB

    系统:centos7.4

    二:环境配置

    1.selinux值为disabled

    sed -i 's#SELINUX=enforcing#SELINUX=disabled#' /etc/sysconfig/selinux

    2.防火墙iptables -F清空策略

    三:安装需要的组件

    yum  install   -y  curl  openssh-server  openssh-clients  git   cronie policycoreutils-python  patch

    四:防火墙开放http

    firewall-cmd --add-service=http --permanent

    firewall-cmd --reload

    五:下载gitlab及安装

    下载地址为:https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/

    建议不要安装最新版

    rpm -i gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm

    出现下面这图,说明安装成功

    六:启动gitlab服务

    gitlab-ctl reconfigure   载入配置文件

    vim /etc/gitlab/gitlab.rb     修改配置文件

    external_url='http://192.168.43.135'(ip地址)

    gitlab-ctl reconfigure     重启载入配置文件

    gitlab-ctl restart        启动服务

    七:效果

    打开浏览器输入ip即可看到gitlab界面

  • 相关阅读:
    树的前序 中序 后序遍历
    算法入门经典-第四章 例题4-3 救济金发放
    算法入门经典-第五章 例题6-10 下落的树叶
    排序(三) 选择排序

    printf格式输出总结
    并查集
    异或的应用
    ActionContext详解
    ActionContext表格总结
  • 原文地址:https://www.cnblogs.com/ming369/p/10253202.html
Copyright © 2011-2022 走看看