当前位置:   article > 正文

yum 安装GitLab_yum gitlab-ce-16.0.1-ce.0.el8.x86_64

yum gitlab-ce-16.0.1-ce.0.el8.x86_64

用户名 : root 密码 :********

1、安装ssh :yum install -y curl policycoreutils-pythonopenssh-server
在这里插入图片描述
2、将SSH服务设置成开机自启动,安装命令: systemctl enable sshd
在这里插入图片描述
3、启动ssh systemctl start sshd

4、添加http服务到firewalld,pemmanent表示永久生效,若不加–permanent系统下次启动后就会失效。
firewall-cmd --permanent --add-service=http
在这里插入图片描述
5、重启防火墙 systemctl reload firewalld

6、安装postfix 发送邮件通知 yum install postfix 并设置自动启动

7、启动postfix systemctl start postfix
启动过程中可能 报错

在这里插入图片描述

解决方式: vim /etc/postfix/main.cf
然后重复步骤4,5 然后在启动

8、下载gitlab wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm
在这里插入图片描述

9、安装依赖软件
yum install policycoreutils-python

在这里插入图片描述
10、安装gitlab rpm -i gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm
在这里插入图片描述

11、使gitlab配置文件生效 gitlab-ctl reconfigure

12、启动gitlab gitlab-ctl start

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/208062
推荐阅读
相关标签
  

闽ICP备14008679号