BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
391db242
Unverified
Commit
391db242
authored
Nov 24, 2016
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix documentation to create the `pg_trm` extension before creating the DB
[ci skip] Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
b3e1561f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
installation.md
doc/install/installation.md
+5
-5
No files found.
doc/install/installation.md
View file @
391db242
...
...
@@ -175,17 +175,17 @@ We recommend using a PostgreSQL database. For MySQL check the
```bash
sudo -u postgres psql -d template1 -c "CREATE USER git CREATEDB;"
```
1.
Create the
GitLab production database and grant all privileges on database
:
1.
Create the
`pg_trgm`
extension (required for GitLab 8.6+)
:
```bash
sudo -u postgres psql -d template1 -c "CREATE
DATABASE gitlabhq_production OWNER git
;"
sudo -u postgres psql -d template1 -c "CREATE
EXTENSION IF NOT EXISTS pg_trgm
;"
```
1.
Create the
`pg_trgm`
extension (required for GitLab 8.6+)
:
1.
Create the
GitLab production database and grant all privileges on database
:
```bash
sudo -u postgres psql -d template1 -c "CREATE
EXTENSION IF NOT EXISTS pg_trgm
;"
sudo -u postgres psql -d template1 -c "CREATE
DATABASE gitlabhq_production OWNER git
;"
```
1.
Try connecting to the new database with the new user:
...
...
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