Skip to content
Snippets Groups Projects

Doc fix

Closed gitlab-qa-bot requested to merge github/fork/basvandijk/patch-1 into master
2 files
+ 7
6
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -149,8 +149,9 @@ Fix the directory permissions for the repositories:
sudo chown -R git:git /home/git/repositories/
## Add domains to list to the list of known hosts
## Add domains to the list of known hosts
# SSH into the following hosts so that they're added to known_hosts ...
sudo -u gitlab -H ssh git@localhost
sudo -u gitlab -H ssh git@YOUR_DOMAIN_NAME
sudo -u gitlab -H ssh git@YOUR_GITOLITE_DOMAIN_NAME
@@ -190,10 +191,10 @@ See `doc/install/databases.md`
cd /home/gitlab/gitlab
# Checkout to stable release
sudo -u gitlab -H git checkout 4-0-stable
sudo -u gitlab -H git checkout 4-1-stable
**Note:**
You can change `4-0-stable` to `master` if you want the *bleeding edge* version, but
You can change `4-1-stable` to `master` if you want the *bleeding edge* version, but
do so with caution!
## Configure it
@@ -267,7 +268,7 @@ used for the `email.from` setting in `config/gitlab.yml`)
Download the init script (will be /etc/init.d/gitlab):
sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlab-recipes/master/init.d/gitlab
sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlab-recipes/4-1-stable/init.d/gitlab
sudo chmod +x /etc/init.d/gitlab
Make GitLab start on boot:
@@ -308,7 +309,7 @@ If you can't or don't want to use Nginx as your web server, have a look at the
Download an example site config:
sudo curl --output /etc/nginx/sites-available/gitlab https://raw.github.com/gitlabhq/gitlab-recipes/master/nginx/gitlab
sudo curl --output /etc/nginx/sites-available/gitlab https://raw.github.com/gitlabhq/gitlab-recipes/4-1-stable/nginx/gitlab
sudo ln -s /etc/nginx/sites-available/gitlab /etc/nginx/sites-enabled/gitlab
Make sure to edit the config file to match your setup:
Loading