一、概念

1、概念

2、安装github

3、特点

4、类型与状态

二、安装

1、安装gitlab

(1)下载rpm包

       wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-13.4.1-ce.0.el7.x86_64.rpm

(2)安装

       rpm -ivh 

(3)配置

       vim etc/gitlab.rb   #配置站点地址

       gitlab-ctl reconfigure   #配置

(4)服务控制

       gitlab-ctl status

       gitlab-ctl start 

       gitlab-ctl stop

2、安装 gitlab-runner

(1)清华源:mirrors.tuna.tsinghua.edu.cn

       找到 gitlab-runner 安装地址,下载:wget 安装地址

       选择包地址:https://mirrors.tuna.tsinghua.edu.cn/gitlab-runner/yum/el7/

       wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-runner/yum/el7/gitlab-runner-13.4.1-1.x86_64.rpm

(2)安装:rpm -ivh gitlab-runner-12,9,0-1.x86_64.rpm

(3)启动:systemctl start gitlab-runner

(4)查看状态:systemctl status gitlab-runner

(5)测试命令:gitlab-runner -h

 

 

 

 

 

 

Logo

一站式 AI 云服务平台

更多推荐