Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
ec5bfec2
Commit
ec5bfec2
authored
Apr 14, 2014
by
Sytse Sijbrandij
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'postgres_installation' into 'master'
No need to edit database.yml for standard Postgres
parents
f2b2f2c2
ac01e445
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
doc/install/installation.md
doc/install/installation.md
+7
-6
No files found.
doc/install/installation.md
View file @
ec5bfec2
...
@@ -232,20 +232,21 @@ Make sure to edit both `gitlab.yml` and `unicorn.rb` to match your setup.
...
@@ -232,20 +232,21 @@ Make sure to edit both `gitlab.yml` and `unicorn.rb` to match your setup.
## Configure GitLab DB settings
## Configure GitLab DB settings
# PostgreSQL
# PostgreSQL
only:
sudo -u git cp config/database.yml.postgresql config/database.yml
sudo -u git cp config/database.yml.postgresql config/database.yml
# Make sure to update username/password in config/database.yml.
# MySQL only:
sudo -u git cp config/database.yml.mysql config/database.yml
# MySQL and remote PostgreSQL only:
# Update username/password in config/database.yml.
# You only need to adapt the production settings (first part).
# You only need to adapt the production settings (first part).
# If you followed the database guide then please do as follows:
# If you followed the database guide then please do as follows:
# Change 'secure password' with the value you have given to $password
# Change 'secure password' with the value you have given to $password
# You can keep the double quotes around the password
# You can keep the double quotes around the password
sudo -u git -H editor config/database.yml
sudo -u git -H editor config/database.yml
or
# PostgreSQL and MySQL:
# Mysql
sudo -u git cp config/database.yml.mysql config/database.yml
# Make config/database.yml readable to git only
# Make config/database.yml readable to git only
sudo -u git -H chmod o-rwx config/database.yml
sudo -u git -H chmod o-rwx config/database.yml
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment