CentOS7.5安装GitLab及汉化 - wintercloud - 博客园 一、GitLab英文版安装 1.下载gitlab安装包,然后安装 1 wget --content-disposition https: //packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-10.8.4-ce.0.el7.x86_64.rpm/download.rpm 2.下载安装python 1 yum install policycoreutils-python 3.安装 gitlab 1 rpm -ivh gitlab-ce-10.8.4-ce.0.el7.x86_64.rpm 4.修改配置文件 将external_url变量的地址修改为gitlab所在centos的ip地址(或者域名) 1 vim /etc/gitlab/gitlab.rb 5.使配置生效并启动GitLab 1 gitlab-ctl reconfigure 1 gitlab-ctl restart 在浏览器输入ip:端口号即可访问GitLab web页面,输入密码后进入系统。如果不需要汉化,至此已安装完成(如果需要邮件服务 还需修改配置文件) 二、 GitLab汉化 1、安装git 1 yum install -y git 2.克隆汉化补丁仓库 1 git clone https: //gitlab.com/xhang/gitlab.git 3.查看当前gitlab版本并且获取对应版本的中文补丁 1 head -1 /opt/gitlab/version-manifest.txt 1 cd gitlab 1 ...
评论
发表评论