|
1 | 1 | ```
|
2 | 2 | Distribution : CentOS 6.5 Minimal
|
3 |
| -GitLab version : 6.0 - 6.7 |
| 3 | +GitLab version : 6.0 - 6.8 |
4 | 4 | Web Server : Apache, Nginx
|
5 | 5 | Init system : sysvinit
|
6 | 6 | Database : MySQL, PostgreSQL
|
@@ -212,15 +212,15 @@ Make sure Git is in your `$PATH`:
|
212 | 212 | which git
|
213 | 213 |
|
214 | 214 | You might have to logout and login again for the `$PATH` to take effect.
|
215 |
| -**Note:** When editing `config/gitlab.yml` (step 6), change the git bin_path to `/usr/local/bin/git`. |
| 215 | +**Note:** When editing `config/gitlab.yml` (step 6), change the git `bin_path` to `/usr/local/bin/git`. |
216 | 216 |
|
217 | 217 | ----------
|
218 | 218 |
|
219 | 219 | ## 2. Ruby
|
220 | 220 |
|
221 | 221 | The use of ruby version managers such as [RVM](http://rvm.io/), [rbenv](https://github.com/sstephenson/rbenv) or [chruby](https://github.com/postmodern/chruby) with GitLab in production frequently leads to hard to diagnose problems. Version managers are not supported and we strongly advise everyone to follow the instructions below to use a system ruby.
|
222 | 222 |
|
223 |
| -Remove the old Ruby 1.8 package if present. Gitlab 6.7 only supports the Ruby 2.0.x release series: |
| 223 | +Remove the old Ruby 1.8 package if present. GitLab only supports the Ruby 2.0+ release series: |
224 | 224 |
|
225 | 225 | yum remove ruby
|
226 | 226 |
|
@@ -256,9 +256,7 @@ installed with:
|
256 | 256 |
|
257 | 257 | Create a `git` user for Gitlab:
|
258 | 258 |
|
259 |
| - adduser --system --shell /sbin/nologin --comment 'GitLab' --create-home --home-dir /home/git/ git |
260 |
| - |
261 |
| -For extra security, the shell we use for this user does not allow logins via a terminal. |
| 259 | + adduser --system --shell /bin/bash --comment 'GitLab' --create-home --home-dir /home/git/ git |
262 | 260 |
|
263 | 261 | **Important:** In order to include `/usr/local/bin` to git user's PATH, one way is to edit the sudoers file. As root run:
|
264 | 262 |
|
@@ -293,7 +291,7 @@ GitLab Shell is a ssh access and repository management application developed spe
|
293 | 291 |
|
294 | 292 | # Edit config and replace gitlab_url
|
295 | 293 | # with something like 'https://domain.com/'
|
296 |
| - # also edit self_signed_cert to true if you are going to use selfsigned cert |
| 294 | + # also edit self_signed_cert to true if you are going to use selfsigned cert |
297 | 295 | sudo -u git -H editor config.yml
|
298 | 296 |
|
299 | 297 | # Do setup
|
@@ -356,7 +354,7 @@ Quit the database session:
|
356 | 354 |
|
357 | 355 | ### 5.2 PostgreSQL
|
358 | 356 |
|
359 |
| -NOTE: because we need to make use of extensions we need at least pgsql 9.1 and the default 8.x on centos will not work. We need to get the PGDG repositories enabled |
| 357 | +NOTE: because we need to make use of extensions we need at least pgsql 9.1 and the default 8.x on centos will not work. We need to get the PGDG repositories enabled |
360 | 358 |
|
361 | 359 | Install the pgdg repositories
|
362 | 360 |
|
@@ -425,9 +423,9 @@ authentication methods.
|
425 | 423 | ### Clone the Source
|
426 | 424 |
|
427 | 425 | # Clone GitLab repository
|
428 |
| - sudo -u git -H git clone https://gitlab.com/gitlab-org/gitlab-ce.git -b 6-7-stable gitlab |
| 426 | + sudo -u git -H git clone https://gitlab.com/gitlab-org/gitlab-ce.git -b 6-8-stable gitlab |
429 | 427 |
|
430 |
| -**Note:** You can change `6-7-stable` to `master` if you want the *bleeding edge* version, but do so with caution! |
| 428 | +**Note:** You can change `6-8-stable` to `master` if you want the *bleeding edge* version, but do so with caution! |
431 | 429 |
|
432 | 430 | ### Configure it
|
433 | 431 |
|
@@ -672,3 +670,4 @@ nobody can access your GitLab by using this login information later on.
|
672 | 670 | [keys]: https://fedoraproject.org/keys
|
673 | 671 | [issue-nginx]: https://github.com/gitlabhq/gitlabhq/issues/5774
|
674 | 672 | [nginx-centos]: http://wiki.nginx.org/Install#Official_Red_Hat.2FCentOS_packages
|
| 673 | +[psql-doc-auth]: http://www.postgresql.org/docs/9.3/static/auth-methods.html |
0 commit comments