Merge branch 'update_guides' into 'master'
Remove outdated notes from the update guide ## What does this MR do? updates guides See merge request !5624
This commit is contained in:
commit
b4b7adbed5
|
@ -62,23 +62,7 @@ sudo -u git -H git checkout v0.7.8
|
|||
sudo -u git -H make
|
||||
```
|
||||
|
||||
### 6. Update MySQL permissions
|
||||
|
||||
If you are using MySQL you need to grant the GitLab user the necessary
|
||||
permissions on the database:
|
||||
|
||||
```bash
|
||||
# Login to MySQL
|
||||
mysql -u root -p
|
||||
|
||||
# Grant the GitLab user the REFERENCES permission on the database
|
||||
GRANT REFERENCES ON `gitlabhq_production`.* TO 'git'@'localhost';
|
||||
|
||||
# Quit the database session
|
||||
mysql> \q
|
||||
```
|
||||
|
||||
### 7. Install libs, migrations, etc.
|
||||
### 6. Install libs, migrations, etc.
|
||||
|
||||
```bash
|
||||
cd /home/git/gitlab
|
||||
|
@ -100,7 +84,7 @@ sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS
|
|||
|
||||
```
|
||||
|
||||
### 8. Update configuration files
|
||||
### 7. Update configuration files
|
||||
|
||||
#### New configuration options for `gitlab.yml`
|
||||
|
||||
|
@ -110,14 +94,6 @@ There are new configuration options available for [`gitlab.yml`](config/gitlab.y
|
|||
git diff origin/8-10-stable:config/gitlab.yml.example origin/8-11-stable:config/gitlab.yml.example
|
||||
```
|
||||
|
||||
#### Git configuration
|
||||
|
||||
Disable `git gc --auto` because GitLab runs `git gc` for us already.
|
||||
|
||||
```sh
|
||||
sudo -u git -H git config --global gc.auto 0
|
||||
```
|
||||
|
||||
#### Nginx configuration
|
||||
|
||||
Ensure you're still up-to-date with the latest NGINX configuration changes:
|
||||
|
@ -157,12 +133,12 @@ Ensure you're still up-to-date with the latest init script changes:
|
|||
|
||||
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
|
||||
|
||||
### 9. Start application
|
||||
### 8. Start application
|
||||
|
||||
sudo service gitlab start
|
||||
sudo service nginx restart
|
||||
|
||||
### 10. Check application status
|
||||
### 9. Check application status
|
||||
|
||||
Check if GitLab and its environment are configured correctly:
|
||||
|
||||
|
|
Loading…
Reference in New Issue