Gitlab已经安装了Apache,安装Ubuntu 12.04

我使用Ubuntu 12.04。 我有Apache,MySQL,Gitweb和Jenkins已经在那里运行,但想试试Gitlab。

我下载了软件包并按照https://about.gitlab.com/downloads/

当我访问我select的URL和端口(我有服务器的通配DNS)时,出现404错误。

我不知道如何使这项工作,因为谷歌只谈论从原始服务器的设置。 我从来没有处理Ruby或nginx之前,所以没有线索哪里甚至find他们的日志和configuration在一个正常的设置,而不是介意一个自定义的。

任何人有任何想法我甚至可以debugging呢? 我什至不能解决configuration文件,因为它都隐藏在deb(它不会卸载)。

下面我的/etc/gitlab/gitlab.rb的内容:

# Change the external_url to the address your users will type in their browser external_url 'http://localhost:8888/' redis['port'] = 1234 postgresql['port'] = 2345 unicorn['port'] = 3456 

[更新]

我设置了一个Apache主机来反向代理gitlab,当我打到,我看到一个“503 – 服务暂时不可用”的错误

如上所述:

https://github.com/gitlabhq/gitlabhq/issues/6581

nginxconfiguration文件位于/opt/gitlab/embedded/conf/nginx.conf ,您需要在该文件中手动更改端口。

我为nginx设置了端口号 – 似乎它在rubyconfiguration文件中被忽略。 当我重新启动一切,它的工作。