gitla

该博客详细介绍了如何在CentOS操作系统上下载并安装GitLab。首先,通过curl命令从官方源下载GitLab的rpm包,然后根据系统版本(CentOS 6或7)安装必要的依赖,包括curl、openssh、postfix等,并配置postfix服务。接着,使用rpm命令安装GitLab,最后运行'gitlab-ctl reconfigure'进行配置,并通过'gitlab-ctl status'检查安装状态。完成后,可以通过HTTP访问GitLab,使用默认用户名'root'和密码'5iveL!fe'登录。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

下载安装_极狐GitLab - 极狐GitLab 官方网站

gitlab/gitlab-ce - Packages · packages.gitlab.com

下载 gitlab

curl -O https://downloads-packages.s3.amazonaws.com/centos-6.6/gitlab-ce-7.10.0~omnibus.2-1.x86_64.rpm

#curl -LjO https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/6/gitlab-ce-8.6.9-ce.3.el6.x86_64.rpm/download

安装依赖

centos6

sudo yum install curl openssh-server openssh-clients postfix cronie

sudo service postfix start

sudo chkconfig postfix on

sudo lokkit -s http -s ssh

centos7

sudo yum install curl policycoreutils openssh-server openssh-clients

sudo systemctl enable sshd

sudo systemctl start sshd

sudo yum install postfix

sudo systemctl enable postfix

sudo systemctl start postfix

sudo firewall-cmd --permanent --add-service=http

sudo systemctl reload firewalld

安装gitlab

rpm -ivh gitlab-ce-8.9.5-ce.0.el7.x86_64.rpm

gitlab-ctl reconfigure

gitlab-ctl status

http://{{ip}}

默认用户

root

5iveL!fe

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值