Skip to content

Commit d9af7c2

Browse files
committed
Updated the installation guide to Gitlab 5.2
Signed-off-by: Niels Basjes <[email protected]>
1 parent e039834 commit d9af7c2

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

install/CentOS_6.md

+14-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# GITLAB
22
# Maintainer: @nielsbasjes
3-
# App Version: 5.1
3+
# App Version: 5.2
44

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.**
66
We also tried this on RHEL 6.3 and found that there are subtle differences that we so far have only documented in part.
77

88
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
9090

9191
yum -y update
9292

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+
9399
## Configure redis
94100
Just make sure it is started at the next reboot
95101

@@ -290,7 +296,7 @@ GitLab Shell is a ssh access and repository management software developed specia
290296
cd gitlab-shell
291297

292298
# switch to right version
293-
git checkout v1.3.0
299+
git checkout v1.4.0
294300

295301
cp config.yml.example config.yml
296302

@@ -319,10 +325,10 @@ GitLab Shell is a ssh access and repository management software developed specia
319325
cd /home/git/gitlab
320326

321327
# Checkout to stable release
322-
git checkout 5-1-stable
328+
git checkout 5-2-stable
323329

324330
**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
326332
do so with caution!
327333

328334
## Configure it
@@ -438,7 +444,9 @@ Download the init script (will be /etc/init.d/gitlab)
438444

439445
*logged in as **root***
440446

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
442450
chmod +x /etc/init.d/gitlab
443451
chkconfig --add gitlab
444452

0 commit comments

Comments
 (0)