在Ubuntu 12.04上安装GitLab [英] Installing GitLab on Ubuntu 12.04
问题描述
我正在尝试在Ubuntu 12.04服务器上安装GitLab. 首先,我尝试按此处所述安装软件包 https://about.gitlab.com/downloads/ 但是,当我开始重新配置时,该过程就此停止:"ruby_block [supervise_redis_sleep]操作运行"
I'm trying to Install GitLab on my Ubuntu 12.04 Server. First I tried to install the package as mentioned here https://about.gitlab.com/downloads/ But when I start the reconfigure the process stops at this point: "ruby_block[supervise_redis_sleep] action run"
So I tried to download and compile the source as mentioned her: http://blog.bobbyallen.me/2014/01/11/setup-your-own-private-github-server-using-gitlab-and-ubuntu-server-12-04-lts/
在这里一切正常,直到我尝试在我的Web浏览器中访问该站点,然后得到"502" GitLab没有响应."错误.
Here everything works fine, till I try to access the site in my webbrowser, where I get a "502 GitLab is not responding." error.
有人在这里为我解决吗?
Has someone here an solution for me?
推荐答案
在这种情况下,可以将502错误链接到独角兽.参见:
In this case, a 502 error can be linked to unicorn. See:
第一次启动似乎很慢,因此请将独角兽的超时时间增加到更大的值,例如200.(或购买更快的硬件)
First start seems slow so increase the unicorn timeout to something larger, say 200. (Or buy faster hardware)
vim config/unicorn.rb
sudo /etc/init.d/gitlab restart
(以 config/unicorn.rb.example
为例)
这篇关于在Ubuntu 12.04上安装GitLab的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!