1
1
```
2
2
Distribution : CentOS 6.5 Minimal
3
- GitLab version : 6.0 - 6.9
3
+ GitLab version : 6.0 - 7.0
4
4
Web Server : Apache, Nginx
5
5
Init system : sysvinit
6
6
Database : MySQL, PostgreSQL
@@ -248,7 +248,7 @@ installed with:
248
248
which ruby
249
249
# /usr/local/bin/ruby
250
250
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]
252
252
253
253
----------
254
254
@@ -411,9 +411,9 @@ authentication methods.
411
411
### Clone the Source
412
412
413
413
# 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
415
415
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!
417
417
418
418
### Configure it
419
419
@@ -425,6 +425,8 @@ authentication methods.
425
425
# Make sure to change "localhost" to the fully-qualified domain name of your
426
426
# host serving GitLab where necessary
427
427
#
428
+ # If you want to use https make sure that you set `https` to `true`. See #using-https for all necessary details.
429
+ #
428
430
# If you installed Git from source, change the git bin_path to /usr/local/bin/git
429
431
sudo -u git -H editor config/gitlab.yml
430
432
@@ -508,9 +510,17 @@ GitLab Shell is an ssh access and repository management software developed speci
508
510
cd /home/git/gitlab
509
511
510
512
# 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:
514
524
sudo -u git -H editor /home/git/gitlab-shell/config.yml
515
525
516
526
# Ensure the correct SELinux contexts are set
@@ -547,14 +557,14 @@ Check if GitLab and its environment are configured correctly:
547
557
548
558
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
549
559
550
- ### Start your GitLab instance
551
-
552
- service gitlab start
553
-
554
560
### Compile assets
555
561
556
562
sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production
557
563
564
+ ### Start your GitLab instance
565
+
566
+ service gitlab start
567
+
558
568
## 6. Configure the web server
559
569
560
570
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
647
657
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 ` .
648
658
649
659
If all other items are green, then congratulations on successfully installing GitLab!
650
- However there are still a few steps left.
651
660
652
661
## Initial Login
653
662
0 commit comments