Gitlab部署及基础配置
Gitlab安装 基础包安装 yum install -y curl policycoreutils-python openssh-server systemctl enable sshd systemctl start sshd firewall-cmd --permanent --add-service=http systemctl reload firewalld 安装 postfix yum install postfix systemctl enable postfix systemctl start postfix 添加Gitlab包的yum库 curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash 安装gitlab EXTERNAL_URL="https://gitlab.example.com" yum install -y gitlab-ce vi /etc/gitlab/gitlab.rb 修改 EXTERNAL_URL=“http://IP:port” 汉化 下载最新汉化包 git clone https://gitlab.com/xhang/gitlab.git 下载指定版本汉化包 git clone https:/