树莓派和GitLab [英] Raspberry Pi and GitLab

查看:272
本文介绍了树莓派和GitLab的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法让我运行GitLab( http://gitlab.org/gitlab-ce )和GitLab CI(在运行Raspbian的Raspberry Pi设备上 http://gitlab.org/gitlab-ci )?

Is there a way I can run GitLab (http://gitlab.org/gitlab-ce) and GitLab CI (http://gitlab.org/gitlab-ci) on a Raspberry Pi device running Raspbian?

我想拥有自己的内部Git框,可以存储代码并可能允许其他朋友访问以上载代码。是否有可能?

I want to have my own internal Git box where I can store code and possibly allow other friends access to upload their code too. Is it possible?

谢谢。

Thanks.

推荐答案

Pi 2



在Raspberry Pi 2上安装它非常简单。

Official way for the Pi 2

There is a very easy way to install it on the Raspberry Pi 2.

wget https://s3-eu-west-1.amazonaws.com/downloads-packages/raspberry-pi/gitlab_7.9.0-omnibus.pi-1_armhf.deb
sudo dpkg -i gitlab_7.9.0-omnibus.pi-1_armhf.deb

你可能更喜欢去官方页面以获取最新版本。它快速且简单,他们推荐至少1Gb交换。

You might prefer to go to the official page in order to get latest version. It's fast and easy, they recommend at least 1Gb swap.

在Pi B和B +上,您将很快达到内存限制并随着您的增长而降低性能,但在Pi 2上,它可以很好地工作,特别是如果您将回购站安装在外部USB硬盘上。

On the Pi B and B+ you will hit the memory limit very soon and get degraded performance as you grow, but on the Pi 2 it works nicely, specially if you mount your repos on an external USB hard disk.

这篇关于树莓派和GitLab的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆