树莓派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。

相关推荐
不爱吃米饭_4 小时前
Gitea 轻量级的Git方案 - Gitlab的替代品
git·gitlab·gitea
嘻哈baby9 小时前
自建GitLab与CI/CD实战:团队协作完整方案
ci/cd·gitlab
秦时明月天明10 小时前
GitLab SSH Key 过期:git pull failed : remote your ssh key has expired
git·ssh·gitlab
极限实验室20 小时前
程序员爆哭!我们让 COCO AI 接管 GitLab 审查后,团队直接起飞:连 CTO 都说“这玩意儿比人靠谱多了
人工智能·gitlab
HIT_Weston2 天前
61、【Ubuntu】【Gitlab】拉出内网 Web 服务:Gitlab 配置审视(五)
前端·ubuntu·gitlab
HIT_Weston3 天前
60、【Ubuntu】【Gitlab】拉出内网 Web 服务:Gitlab 配置审视(四)
前端·ubuntu·gitlab
周杰伦_Jay3 天前
【GOFrame】模块化框架与生产级实践
开发语言·gitlab·github
丫丫学AI3 天前
gitlab-runner注册执行器
gitlab
yuguo.im3 天前
5 分钟快速入门 Gitlab CI/CD
ci/cd·gitlab·github
aoxiang_ywj4 天前
GitLab 子模块(子仓)更新到主仓的完整流程
gitlab