@@ -133,7 +133,7 @@ If you can't see them listed, use the folowing command (from `yum-utils` package
133
133
134
134
yum -y update
135
135
yum -y groupinstall 'Development Tools'
136
- yum -y install vim-enhanced readline readline-devel ncurses-devel gdbm-devel glibc-devel tcl-devel openssl-devel curl-devel expat-devel db4-devel byacc sqlite-devel gcc-c++ libyaml libyaml-devel libffi libffi-devel libxml2 libxml2-devel libxslt libxslt-devel libicu libicu-devel system-config-firewall-tui redis sudo wget crontabs logwatch logrotate perl-Time-HiRes git patch
136
+ yum -y install readline readline-devel ncurses-devel gdbm-devel glibc-devel tcl-devel openssl-devel curl-devel expat-devel db4-devel byacc sqlite-devel libyaml libyaml-devel libffi libffi-devel libxml2 libxml2-devel libxslt libxslt-devel libicu libicu-devel system-config-firewall-tui redis sudo wget crontabs logwatch logrotate perl-Time-HiRes
137
137
138
138
** RHEL Notes**
139
139
@@ -177,9 +177,9 @@ You can choose between editors such as nano, vi, vim, etc.
177
177
In this case we will use vim as the default editor for consistency.
178
178
179
179
ln -s /usr/bin/vim /usr/bin/editor
180
-
180
+
181
181
To remove this alias in the future:
182
-
182
+
183
183
rm -i /usr/bin/editor
184
184
185
185
@@ -192,7 +192,7 @@ Remove the system Git
192
192
Install the pre-requisite files for Git compilation
193
193
194
194
yum install zlib-devel perl-CPAN gettext curl-devel expat-devel gettext-devel openssl-devel
195
-
195
+
196
196
Download and extract Git 1.9.0
197
197
198
198
mkdir /tmp/git && cd /tmp/git
@@ -201,13 +201,13 @@ Download and extract Git 1.9.0
201
201
./configure
202
202
make
203
203
make prefix=/usr/local install
204
-
204
+
205
205
Make sure Git is in your ` $PATH ` :
206
206
207
207
which git
208
-
209
- You might have to run ` source ~/.bash_profile ` for the ` $PATH ` to take effect.
210
208
209
+ You might have to logout and login again for the ` $PATH ` to take effect.
210
+ ** Note:** When editing ` config/gitlab.yml ` (step 6), change the git bin_path to ` /usr/local/bin/git ` .
211
211
212
212
----------
213
213
@@ -376,11 +376,11 @@ Configure the database user and password:
376
376
Test the connection as the gitlab (uid=git) user. You should be root to begin this test:
377
377
378
378
whoami
379
-
379
+
380
380
Attempt to log in to Postgres as the git user:
381
381
382
382
sudo -u git psql -d gitlabhq_production -U git -W
383
-
383
+
384
384
If you see the following:
385
385
386
386
gitlabhq_production=>
0 commit comments