Comments on How to Install Gitlab with PostgreSQL and Nginx on Ubuntu 15.04
Gitlab is a web-based git repository management application written on Ruby. It is similar to GitHub and includes features like a project wiki and issue tracking system. In this tutorial, I will guide you step by step trough the installation of Gitlab CE with PostgreSQL as the database system, and Nginx as the web server on Ubuntu 15.04 version. We will use Ruby version 2.x.x, gitlab stable version 8.x.
5 Comment(s)
Comments
Thanks for the guide! Our recommend way of installing GitLab is with the Omnibus packages https://about.gitlab.com/downloads/ (it will do all the steps in this manual automatically) Other installation methods are listed on https://about.gitlab.com/installation/
Hi!
thanks for the guide. I followed your instructions. The only thing I made different from you is the line
"Listen 0" in redis.conf because this give me an error
so I left "port 6379"
All others things not give me errors. But when I try to connect to gitlab via browser, I have a loading error as the server is not running as intended.
If I restart /etc/init.d/gitlab the "up and running" is showed.
My /etc/nginx/sites-available/gitlab is configured as follow:
server { ## Either remove "default_server" from the listen line below, ## or delete the /etc/nginx/sites-enabled/default file. This will cause gitlab ## to be served if you visit any address that your server responds to, eg. ## the ip address of the server (http://x.x.x.x/)n 0.0.0.0:80 default_server; #listen 0.0.0.0:80 default_server; listen 6379; #listen [::]:80 default_server; server_name my.gitlab.alf; ## Replace this with something like gitlab.example.com server_tokens off; ## Don't show the nginx version number, a security best practice root /home/git/gitlab/public; ## Increase this if you want to upload large attachments ## Or if you want to accept large git objects over http client_max_body_size 20m;...
....
}
I tried both listen *:80; and listen *:6379
Have you an idea why gitlab doesn't start?
Alfonso, in your redis.conf put port 0
@Alfonso
sudo mkdir /var/run/redis
chmod a+rw /var/run/redis
Very detailed guide! Worked like a charm ;-). Thank you