GitLab构建公司内部私服项目

系统环境:
CentOS 7.6
防火墙 关闭
selinux 关闭

官网地址:
https://about.gitlab.com/install/#centos7

下载rpm包 【可以忽略,本人推荐用的是yum安装】:
wget --content-disposition https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-12.1.3-ce.0.el7.x86_64.rpm/download.rpm

安装和配置必要的依赖关系
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构建公司内部私服项目

自动配置所需的网站程序和数据库程序(过程耗时稍长)
gitlab-ctl reconfigure

打开PC浏览器 输入其服务器的IP进去Git html页面
点击"寄存器"按钮 注册一个用户,然后登陆

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值