Skip to content
Snippets Groups Projects
Commit 8ccad7c3 authored by Sid Sijbrandij's avatar Sid Sijbrandij
Browse files

Fix spelling error and make sure you never log in as git user so you never...

Fix spelling error and make sure you never log in as git user so you never have to logout to run sudo.
parent f01d4824
No related branches found
No related tags found
2 merge requests!4399fixed nav bar for empty repos (fixes #4375),!4367Update docs from 5.2 to 5.3 in 5.3-stable branch
Loading
Loading
@@ -8,9 +8,6 @@ GitLab supports the following databases:
 
## MySQL
 
# If you are the git user log out since it doesn't have sudo rights
exit
# Install the database packages
sudo apt-get install -y mysql-server mysql-client libmysqlclient-dev
 
Loading
Loading
Loading
Loading
@@ -108,28 +108,25 @@ Create a `git` user for Gitlab:
 
GitLab Shell is a ssh access and repository management software developed specially for GitLab.
 
# Login as git
sudo su git
# Go to home directory
cd /home/git
 
# Clone gitlab shell
git clone https://github.com/gitlabhq/gitlab-shell.git
sudo -u git -H git clone https://github.com/gitlabhq/gitlab-shell.git
 
cd gitlab-shell
 
# switch to right version
git checkout v1.4.0
sudo -u git -H git checkout v1.4.0
 
cp config.yml.example config.yml
sudo -u git -H cp config.yml.example config.yml
 
# Edit config and replace gitlab_url
# with something like 'http://domain.com/'
vim config.yml
sudo -u git -H vim config.yml
 
# Do setup
./bin/install
sudo -u git -H ./bin/install
 
 
# 5. Database
Loading
Loading
@@ -213,7 +210,7 @@ Make sure to edit both `gitlab.yml` and `puma.rb` to match your setup.
 
# Make sure to update username/password in config/database.yml.
# You only need to adapt the production settings (first part).
# If you followed the database guide than please do as follows:
# If you followed the database guide then please do as follows:
# Change 'root' to 'gitlab'
# Change 'secure password' with the value you have given to $password
# You can keep the double quotes around the password
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment