One day, the job needs to build a version controller. View information, the current more popular has gitlab,svn. Because GitHub is commonly used, it is more inclined to Gitlab. The construction process is documented below.
1. Install the plugin for mail support:
sudo apt-get install curl openssh-server ca-certificates postfix
The interface that appears during installation can be selected by default.
2. Add the official source and install:
Curl-ss http://packages.gitlab.cc/install/gitlab-ce/script.deb.sh | sudo bashsudo apt-get install Gitlab-ce
The installation is completed as follows:
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/8B/A8/wKiom1hT1ljwfBiKAABG0B1VufA013.png "title=" 1.png " alt= "Wkiom1ht1ljwfbikaabg0b1vufa013.png"/>
3. The configuration needs to be built after installation:
sudo gitlab-ctl reconfigure
As shown, configuration generation is complete:
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/8B/A4/wKioL1hT17PhgPZCAABO3OGTG2U339.png "title=" 1.png " alt= "Wkiol1ht17phgpzcaabo3ogtg2u339.png"/>
Follow the above steps to install and complete the Gitlab server, the Web page can be accessed normally. Because the official source installation speed comparable to snails, so with the Thunderbolt to download the installation package, directly installed.
sudo dpkg-i gitlab-ce-xxx.deb
Install the epigenetic configuration can be Web Access.
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/8B/A8/wKiom1hT1oOxWizNAADZKKnoKRQ212.png "title=" Qq20161216195502.png "alt=" Wkiom1ht1ooxwiznaadzkknokrq212.png "/>
Initial account and password is root:5ivel!fe, after login will prompt to change the password, change to their own password.
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/8B/A8/wKiom1hT2HKxrIsWAABvq-E338o141.png "title=" 1.png " alt= "Wkiom1ht2hkxriswaabvq-e338o141.png"/>
This article is from the "Black Time" blog, so be sure to keep this source http://blacktime.blog.51cto.com/11722918/1883466
ubuntu14.04 Build Gitlab server