Linux installation gitlab (2) Chinese version

  1. Download patch
git clone https://gitlab.com/xhang/gitlab.git

There may be a -bash: git: command not foundproblem; the
solution executes the command: yum install -y git
2. Enter gitlab: cd gitlab
3. Check the version: git branch -a
4. Generate a patch corresponding to your version: mine is 10.0.0 so it is:
git diff remotes/origin/10-0-stable remotes/origin/10-0-stable-zh > /tmp/10.0.0-zh.diff
5. Stop the service: gitlab-ctl stop
6. Patch: patch -d /opt/gitlab/embedded/service/gitlab-rails -p1 < /tmp/10.0.0-zh.diff
7. Configuration and restart:

gitlab-ctl reconfigure
gitlab-ctl start

Insert picture description here

Published 104 original articles · Liked 18 · Visitation 8621

Guess you like

Origin blog.csdn.net/y368769/article/details/103956254