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

相关推荐
想你依然心痛4 小时前
持续集成在嵌入式开发中的实践:GitLab CI与交叉编译——自动化构建、固件生成
ci/cd·自动化·gitlab
Sean‘1 天前
GitLab 升级后 502:Puma 反复重启问题处理记录
docker·gateway·gitlab
NexTunnel1 天前
告别传统组网,也能安全访问公司 GitLab / SVN
安全·svn·gitlab
霸道流氓气质18 天前
GitLab CI/CD 完全指南
linux·ci/cd·gitlab
sbjdhjd18 天前
从零搭建企业级 CI/CD(下):Jenkins+GitLab+Harbor 全链路实战指南
git·servlet·ci/cd·云原生·云计算·gitlab·jenkins
用什么都重名19 天前
Git 合并两个无共同历史的分支:从报错到解决全记录
git·gitlab
master33619 天前
GitLab (Docker) 常用命令及解决方案清单
docker·容器·gitlab
qq_3564086619 天前
GitLab 单机私有化部署文档(基于 Docker 环境)
docker·gitlab
lisanmengmeng21 天前
gitlab 免密配置
linux·服务器·gitlab
求知若渴,虚心若愚。21 天前
Jenkins 自动化流水线(CICD)
运维·自动化·gitlab