gitlab部署

本文档详细介绍了在Linux CentOS系统上部署GitLab的步骤,包括关闭防火墙和SELinux,配置EPEL源,安装依赖包,启用邮箱服务,下载并安装GitLab RPM包,修改配置文件以及如何破解初始密码,最后通过Web界面进行访问。
摘要由CSDN通过智能技术生成

gitlab部署

  • 关闭防火墙和selinux
[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# systemctl disable firewalld
[root@localhost ~]# setenforce 0 
[root@localhost ~]# vi /etc/selinux/config
SELINUX=disabled
  • 配置epel源
[root@localhost ~]# yum -y install epel-release
  • 安装依赖包
[root@localhost ~]# yum -y install curl openssh-server openssh-clients postfix cronie git policycoreutils-python-utils
  • 开启邮箱服务
[root@localhost ~]# systemctl enable --now postfix
[root@localhost ~]# ss -antl 
State     Recv-Q    Send-Q       Local Address:Port         Peer Address:Port    Process    
LISTEN    0         128                0.0.0.0:22                0.0.0.0:*                  
LISTEN    0         100              127.0.0.1:25                0.0.0.0:*                  
LISTEN    0         128                   [::]:22                   [::]:*                  
LISTEN    0         100                  [::1]:25                   [::]:*   
  • 下载gitlab的rpm包
[root@localhost ~]# wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el8/gitlab-ce-14.3.2-ce.0.el8.x86_64.rpm
[root@localhost 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值