ubuntu安装gitlab

GitLab简介

简言之,gitlab就是山寨的github,但gitlab是开源的,而且github是死命的贵,所以对于中小企业来说gitlab真心
是不错的选择。

环境

ubuntu 14.04

具体步骤

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

 wget https://downloads-packages.s3.amazonaws.com/ubuntu-14.04/gitlab_7.0.0-omnibus-1_amd64.deb
 sudo apt-get install openssh-server
 sudo apt-get install postfix # Select 'Internet Site', using sendmail or exim is also OK
 sudo dpkg -i gitlab_7.0.0-omnibus-1_amd64.deb

 //Edit the configuration file to add your hostname
 sudo edit /etc/gitlab/gitlab.rb

//Install and start GitLab
 sudo gitlab-ctl reconfigure

 //Browse to the hostname and login 
 //Username: root 
 //Password: 5iveL!fe

之所以发此文,是想说一下,真的比之前要简单的多得多了,记得之前各种麻烦,各种安装,现在有点一步登天的感觉。

你可能感兴趣的:(ubuntu安装gitlab)