CentOS7下安装GitLab

三步在CentOS7系统下,完成GitLab的安装.
1、安装和配置必须的依赖
[python] view plain copy
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 firewall-cmd –permanent –add-service=http
8. sudo systemctl reload firewalld
2、添加GitLab包服务,然后安装它
[python] view plain copy
1. curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
2. sudo yum install gitlab-ce

3、配置和启动GitLab
[python] view plain copy
1. sudo gitlab-ctl reconfigure
启动完成后,在浏览器访问你机器的IP地址,就可以弹出如下的页面:

然后,修改密码,注册用户,最后登录进去,弹出如下的欢迎界面:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值