@@ -28,9 +28,9 @@ Install the required packages:
2828Download Ruby and compile it:
2929
3030 mkdir /tmp/ruby && cd /tmp/ruby
31- curl --progress http://ftp .ruby-lang.org/pub/ruby/1.9 /ruby-1.9.3-p392 .tar.gz | tar xz
32- cd ruby-1.9.3-p392
33- ./configure
31+ curl --progress http://cache .ruby-lang.org/pub/ruby/2.0 /ruby-2.0.0-p353 .tar.bz2 | tar xj
32+ cd ruby-2.0.0-p353
33+ ./configure --disable-install-rdoc
3434 make
3535 sudo make install
3636
@@ -76,8 +76,8 @@ You can use either MySQL or PostgreSQL.
7676 # Login to PostgreSQL
7777 sudo -u postgres psql -d template1
7878
79- # Create a user for GitLab. (change $password to a real password)
80- template1=# CREATE USER gitlab_ci WITH PASSWORD '$password' ;
79+ # Create a user for GitLab. We do not specify a password because we are using peer authentication.
80+ template1=# CREATE USER gitlab_ci;
8181
8282 # Create the GitLab production database & grant all privileges on database
8383 template1=# CREATE DATABASE gitlab_ci_production OWNER gitlab_ci;
@@ -96,7 +96,7 @@ You can use either MySQL or PostgreSQL.
9696
9797 cd gitlab-ci
9898
99- sudo -u gitlab_ci -H git checkout 3-2 -stable
99+ sudo -u gitlab_ci -H git checkout 4-0 -stable
100100
101101## 6. Setup application
102102
@@ -129,8 +129,8 @@ You can use either MySQL or PostgreSQL.
129129
130130 # postgres
131131 sudo -u gitlab_ci -H cp config/database.yml.postgresql config/database.yml
132-
133- # Edit user/password
132+
133+ # Edit user/password (not necessary with default Postgres setup)
134134 sudo -u gitlab_ci -H editor config/database.yml
135135
136136 # Setup tables
@@ -181,6 +181,10 @@ Make sure to edit the config file to match your setup:
181181 # of your host serving GitLab CI
182182 sudo editor /etc/nginx/sites-enabled/gitlab_ci
183183
184+ ## Check your configuration
185+
186+ sudo nginx -t
187+
184188## Reload configuration
185189
186190 sudo /etc/init.d/nginx reload
0 commit comments