Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
GitLab
(edit)
Revision as of 16:11, 21 November 2015
685 bytes added
,
16:11, 21 November 2015
→Configuration
Line 18:
Line 18:
* For configuration and troubleshooting options please see the Omnibus GitLab documentation<br />
* For configuration and troubleshooting options please see the Omnibus GitLab documentation<br />
http://doc.gitlab.com/omnibus/
http://doc.gitlab.com/omnibus/
+
===Database===
+
Recomended PostgreSQL<br />
+
<source lang="bash">
+
# Install the database packages
+
sudo apt-get install -y postgresql postgresql-client libpq-dev
+
+
# Login to PostgreSQL
+
sudo -u postgres psql -d template1
+
+
# Create a user for GitLab
+
# Do not type the 'template1=#', this is part of the prompt
+
template1=# CREATE USER git CREATEDB;
+
+
# Create the GitLab production database & grant all privileges on database
+
template1=# CREATE DATABASE gitlabhq_production OWNER git;
+
+
# Quit the database session
+
template1=# \q
+
+
# Try connecting to the new database with the new user
+
sudo -u git -H psql -d gitlabhq_production
+
+
# Quit the database session
+
gitlabhq_production> \q
+
</source>
+
==Default repositorys==
==Default repositorys==
git_data_dir "/var/opt/gitlab/git-data"
git_data_dir "/var/opt/gitlab/git-data"
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version