|
1 | 1 | # GITLAB
|
2 | 2 | # Maintainer: @nielsbasjes
|
3 |
| -# App Version: 5.1 |
| 3 | +# App Version: 5.2 |
4 | 4 |
|
5 |
| -**This installation guide was created for CentOS 6.4 in combination with gitlab 5.1 and tested on it.** |
| 5 | +**This installation guide was created for CentOS 6.4 in combination with gitlab 5.2 and tested on it.** |
6 | 6 | We also tried this on RHEL 6.3 and found that there are subtle differences that we so far have only documented in part.
|
7 | 7 |
|
8 | 8 | Please read `doc/install/requirements.md` for hardware and platform requirements.
|
@@ -90,6 +90,12 @@ During an installation on an official RHEL 6.3 we found that some packages (in o
|
90 | 90 |
|
91 | 91 | yum -y update
|
92 | 92 |
|
| 93 | +## Git |
| 94 | +For some reason gitlab has been written in such a way that it will only work correctly with git version 1.8.x or newer. At the time of writing [this commit](https://github.com/gitlabhq/gitlabhq/commit/b1a8fdd84d5a7cdbdb5ef3829b59a73db0f4d2dd) was the culprit that enforced this requirement. |
| 95 | +In case this has not been resolved when you read this you must either update your git to > 1.8.x or revert the above mentioned change manually. |
| 96 | + |
| 97 | +Have a look at [this HowTo](http://www.pickysysadmin.ca/2013/05/21/commit-comments-not-appearing-in-gitlab-on-centos/) on one possible way of updating the git version. |
| 98 | + |
93 | 99 | ## Configure redis
|
94 | 100 | Just make sure it is started at the next reboot
|
95 | 101 |
|
@@ -290,7 +296,7 @@ GitLab Shell is a ssh access and repository management software developed specia
|
290 | 296 | cd gitlab-shell
|
291 | 297 |
|
292 | 298 | # switch to right version
|
293 |
| - git checkout v1.3.0 |
| 299 | + git checkout v1.4.0 |
294 | 300 |
|
295 | 301 | cp config.yml.example config.yml
|
296 | 302 |
|
@@ -319,10 +325,10 @@ GitLab Shell is a ssh access and repository management software developed specia
|
319 | 325 | cd /home/git/gitlab
|
320 | 326 |
|
321 | 327 | # Checkout to stable release
|
322 |
| - git checkout 5-1-stable |
| 328 | + git checkout 5-2-stable |
323 | 329 |
|
324 | 330 | **Note:**
|
325 |
| -You can change `5-1-stable` to `master` if you want the *bleeding edge* version, but |
| 331 | +You can change `5-2-stable` to `master` if you want the *bleeding edge* version, but |
326 | 332 | do so with caution!
|
327 | 333 |
|
328 | 334 | ## Configure it
|
@@ -438,7 +444,9 @@ Download the init script (will be /etc/init.d/gitlab)
|
438 | 444 |
|
439 | 445 | *logged in as **root***
|
440 | 446 |
|
441 |
| - curl https://raw.github.com/gitlabhq/gitlab-recipes/5-1-stable/init.d/gitlab-centos > /etc/init.d/gitlab |
| 447 | +**Double check the url for this next one!!** |
| 448 | + |
| 449 | + curl https://raw.github.com/gitlabhq/gitlab-recipes/5-2-stable/init.d/gitlab-centos > /etc/init.d/gitlab |
442 | 450 | chmod +x /etc/init.d/gitlab
|
443 | 451 | chkconfig --add gitlab
|
444 | 452 |
|
|
0 commit comments