下载安装包
wget --content-disposition https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/8/gitlab-ce-15.0.2-ce.0.el8.x86_64.rpm/download.rpm
安装gitlab
rpm -Uvh gitlab-ce-15.0.2-ce.0.el8.x86_64.rpm
更新配置
gitlab-ctl reconfigure
防火墙允许http访问
firewall-cmd --permanent --add-service=http
systemctl restart firewalld
查看root密码
cat /etc/gitlab/initial_root_password
直接访问ip地址即可打开页面