environment readiness Operating system: CentOS Linux release 7.2.1511 (Core) Gitlab version: gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm Download Image: Tsinghua University open source software image station Https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/wget https:// mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm Ii. Installation and configuration of Gitlab 1. Install yum installed -Y gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm 2, modify configuration file gitlab.rb External_url ' http://gitlab.example.com ' grep-n ' ^ ' [A-z]/E
TC/GITLAB/GITLAB.RB 13:external_url ' http://172.16.8.200 ' reconfiguration Gitlab gitlab-ctl reconfigure Stop Gitlab service Gitlab-ctl stop 3. Chinese patch view version cat/opt/gitlab/embedded/service/gitlab-rails/version 10.0.0 yum-y install git clone get Chinese version repository git clone https ://gitlab.com/xhang/gitlab.git View the version of the Chinese patch cat gitlab/version 10.2.3 cd/root/gitlab/git diff v10.0.0 V10.0.0-zh >/tm P/10.0.0-zh.diff Yum Install patch-y patch-d/opt/gitlab/embedded/service/gitlab-rails-p1 </tmp/10.0.0-zh.diff start Gitlab gitlab-ctl Start reconfiguration Gitlab Gitlab-ctl reconfigure
The IP where the browser accesses the Gitlab