首页 > 其他 > 详细

centos8 安装 gitlab

时间:2021-02-25 11:32:12      阅读:25      评论:0      收藏:0      [点我收藏+]

安装依赖

yum install -y curl policycoreutils-python-utils openssh-server

启用ssh

systemctl enable sshd
systemctl start sshd

添加http服务到firewalld

systemctl start firewalld
firewall-cmd --permanent --add-service=http
systemctl reload firewalld

开启 postfix

systemctl enable postfix
systemctl start postfix

下载安装包

https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el8/gitlab-ce-13.9.1-ce.0.el8.x86_64.rpm

安装

rpm -i gitlab-ce-13.9.1-ce.0.el8.x86_64.rpm

修改IP和端口

vim /etc/gitlab/gitlab.rb

技术分享图片

 让配置生效并重启

gitlab-ctl reconfigure
gitlab-ctl restart

 

参考:https://www.cnblogs.com/stronger-xsw/p/12802069.html

centos8 安装 gitlab

原文:https://www.cnblogs.com/lishidefengchen/p/14445549.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!