diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-05-06 15:20:26 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-05-06 15:20:26 +0000 |
commit | a94b06e7b59af09d893966eee7af366bba29a6e4 (patch) | |
tree | 91e856602fc68000b6d81a98d2622349e80dc323 /doc/install | |
parent | 118d06a3e2c24c35ff25394e890f9c8ca84d3fe9 (diff) | |
parent | d1648a6a2150c26c12a4f108040676a49627b8a0 (diff) | |
download | gitlab-ce-a94b06e7b59af09d893966eee7af366bba29a6e4.tar.gz |
Merge branch 'postgres_fix' into 'master'
Postgres fix. Closes #175
Diffstat (limited to 'doc/install')
-rw-r--r-- | doc/install/installation.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md index a441d2b65a5..2acee8c32d8 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -121,6 +121,7 @@ Create a `git` user for Gitlab: # 4. Database We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](database_mysql.md). +NOTE: because we need to make use of extensions you need at least pgsql 9.1. # Install the database packages sudo apt-get install -y postgresql-9.1 postgresql-client libpq-dev @@ -129,7 +130,7 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da sudo -u postgres psql -d template1 # Create a user for GitLab. - template1=# CREATE USER git; + template1=# CREATE USER git CREATEDB; # Create the GitLab production database & grant all privileges on database template1=# CREATE DATABASE gitlabhq_production OWNER git; |