树莓派4B上安装Gitlab

参考连接:

树莓派上使用 GitLab 搭建专业 Git 服务 | 树莓派实验室

gitlab reconfigure 卡住 ruby_blockwait for redis service socket action run_芹菜学长的博客-CSDN博客

以及用到了讯飞星火

系统版本信息

1.进入 giblab安装页面gitlab/gitlab-ce - Installation · packages.gitlab.com,有个 quick install

复制

curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash

到linux上执行,进行下载。

2.更新了软件包列表

sudo apt-getupdate

3.安装 GitLab 的扩展包(以安装 GitLab Community Edition 为例)

sudo apt-get install gitlab-ce

4.安装过程中,出现:

Cinc Client 2208 is running, will wait for it to finish and then run

解决:这句话的意思是 Cinc 客户端正在运行,进程 ID 为 2208,它将等待该进程完成然后运行。 所以用 kill -9 2208 杀掉这进程,就会继续安装了,因为我之前安装过gitlab所以才会有这个,第一次安装应该就没有这个了。

5.安装过程中,出现 ruby_block[wait for logrotate service socket] action run

在另外开启一个终端启动如下命令

sudo /opt/gitlab/embedded/bin/runsvdir-start

参照gitlab reconfigure 卡住 ruby_blockwait for redis service socket action run_芹菜学长的博客-CSDN博客

但是实际我只执行了

sudo /opt/gitlab/embedded/bin/runsvdir-start

就可以了。安装成功的页面如图:

安装成功后访问 http://xxxxxx:8072,xxxxxx就是树莓派的ip ifconfig可以查看ip。

相关推荐
2501_928996228 小时前
GitLab CVE-2026-19478漏洞解析:Gitaly ref攻击绕过审计与中科热备下的代码资产保护重构
重构·gitlab
秦渝兴9 小时前
GitLab CI/CD 流水线实战
ci/cd·gitlab
Ningcode_cloud2 天前
什么是CICD? GitLab + Jenkins 持续集成实战部署手册
运维·ci/cd·云原生·容器·gitlab·jenkins
姚永强2 天前
gitlab安装
运维·gitlab
力江3 天前
GitLab 私有化部署实战 —— 从 Omnibus 到 Docker 的踩坑之旅
docker·容器·gitlab
极小狐7 天前
从 GitLab Flow 到 Pipeline:分支策略 + CI/CD + 运维一文打通
ci/cd·gitlab·devops·极狐gitlab
猫头虎8 天前
GitHub 入门教程:如何加入并为开源项目贡献代码
gitee·开源·gitlab·github·开放原子·开源协议·gitcode
悠然南风9 天前
【云原生学习】Prometheus监控、GitLab与Jenkins部署实战
kubernetes·gitlab
极小狐11 天前
极狐GitLab Runner 自托管安全加固指南
安全·ci/cd·gitlab·devops·runner·安全加固