Ubuntu 14.04 Installation Gitlab Guide

Source: Internet
Author: User

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.

sudo apt-get install curl openssh-server ca-certificates postfix

2. Add the Gitlab package and install it
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bashsudo apt-get install gitlab-ce

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:


sudo dpkg -i gitlab-ce_7.10.5~omnibus-1_amd64.deb

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:


Username: rootPassword: 5iveL!fe

5. References (it's important to put it at the end)
    1. Http://www.tuicool.com/articles/3uAzay Gitlab Installation Chapter-ubuntu 14.04 LTS
    2. HTTPS://ABOUT.GITLAB.COM/DOWNLOADS/GITLAB Official Website Installation Guide
    3. Example of SMTP server setup in Https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/smtp.md#examples Gitlab
    4. HTTP://WIKI.UBUNTU.ORG.CN/POSTFIXBASICSETUPHOWTO postfix Basic Introduction and Beginner's Guide

Ubuntu 14.04 Installation Gitlab Guide

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.