centos上搭gitlab
来源:互联网 发布:ambr软件 编辑:程序博客网 时间:2024/05/18 00:44
1.下载rpm安装包并安装
curl -LJO https://mirror.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-8.5.4-ce.0.el7.x86_64.rpmrpm -i gitlab-ce-8.5.4-ce.0.el7.x86_64.rpm
2.安装包自带nginx 我们停掉 用本机已安装的,gitlab的配置文件在/etc/gitlab/gitlab.rb下,把nginx设置为false即可,然后再配置自己的nginx host
nginx['enable'] = false
3.gitlab配置文件修改访问host地址
external_url = 'http://www.xxx.com'
4.汉化
git clone https://gitlab.com/larryli/gitlab.git
确定当前gitlab版本
sudo cat /opt/gitlab/embedded/service/gitlab-rails/VERSION
下载后进入刚刚checkout的目录 然后做diff 比如版本是8.5
git diff origin/8-5-stable origin/8-5-zh > /tmp/8.5.diff
停止gitlab 合并
sudo gitlab-ctl stopsudo patch -d /opt/gitlab/embedded/service/gitlab-rails -p1 < /tmp/8.5.diff
阅读全文
0 0
- centos上搭gitlab
- CentOS上安装gitlab
- CentOS上安装GitLab
- 在CentOS上安装GITLAB
- centos上GITLAB的搭建
- CentOS上GitLab的安装配置
- 在CentOS 7上安装GitLab
- 在Centos上用Docker安装gitlab
- CentOS上nginx不能正常转发到gitlab端口
- centos上搭建gitLab(亲自搭建,必须滴可以)
- 在 CentOS 7 上使用 Docker 部署安装 GitLab
- CentOS 6安装Gitlab
- Centos搭建gitlab
- CentOS下一键安装GitLab
- centOS 7安装 gitLab
- Centos 安装gitlab
- centos下安装gitlab
- CentOS安装GitLab
- MySQL的事务隔离级别
- 常用sql语句
- 按照时间间隔查询数据库
- Tensorflow中队列的使用
- C++学习(62)
- centos上搭gitlab
- wamp上的apache如何配置ssL证书,将我们的http改成Https
- Codeforces 834 C The Meaningless Game(二分)
- Java程序员最常犯的错误盘点
- neo4j 的操作
- 算法学习记录一(C++)--->二维数组中的查找
- Search Insert Position
- 40. Combination Sum II
- Hello,Blogs