GitLab Installation Guide in Ubuntu 14.04
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
Install GitLab in Chinese with CentOS source code
Install GitLab on Ubuntu 12.04
GitLab 5.3 upgrade considerations
Deploy GitLab on CentOS (self-managed Git project repository)
Install GitLab 6.0.2 on RHEL6/CentOS6/ScientificLinux6
CentOS 6.5 GitLab installation tutorial and Related Problems
GitLab details: click here
GitLab: click here