树莓派4B上安装Gitlab

参考连接:

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

gitlab reconfigure 卡住 ruby_block[wait 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_block[wait for redis service socket] action run_芹菜学长的博客-CSDN博客

但是实际我只执行了

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

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

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

相关推荐
晨旭缘21 小时前
GitLab CICD 中 K8s 部署:BOM 头与 YAML 格式全解
容器·kubernetes·gitlab
鳄鱼杆2 天前
服务器 | 2026年Ubuntu 24.04下GitLab Docker 企业级部署
服务器·ubuntu·gitlab
FreeBuf_3 天前
黑客滥用 GitHub 和 GitLab 托管恶意软件并实施凭证钓鱼攻击
gitlab·github
有理想的打工人6 天前
gitlab的参数设置与团队管理
gitlab
有理想的打工人6 天前
gitlab群组管理与ssh链接
ssh·gitlab
M-Ellen6 天前
从零搭建 Windows + WSL2 + Docker + GitLab CI/CD 完整手册
ci/cd·docker·gitlab
大脸胖柴6 天前
webStorm+gitLab操作学习
学习·gitlab·webstorm
jekc8688 天前
Ubuntu-GitLab
服务器·ubuntu·gitlab
在路上走着走着9 天前
openclaw v2026.4.5 版本 提示 pairing required 解决方案
gitlab
Gazer_S13 天前
【GitLab npm Registry 非标准端口安装问题解决方案】
前端·npm·gitlab