GitLab is an open-source project used for warehouse management systems. A web service built on Git as a code management tool. On the official website of GitLab, Ubuntu is also well supported and provides detailed installation instructions. There are a few pitfalls in the introduction of postfix. This article introduces them to solve some pitfalls I have encountered. This document describes how to install GitLab for Ubuntu14.04. Other Ubuntu instances can be used as a reference. 1. install required libraries and software
GitLab is an open-source project used for warehouse management systems. A web service built on Git as a code management tool.
On the official website of GitLab, Ubuntu is also well supported and provides detailed installation instructions.
There are a few pitfalls in the introduction of postfix. This article introduces them to solve some pitfalls I have encountered.
This document describes how to install GitLab on Ubuntu 14.04. Other Ubuntu instances can be used as a reference.
1. install required libraries and software
For more details, refer to the official website, which provides an introduction to installation.
You can also directly execute the following command. You need to make some choices when installing postfix.
To put it simply, postfix is used to send emails. Because verification emails need to be sent, It is required. It is optional for specific installation to send emails, the official postfix is selected here. It may be a little pitfall.
I think it is complicated to configure the SMTP server using postfix. I will not introduce it here. You can refer to other materials.
In order to send emails more conveniently, I directly use the enterprise mail service. I only need to set up the smtp server.
sudo apt-get install curl openssh-server ca-certificates postfix
2. Add and install the GitLab package
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bashsudo apt-get install gitlab-ce
You can use the above method for installation, but the Internet speed in mainland China is estimated to be a little painful. I put a 64-bit Ubuntu version I downloaded on Baidu cloud. I do not know whether it can be downloaded.
Gitlab-ce_7.10.5 ~ Omnibus-1_amd64.deb Baidu cloud: http://pan.baidu.com/s/1kUoU5hH
After the download:
sudo dpkg -i gitlab-ce_7.10.5~omnibus-1_amd64.deb
Back to Top 3. Configure and start GitLab
The above is some of my configuration information. Hope to help you. The following picture is an official document.
(The email above needs to be determined based on your own mailbox. For more examples, you can copy Gmail .)
After the configuration is complete, run the following command to make the change take effect.
sudo gitlab-ctl reconfigure
Sometimes you need to restart postfix. (Optional)
sudo /etc/init.d/postfix restart
4. Access GitLab
In this way, you can access:
Http: // 192.168.1.10: 8080 for GitLab access.
Default Administrator account password:
Username: root Password: 5iveL!fe
CentOS source code installation GitLab Chinese edition http://www.linuxidc.com/Linux/2015-10/124648.htm
Install GitLab http://www.linuxidc.com/Linux/2012-12/75249.htm on Ubuntu 12.04
GitLab 5.3 upgrade considerations http://www.linuxidc.com/Linux/2013-06/86473.htm
Deploy GitLab (self-managed Git project repository) http://www.linuxidc.com/Linux/2013-06/85754.htm on CentOS
Install the GitLab 6.0.2 http://www.linuxidc.com/Linux/2014-03/97831.htm on RHEL6/CentOS6/ScientificLinux6
CentOS 6.5 GitLab installation tutorial and Related Problem Solving http://www.linuxidc.com/Linux/2014-05/101526.htm
GitLab details: Click here
GitLab's: Click here
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-12/126876.htm