GitLab代码仓库构建
GitLab代码托管仓库最近火,原因是它是DevOps中中要的一环,与Git相比, 除了涵盖Git所有功能, 同时又提供方便的后台管理, 非常适合企业使用, 下面简单介绍下GitLab的搭建, 当然, 官方文档有提供相应的方法, 但实际操作过程中, 并没有那么顺利.
安装依赖
yum install -y curl policycoreutils openssh-server openssh-clients
systemctl start sshd # sshd服务默认是启动的,我们再启动一下以防万一
systemctl enable sshd
这里默认关闭了防火墙规则
下载安装GitLab
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
yum install -y gitlab-ce
最低0.47元/天 解锁文章
1432

被折叠的 条评论
为什么被折叠?



