@@ -24,17 +24,25 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
24
24
``` bash
25
25
cd /home/git/gitlab
26
26
sudo -u git -H git fetch
27
- sudo -u git -H git checkout 6-2-stable
27
+ sudo -u git -H git checkout 6-2-stable # Latest version of 6-2-stable addresses CVE-2013-4489
28
28
```
29
29
30
- ### 3. Install additional packages
30
+ ### 3. Update gitlab-shell
31
+
32
+ ``` bash
33
+ cd /home/git/gitlab-shell
34
+ sudo -u git -H git fetch
35
+ sudo -u git -H git checkout v1.7.4 # Addresses CVE-2013-4490
36
+ ```
37
+
38
+ ### 4. Install additional packages
31
39
32
40
``` bash
33
41
# Add support for lograte for better log file handling
34
42
sudo apt-get install logrotate
35
43
```
36
44
37
- ### 4 . Install libs, migrations, etc.
45
+ ### 5 . Install libs, migrations, etc.
38
46
39
47
``` bash
40
48
cd /home/git/gitlab
@@ -52,7 +60,7 @@ sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production
52
60
sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production
53
61
```
54
62
55
- ### 5 . Update config files
63
+ ### 6 . Update config files
56
64
57
65
TIP: to see what changed in gitlab.yml.example in this release use next command:
58
66
@@ -74,20 +82,20 @@ sudo -u git -H cp config/initializers/rack_attack.rb.example config/initializers
74
82
sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab
75
83
```
76
84
77
- ### 6 . Update Init script
85
+ ### 7 . Update Init script
78
86
79
87
``` bash
80
88
sudo rm /etc/init.d/gitlab
81
89
sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlabhq/6-2-stable/lib/support/init.d/gitlab
82
90
sudo chmod +x /etc/init.d/gitlab
83
91
```
84
92
85
- ### 7 . Start application
93
+ ### 8 . Start application
86
94
87
95
sudo service gitlab start
88
96
sudo service nginx restart
89
97
90
- ### 8 . Check application status
98
+ ### 9 . Check application status
91
99
92
100
Check if GitLab and its environment are configured correctly:
93
101
0 commit comments