(reproduced) Http://www.open-open.com/lib/view/open1433584757328.html#articleHeader2
GitLab is an open source project for the warehouse management system. Use Git as a code management tool and build on this Web service.
It's also good to have Ubuntu support on the official website of Gitlab, with more detailed installation instructions.
In the introduction of postfix where there are a few pits, this article is a solution to some of the pits I encountered.
This article focuses on Ubuntu 14.04 and describes how to install Gitlab. Other Ubuntu can be used as a reference.
1. Install the required libraries and software
For more details please refer to the official, there is an introduction to the installation.
You can also do whatever you have to do the following command directly. It is important to note that when installing postfix, you need to make some choices.
Simply put, is postfix is used to send mail, because the need to send a verification message, so this is required to install, as to the specific pack what to send mail is optional, here choose the official recommended postfix, perhaps will pit relatively few bar.
I think if it is postfix to configure the SMTP server is more complex, I do not introduce here, you can refer to other information.
In order to more convenient to send out the mail, directly using the Mail Service Enterprise mailbox, only need to set up the SMTP server on the line.
2. Add the Gitlab package and install it
You can use the method above to install, but mainland China's internet speed estimate will be compared to the egg pain. I put an Ubuntu 64-bit version of my download on top of the Baidu Cloud. I don't know if I can download it.
Gitlab-ce_7.10.5~omnibus-1_amd64.deb Baidu Cloud: http://pan.baidu.com/s/1eQrlf1o
After the download:
3. Configuring and Starting Gitlab
Above are some of my configuration information. Hope to be of help to you. The image below is the official document.
(The above mailbox needs to be based on your own mailbox to determine, more can copy gmail example.) )
After the configuration is complete, you need to execute the following command to make the change effective.
sudo gitlab-ctl reconfigure
Sometimes you still need to restart Postfix. (optional)
Sudo/etc/init.d/postfix restart
4. Visit Gitlab
This way you can access:
http://192.168.1.10:8080 to make Gitlab's visit.
Default Administrator's account password:
5. References (it's important to put it at the end)
- Http://www.tuicool.com/articles/3uAzay Gitlab Installation Chapter-ubuntu 14.04 LTS
- HTTPS://ABOUT.GITLAB.COM/DOWNLOADS/GITLAB Official Website Installation Guide
- Examples of SMTP server settings in Https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/smtp.md#examplesGitLab
- HTTP://WIKI.UBUNTU.ORG.CN/POSTFIXBASICSETUPHOWTO postfix Basic Introduction and Beginner's Guide
Ubuntu 14.04 Installation Gitlab Guide