CentOS Installation Gitlab

Source: Internet
Author: User

Follow the official tutorial steps: https://about.gitlab.com/downloads/#centos6

But take this step

Curl Https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bashsudo yum install Gitlab-ce

Error will not find the image file.

So I downloaded the rpm file myself in the installation.

The steps are as follows:

Sudo yum install openssh-serversudo yum install postfix # sendmail  or exim is also oksudo rpm -i gitlab-6.9.2_omnibus.1-1.el6.x86_64.rpm  # this is the .rpm you downloadedsudo gitlab-ctl reconfigure    //may error: External url must include a fqdn (solution below) Sudo lokkit  -s http -s ssh # open up the firewall for HTTP  and ssh requestsok!sudo gitlab-ctl status;    #查看安装后的程序运行情况! The output is as follows:run: nginx:  (pid 3012)  53s; run: log:  (pid 3011)  53srun:  postgresql:  (pid 2857)  87s; run: log:  (pid 2856)  87srun:  redis:  (pid 2759)  98s; run: log:  (pid 2758)  98srun: sidekiq:   (pid 2967)  60s; run: log:  (pid 2966)  60srun: unicorn:  (pid 2938)  66s; run: log:  ( pid 2937)  66s indicates that the installation was successful. Access:http://localhost    or   HTTP://IP through a browser

OK, the user name and password are root/5ivel!fe by default

Problems encountered:

1. Error:External URL must include a FQDN

/etc/gitlab/gitlab.rb default does not "=", to add themselves

External_url = ' gitlab.thefallenphoenix.net '


Attached Gitlab network address: Http://pan.baidu.com/s/1nt7xeEP



Official installation Method: Https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md





CentOS Installation Gitlab

Related Article

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.