基于ECS搭建GitLab服务
前提
最低内存要求:4GB
操作系统:CentOS7.8
安装GitLab
- 执行以下命令,使用官方脚本添加Yum源。
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | bash
- 执行以下命令,安装GitLab。
yum -y install gitlab-ee
- 行以下命令,初始化已经安装好的GitLab。
gitlab-ctl reconfigure
- 执行以下命令,启动GitLab。
gitlab-ctl start
CentOS7更换阿里yum源
上述安装慢,可以按下 面方法换阿里yum源。
CentOS7更换阿里yum源