ubuntu14.10 installation Gitlab

Source: Internet
Author: User

1 Switching Source:

# Curl Https://packages.gitlab.com/gpg.key 2>/dev/null | sudo apt-key add-&>/dev/null

# echo ' Deb Https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/ubuntu trusty main ' >>/etc/apt/sources.list.d/ Gitlab-ce.list

# Apt-get Update

# Apt-get Install Gitlab-ce

2 Configuring domain Names and mailboxes

Vi/etc/gitlab/gitlab.rb

1

2

3

4

5

6

7

8

9

10

11

12

13

14

Gitlab_rails[' smtp_enable '] = true

Gitlab_rails[' smtp_address '] = "smtp.qq.com"

Gitlab_rails[' Smtp_port '] = 465

Gitlab_rails[' Smtp_user_name '] = "[email protected]"

Gitlab_rails[' Smtp_password '] = "Your_smtp_user_password"

Gitlab_rails[' smtp_authentication '] = "Login"

Gitlab_rails[' Smtp_ssl '] = true

Gitlab_rails[' Smtp_enable_starttls_auto '] = true

Gitlab_rails[' Smtp_tls '] = true

# If Your SMTP server does not like the default ' from: [email protected] ' you

# can change the "from" with this setting.

Gitlab_rails[' Gitlab_email_from '] = ' [email protected] '

Gitlab_rails[' gitlab_email_reply_to '] = ' [email protected] '

3 Modify server Address:

External_url ' http://your_domain_or_ip.com '

4 after execution Gitlab-ctl reconfigure effective configuration

5 Open External_url address, change the password can be accessed, the default root

ubuntu14.10 installation Gitlab

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.