Commit b39b1564 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'rs-install-guide' into 'master'

Change 7-14-stable to 8-0-stable in doc/install/installation.md

Also fixes sudo user from previous MR.

[ci skip]

See merge request !1320
parents 2f237449 897e3a20
...@@ -207,9 +207,9 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da ...@@ -207,9 +207,9 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da
### Clone the Source ### Clone the Source
# Clone GitLab repository # Clone GitLab repository
sudo -u git -H git clone https://gitlab.com/gitlab-org/gitlab-ce.git -b 7-14-stable gitlab sudo -u git -H git clone https://gitlab.com/gitlab-org/gitlab-ce.git -b 8-0-stable gitlab
**Note:** You can change `7-14-stable` to `master` if you want the *bleeding edge* version, but never install master on a production server! **Note:** You can change `8-0-stable` to `master` if you want the *bleeding edge* version, but never install master on a production server!
### Configure It ### Configure It
...@@ -221,7 +221,7 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da ...@@ -221,7 +221,7 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da
# Update GitLab config file, follow the directions at top of file # Update GitLab config file, follow the directions at top of file
sudo -u git -H editor config/gitlab.yml sudo -u git -H editor config/gitlab.yml
# Copy the example secrets file # Copy the example secrets file
sudo -u git -H cp config/secrets.yml.example config/secrets.yml sudo -u git -H cp config/secrets.yml.example config/secrets.yml
sudo -u git -H chmod 0600 config/secrets.yml sudo -u git -H chmod 0600 config/secrets.yml
...@@ -238,7 +238,7 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da ...@@ -238,7 +238,7 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da
# Make sure GitLab can write to the public/uploads/ directory # Make sure GitLab can write to the public/uploads/ directory
sudo chmod -R u+rwX public/uploads sudo chmod -R u+rwX public/uploads
# Change the permissions of the directory where CI build traces are stored # Change the permissions of the directory where CI build traces are stored
sudo chmod -R u+rwX builds/ sudo chmod -R u+rwX builds/
......
...@@ -99,8 +99,8 @@ Don't store it in the same place as your database backups, ...@@ -99,8 +99,8 @@ Don't store it in the same place as your database backups,
otherwise your secrets are exposed if one of your backups is compromised. otherwise your secrets are exposed if one of your backups is compromised.
``` ```
sudo -u gitlab -H cp config/secrets.yml.example config/secrets.yml sudo -u git -H cp config/secrets.yml.example config/secrets.yml
sudo -u gitlab -H chmod 0600 config/secrets.yml sudo -u git -H chmod 0600 config/secrets.yml
``` ```
### 7. Install libs, migrations, etc. ### 7. Install libs, migrations, etc.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment