Install gitLab under centos and get started demo

Download the rpm package:
wget https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-9.2.0-ce.0.el7.x86_64.rpm
Insert picture description here
needs to install openssh-server dependency : Yum install -y install
after openssh-server :
Insert picture description here
Initial configuration: gitlab-ctl reconfigure and
finally
Insert picture description here
gitlab-ctl status Insert picture description here
GitLab default configuration file path: /etc/gitlab/
/etc/gitlab/gitlab.rb: main configuration file, including external URL, warehouse directory, backup directory, etc.
/etc/gitlab/gitlab-secrets.json: (generated after executing the gitlab-ctl reconfigure command line), contains the encrypted information of various keys

Modify the external_url'http://ip' in the configuration file /etc/gitlab/gitlab.rb to set the access IP or domain name. This article has already been automatically set when it is initialized:
Insert picture description here
Configure the client hosts file access:
Insert picture description here
log in after modifying the root password:
Insert picture description here
Sinicization first, find the Sinicization package: 9-2-zh.diff
Execute: patch -d /opt/gitlab/embedded/service/gitlab-rails -p1 <9-2-zh.diff

Reinitialization: gitlab-ctl reconfigure
is logging in:
Insert picture description here

Create project
Insert picture description here

Guess you like

Origin blog.csdn.net/yangyi_CSDN/article/details/109165323