搭建gitLab

系统环境:
CentOS 7.6
防火墙 关闭
selinux 关闭
安装和配置必要的依赖关系
yum install -y curl policycoreutils-python openssh-server
systemctl enable sshd 开机自启动sshd
systemctl start sshd 开启sshd
安装邮箱服务
yum install postfix
systemctl enable postfix
systemctl start postfix
下载GitLab 官方yum源
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash
或者
https://quqi.gblhgk.com/s/807291/59xQgmwHrMG7xs10
更新yum库
yum makecache
安装GitLab
yum install -y gitlab-ee
如果按照GitLab出现

 gitlab-ee-13.4.3-ee.0.el7.x86_64: [Errno 256] No more mirrors to try.

解决方式:
1、yum clean all
2、yum makecache
3.完了也可以再给yum来个升级【可选】。
yum -y update
安装好之后会出现《GitLab标致》代表安装成功
自动配置所需的网站程序和数据库程序(过程耗时稍长)
gitlab-ctl reconfigure
打开PC浏览器 输入其服务器的IP进去Git html页面
点击"寄存器"按钮 注册一个用户,然后登陆

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值