1下载安装包 可以选择版本
10.0.0-ce.0.el7版本
wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm
14.9.2-ce.0.el8版本
wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el8/gitlab-ce-14.9.2-ce.0.el8.x86_64.rpm
2解压安装
rpm -i gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm
[root@iZ2zeh local]# rpm -i gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm
警告:gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm: 头V4 RSA/SHA1 Signature, 密钥 ID f27eab47: NOKEY
It looks like GitLab has not been configured yet; skipping the upgrade script.
*. *.
*** ***
***** *****
.****** *******
*