安装配置
安装依赖
yum install curl policycoreutils-python openssh-server perl postfix wget -y# Enable OpenSSH server daemon if not enabled: sudo systemctl status sshd
sudo systemctl enable sshd
sudo systemctl start sshd
# Check if opening the firewall is needed with: sudo systemctl status firewalld
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --permanent --add-service=https
sudo systemctl reload firewalld安装 gitlab-ce
官方 yum 源方式安装
# 安装官方 yum 源
curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
# 安装 gitlab-ce
yum install gitlab-ce -yrpm 包方式安装
配置 gitlab
修改 /etc/gitlab/gitlab.rb
重新加载配置文件
测试控制台
常用命令
启停
查看日志
软件组件目录
默认账号密码
Last updated