GitLab简介: 一个非常流行的开源项目,支持自我托管,并且提供了丰富的功能集,包括CI/CD等。 GitLab 社区版是开源且免费的,允许用户自行下载并在本地服务器上安装。 官方网站:https://packages.gitlab.com/gitlab/gitlab-ce GitLab下载地址: https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el9/ https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/9/gitlab-ce-17.7.2-ce.0.el9.x86_64.rpm/download.rpm 上传安装包gitlab-ce-17.7.2-ce.0.el9.x86_64.rpm到服务器/opt目录 一、准备篇 1、操作系统:Rocky Linux-9.x Rocky Linux 9.x系统安装配置图解教程 https://www.osyunwei.com/archives/14859.html 2、禁用selinux #确认grubby软件包是否已经安装 rpm -q grubby #添加selinux=0到内核命令行 grubby --update-kernel ALL --args selinux=0 #重启系统 shutdown -r now #查看结果为Disabled getenforce 3、防火墙设置 gitlab的默认端口配置为80 我们这里使用iptables作为防火墙 3.1关闭firewall systemctl stop firewalld.service systemctl disable firewalld.service systemctl mask firewalld systemctl stop firewalld yum -y remove firewalld 3.2安装iptables防火墙,开启相应的端口 我们使用80端口 [...]
查看全文