Difference between revisions of "GitLab"

From RHS Wiki
Jump to navigation Jump to search
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/
 +
==Default repositorys==
 +
git_data_dir "/var/opt/gitlab/git-data"

Revision as of 14:39, 21 November 2015

Install

see: https://about.gitlab.com/downloads

  • Install curl, openssh-server, ca-certificates postfix
sudo apt-get install curl openssh-server ca-certificates postfix
  • Add the GitLab package server and install the package
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo apt-get install gitlab-ce

Or select and download

curl -LJO https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/trusty/gitlab-ce-XXX.deb/download
dpkg -i gitlab-ce-XXX.deb

Configuration

/etc/gitlab/gitlab.rb

sudo gitlab-ctl reconfigure
  • Browse to the hostname and login:
Username: root
Password: 5iveL!fe 
  • For configuration and troubleshooting options please see the Omnibus GitLab documentation

http://doc.gitlab.com/omnibus/

Default repositorys

git_data_dir "/var/opt/gitlab/git-data"