大体步骤4步
1.购买阿里云服务器centos 7.6
2.在服务器上安装gitlab-ce
3.在服务器上安装gitlab-runner
4.在gitlab创建一个项目,拉到本地修改后再提交,触发自动部署
视频教程
看不懂文章的,可以看这个视频,超详细
gitlab-cicd-保姆式讲解从零到一搭建部署流程_哔哩哔哩_bilibili
1.购买服务器,自己去买哈
不懂买的,可以看上面视频,教你如何买。记得买centos 7.6的服务器
2.在服务器上安装gitlab-ce
1.相关环境、依赖安装
yum -y install policycoreutils openssh-server openssh-clients postfix
yum install policycoreutils-python
systemctl enable sshd && sudo systemctl start sshd
systemctl enable postfix && systemctl start postfix
2.关闭防火墙或者防火墙增加白名单
systemctl stop firewalld.service
3.下载软件
wget --content-disposition https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-15.2.2-ce.0.el7.x86_64.rpm/download.rpm
4.开始安装
yum install -y

最低0.47元/天 解锁文章
2万+

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



