在 Ubuntu 12.04 上安装 GitLab [英] Installing GitLab on Ubuntu 12.04
问题描述
我正在尝试在我的 Ubuntu 12.04 服务器上安装 GitLab.首先,我尝试安装此处提到的软件包 https://about.gitlab.com/downloads/但是当我开始重新配置时,进程在这一点停止:ruby_block[supervise_redis_sleep] action run"
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"
所以我尝试下载并编译她提到的源代码:http://blog.bobbyallen.me/2014/01/11/setup-your-own-private-github-server-使用-gitlab-and-ubuntu-server-12-04-lts/
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/
这里一切正常,直到我尝试在我的网络浏览器中访问该网站,我得到一个502GitLab 没有响应."错误.
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
为例)
(with config/unicorn.rb.example
as an example)
这篇关于在 Ubuntu 12.04 上安装 GitLab的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!