首页 > 其他 > 详细

centos7安装gitlab

时间:2018-10-21 10:47:53      阅读:122      评论:0      收藏:0      [点我收藏+]
  • 安装依赖:
    yum  -y  install  curl  policycoreutils-python  openssh-server
    systemctl  enable  sshd
    systemctl  start  sshd
    yum  -y  install  postfix
    systemctl  enable  postfix
    systemctl  start  postfix
    firewall-cmd  --permanent  --add-service=http
    systemctl  reload  firewalld
  • 安装:
    curl  https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh  |  bash
    yum  -y  install  gitlab-ee
  • 启动:
    a. 加载配置:
    gitlab-ctl  reconfigure

    b. 启动:

    gitlab-ctl  start
  • 常用命令:
    a. 加载配置:
    gitlab-ctl  reconfigure

    b. 启动:

    gitlab-ctl  start

    c. 停止:

    gitlab-ctl  stop

    d. 重启:

    gitlab-ctl  restart

    e. 查看状态:

    gitlab-ctl  status
  • 修改密码并登录:
    访问:172.20.10.11
    用户名:root

    技术分享图片

  • centos7安装gitlab

    原文:http://blog.51cto.com/12173069/2306943

    (0)
    (0)
       
    举报
    评论 一句话评论(0
    关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
    © 2014 bubuko.com 版权所有
    打开技术之扣,分享程序人生!