Ten, Git-- Gitlab server build process ??? Ali cloud installation http unresponsive

Version centos7 (note that corresponds to the version) gitlab-ce-10.8.2-ce.0.el7.x86_64.rpm

1 Gitlab official website address
Home: https://about.gitlab.com/
Installation Instructions: https://about.gitlab.com/installation/

2 installation command extract (official website)

-Y curl the policycoreutils yum the install the sudo-Python OpenSSH-Server Cronie
the sudo HTTP -s -s SSH lokkit,
the sudo yum the install postfix
the sudo Start-Service postfix
the sudo the chkconfig postfix ON
curl https://packages.gitlab.com/install/repositories/gitlab/ EE-gitlab / script.rpm.sh | sudo bash
sudo EXTERNAL_URL = " http://gitlab.example.com " yum -y install gitlab-EE
practical issues: when yum install gitlab-ee (or ce), internet connection required to download hundreds of M installation file, very time consuming
when it should advance to the desired RPM package downloaded and installed.
Download address:
https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-10.8.2-ce.0.el7.x86_64.rpm

After installation of the installation process after 3 adjustment adjustment (this subject)
the sudo RPM -ivh /opt/gitlab-ce-10.8.2-ce.0.el7.x86_64.rpm
the sudo yum the install the policycoreutils -Y-curl Python Server-Cronie OpenSSH
yum install lokkit
sudo -s lokkit HTTP SSH -s
sudo yum install postfix
sudo postfix Service Start
sudo chkconfig postfix ON
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script. rpm.sh | sudo bash
sudo EXTERNAL_URL = " http://gitlab.example.com " yum -y install gitlab-ce

The current step is completed after the restart.

4 gitlab service operations

1) initial configuration gitlab
gitlab the reconfigure-CTL

2) Start gitlab service
gitlab-ctl start

3) Stop gitlab service
gitlab-ctl stop

5 browser access

Linux servers can access the IP address, if you want to access EXTERNAL_URL specified domain name also need to configure the
domain name server or local hosts file.
You need to set a password for the root user gitlab when you first log on.

Here Insert Picture Description

root / atguigu2018good
※ should need to stop the firewall service:
Service firewalld STOP (O & M needs to set up a firewall on port development production, can not turn off the firewall directly)

Guess you like

Origin blog.csdn.net/m0_38143867/article/details/92798964