Skip to content

Commit 3a0acf4

Browse files
committed
Merge branch 'update_7_0' into 'master'
Update to 7.0
2 parents ac4f096 + 2396151 commit 3a0acf4

File tree

1 file changed

+21
-12
lines changed

1 file changed

+21
-12
lines changed

install/centos/README.md

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
```
22
Distribution : CentOS 6.5 Minimal
3-
GitLab version : 6.0 - 6.9
3+
GitLab version : 6.0 - 7.0
44
Web Server : Apache, Nginx
55
Init system : sysvinit
66
Database : MySQL, PostgreSQL
@@ -248,7 +248,7 @@ installed with:
248248
which ruby
249249
# /usr/local/bin/ruby
250250
ruby -v
251-
# ruby 2.0.0p451 (2014-02-24 revision 45167) [x86_64-linux]
251+
# ruby 2.0.0p481 (2014-02-24 revision 45167) [x86_64-linux]
252252

253253
----------
254254

@@ -411,9 +411,9 @@ authentication methods.
411411
### Clone the Source
412412

413413
# Clone GitLab repository
414-
sudo -u git -H git clone https://gitlab.com/gitlab-org/gitlab-ce.git -b 6-9-stable gitlab
414+
sudo -u git -H git clone https://gitlab.com/gitlab-org/gitlab-ce.git -b 7-0-stable gitlab
415415

416-
**Note:** You can change `6-9-stable` to `master` if you want the *bleeding edge* version, but do so with caution!
416+
**Note:** You can change `7-0-stable` to `master` if you want the *bleeding edge* version, but do so with caution!
417417

418418
### Configure it
419419

@@ -425,6 +425,8 @@ authentication methods.
425425
# Make sure to change "localhost" to the fully-qualified domain name of your
426426
# host serving GitLab where necessary
427427
#
428+
# If you want to use https make sure that you set `https` to `true`. See #using-https for all necessary details.
429+
#
428430
# If you installed Git from source, change the git bin_path to /usr/local/bin/git
429431
sudo -u git -H editor config/gitlab.yml
430432

@@ -508,9 +510,17 @@ GitLab Shell is an ssh access and repository management software developed speci
508510
cd /home/git/gitlab
509511
510512
# Run the installation task for gitlab-shell (replace `REDIS_URL` if needed):
511-
sudo -u git -H bundle exec rake gitlab:shell:install[v1.9.4] REDIS_URL=redis://localhost:6379 RAILS_ENV=production
512-
513-
# By default, the gitlab-shell config is generated from your main gitlab config. You can review (and modify) it as follows:
513+
sudo -u git -H bundle exec rake gitlab:shell:install[v1.9.6] REDIS_URL=redis://localhost:6379 RAILS_ENV=production
514+
515+
# By default, the gitlab-shell config is generated from your main gitlab config.
516+
#
517+
# Note: When using GitLab with HTTPS please change the following:
518+
# - Provide paths to the certificates under `ca_file` and `ca_path options.
519+
# - The `gitlab_url` option must point to the https endpoint of GitLab.
520+
# - In case you are using self signed certificate set `self_signed_cert` to `true`.
521+
# See #using-https for all necessary details.
522+
#
523+
# You can review (and modify) it as follows:
514524
sudo -u git -H editor /home/git/gitlab-shell/config.yml
515525
516526
# Ensure the correct SELinux contexts are set
@@ -547,14 +557,14 @@ Check if GitLab and its environment are configured correctly:
547557

548558
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
549559

550-
### Start your GitLab instance
551-
552-
service gitlab start
553-
554560
### Compile assets
555561

556562
sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production
557563

564+
### Start your GitLab instance
565+
566+
service gitlab start
567+
558568
## 6. Configure the web server
559569

560570
Use either Nginx or Apache, not both. Official installation guide recommends nginx.
@@ -647,7 +657,6 @@ Now, the output will complain that your init script is not up-to-date as follows
647657
Do not mind about that error if you are sure that you have downloaded the up-to-date file from https://gitlab.com/gitlab-org/gitlab-recipes/raw/master/init/sysvinit/centos/gitlab-unicorn and saved it to `/etc/init.d/gitlab`.
648658

649659
If all other items are green, then congratulations on successfully installing GitLab!
650-
However there are still a few steps left.
651660

652661
## Initial Login
653662

0 commit comments

Comments
 (0)