安装gitlab

安装并启动

yum install -y curl policycoreutils-python openssh-server
systemctl enable sshd
systemctl start sshd
firewall-cmd --permanent --add-service=http
systemctl reload firewalld
yum install postfix -y
systemctl enable postfix
systemctl start postfix
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash
yum install -y gitlab-ee
gitlab-ctl reconfigure

gitlab命令

停止

gitlab-ctl stop

重载配置

gitlab-ctl reconfigure

启动

gitlab-ctl start

备份命令

gitlab-rake gitlab:backup:create
最后修改:2022 年 10 月 31 日
如果觉得我的文章对你有用,请随意赞赏