GitLab-Linux under GitLab installation tutorial

Source: Internet
Author: User

Source installation GitLab Steps cumbersome: Need to install a dependency package, Mysql,redis,postfix,ruby,nginx ... After installation, you have to manually configure these software, error -prone-this way does not do tutorial

Environment: CentOS 6.5 X64-minimal

Gillab Official website: https://about.gitlab.com/

Official Installation Tutorial: https://about.gitlab.com/downloads/

Installation method: Gitlab-ce

Officially available Tutorials

As shown: You need to select the installed system version and follow the tutorial to install Gitlab. (If English is better, you can use the official tutorial directly)

1. Install the Configuration dependencies

If you have installed Postfix to send mail, select ' Internet Site ' during installation, or you can use Sendmail or a custom SMTP server to replace Postfix.

If you want to use EXIM, please configure it as SMTP.

On CentOS 6 and 7, the following command also configures the system firewall to open the HTTP and SSH ports.

sudo yum install Curl openssh-server openssh-clients postfix croniesudo service postfix startsudo chkconfig postfix onsudo Lokkit-s http-s SSH

Installation process diagram

  

2. Add and install the Gitlab package

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

Installation process diagram

  

If you are not accustomed to this way of installing through a pipeline command, you can find the completed installation script here, or you can select the corresponding Gitlab installation package. and install it using the following command

Curl-ljo Https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/6/gitlab-ce-XXX.rpm/downloadrpm-i gitlab-ce-xxx.rpm

  

3. Configuring and Using Gitlab

sudo gitlab-ctl reconfigure

  

4. Visit Gitlab

Access the Gitlab host name (IP address, port 80 for example: http://192.168.1.100:80) in the browser

On your first visit, you will be redirected to the password reset page to provide the password for the initial administrator account ...

Enter the password you want and you will be redirected back to the login screen. The user name for the default account is root. Provide the password you created earlier and log in. After logging in, you can change the user name as needed.

  

                          

GitLab-Linux under GitLab installation tutorial

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.