meikkiie 发表于 2019-2-15 16:41:51

centos7 gitlab安装、配置

  系统版本
  # cat /etc/redhat-release
  CentOS Linux release 7.4.1708 (Core)
  关闭防火墙
  # systemctl stop firewalld.service
  # systemctl disable firewalld.service
  安装依赖组件
  # yum install -y policycoreutils-python
  下载软件包,如果内网服务器可以先下载再上传到服务器
  # wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.5.0-ce.0.el7.x86_64.rpm
  安装gitlab
  # rpm -i gitlab-ce-10.5.0-ce.0.el7.x86_64.rpm
  修改配置
  # vi /etc/gitlab/gitlab.rb
  external_url 'http://192.168.42.137'
  使配置生效
  # gitlab-ctl reconfigure
  浏览器打开链接重置登陆密码
  http://192.168.42.137



页: [1]
查看完整版本: centos7 gitlab安装、配置