如何安装gitlab私有仓库

 时间:2026-04-21 17:23:01

1、可以去清华仓库下载gitlab

我选择了gitlab-ce-8.9.5-ce.0.el7.x86_64.rpm来安装

如何安装gitlab私有仓库

如何安装gitlab私有仓库

2、安装必要的组建

yum install curl policycoreutils openssh-server openssh-clients postfix -y

systemctl start postfix

如何安装gitlab私有仓库

3、开始安装gitlab

[root@gitlab tools]# yum install gitlab-ce-8.9.5-ce.0.el7.x86_64.rpm  -y

如何安装gitlab私有仓库

4、修改配置文件

[root@gitlab tools]# vim /etc/gitlab/gitlab.rb 

如何安装gitlab私有仓库

如何安装gitlab私有仓库

如何安装gitlab私有仓库

5、重新执行配置使其生效

gitlab-ctl reconfigure

如何安装gitlab私有仓库

6、查看状态

gitlab-ctl status

如何安装gitlab私有仓库

7、打开浏览器访问

如何安装gitlab私有仓库

8、第一次登陆gitlab,需要为root用户修改密码,root也是gitlab的超级管理员

  • 如何让电脑系统自动校时?
  • JS生成UUID 前端UUID
  • 网页如何防篡改
  • Acdsee怎么制作PDF文件
  • Windows server 2008 R2设置DHCP中继代理程序
  • 热门搜索
    益生菌怎么吃 泡椒鸡爪怎么做 惠普电脑怎么进入bios 怎么做葱油饼 怎么查话费余额 只有纯牛奶怎么做奶油 gta5怎么设置中文 拉肚子带血怎么回事 马牌轮胎怎么样 德胜门中医院怎么样