From 8be2fbf97e7a30768036cf1342334216868e56f5 Mon Sep 17 00:00:00 2001 From: dosire Date: Fri, 4 Apr 2014 15:13:12 +0200 Subject: [PATCH] Group the configuartion changes under one header. --- README.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5153600..267a884 100644 --- a/README.md +++ b/README.md @@ -36,9 +36,7 @@ You can login as an admin user with username `root` and password `5iveL!fe`. For update instructions, see [the update guide](doc/update.md). -## How to manage an Omnibus-installed GitLab - -### Start/stop GitLab +## Starting and stopping You can start, stop or restart GitLab and all of its components with the following commands. @@ -60,6 +58,8 @@ It is also possible to start, stop or restart individual components. sudo gitlab-ctl restart unicorn ``` +## Configuration + ### Creating the gitlab.rb configuration file ```shell @@ -68,7 +68,8 @@ sudo touch /etc/gitlab/gitlab.rb sudo chmod 600 /etc/gitlab/gitlab.rb ``` -Below several examples are given to change settings in `/etc/gitlab/gitlab.rb`. +Below several examples are given for settings in `/etc/gitlab/gitlab.rb`. +Please restart each time you made a change. ### Configuring the external URL for GitLab @@ -157,6 +158,8 @@ sudo lokkit -p 2443:tcp Run `sudo gitlab-ctl reconfigure` for the change to take effect. +## Backups + ### Creating an application backup To create a backup of your repositories and GitLab metadata, run the following command. @@ -215,7 +218,7 @@ If there is a GitLab version mismatch between your backup tar file and the insta version of GitLab, the restore command will abort with an error. Install a package for the [required version](https://www.gitlab.com/downloads/archives/) and try again. -### Invoking Rake tasks +## Invoking Rake tasks To invoke a GitLab Rake task, use `gitlab-rake`. For example: @@ -227,7 +230,7 @@ Contrary to with a traditional GitLab installation, there is no need to change the user or the `RAILS_ENV` environment variable; this is taken care of by the `gitlab-rake` wrapper script. -### Directory structure +## Directory structure Omnibus-gitlab uses four different directories. @@ -239,7 +242,7 @@ Omnibus-gitlab uses four different directories. - `/var/log/gitlab` contains all log data generated by components of omnibus-gitlab. -### Starting a Rails console session +## Starting a Rails console session For advanced users only. If you need access to a Rails production console for your GitLab installation you can start one with the following command: -- libgit2 0.21.2