rpm -qa | grep gitlab
rpm -e gitlab
开始安装
sudo yum install -y curl policycoreutils-python openssh-server
sudo systemctl enable sshd
sudo systemctl start sshd
sudo firewall-cmd --permanent --add-service=http
sudo systemctl reload firewalld
sudo yum install postfix
sudo systemctl enable postfix
sudo systemctl start postfix
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash
sudo EXTERNAL_URL="https://gitlab.example.com" yum install -y gitlab-ee
vim /etc/gitlab/gitlab.rb
gitlab-ctl reconfigure
//重启gitlab
gitlab-ctl start或restart
- 打开页面
- 如出现502以下操作大致可用解决
cd /var/lib/rpm
//删除--db.01等等
rm -rf __db.*
rpm --rebuilddb