1.官网
2.安装和配置必须的依赖项
sudo yum install -y curl policycoreutils-python openssh-server perl
sudo systemctl enable sshd
sudo systemctl start sshd
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --permanent --add-service=https
sudo systemctl reload firewalld
3.下载/安装极狐GitLab
3.1查看内核版本
uname -a
Linux localhost.localdomain 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
下载
https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-16.6.1-ce.0.el7.x86_64.rpm
4.安装
rpm -ivh gitlab-ce-16.6.1-ce.0.el7.x86_64.rpm
5.配置
vi /etc/gitlab/gitlab.rb file
6.重启
gitlab-ctl reconfigure
7.访问
http://192.168.30.133:82/users/sign_in
用户名:root
密码:cat /etc/gitlab/initial_root_password
8.创建用户
http://192.168.30.133:82/admin