• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
仓井非空
博客园    首页    新随笔    联系   管理    订阅  订阅

Gitlab构建分布式版本控制系统

一 安装依赖

1.sudo yum install curl policycoreutils openssh-server openssh-clients

2.sudo systemctl enable sshd

3.sudo systemctl start sshd

4.sudo yum install postfix

5.sudo systemctl enable postfix

6.sudo systemctl start postfix

7.sudo  systemctl stop firewalld

8.sudo systemctl disable firewalld

9.sudo  setenforce 0

二 安装gitlab包

1.curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash   添加gitlab yum源

2.sudo yum install gitlab-ce  安装gitlab

三 配置启动

  sudo gitlab-ctl reconfigure  自动配置数据库 

四 访问gitlab

 1.浏览器中输入ip

 

posted @ 2018-06-10 12:55  仓井非空  阅读(1053)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3