1月 192016
 

gitlab安装 有麻烦的方法: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md

也有简单的方法: https://about.gitlab.com/downloads/#centos6

yum安装或者脚本安装实在太慢,即使走代理也很慢; 当然,可以:

如果不小心断网又得从来,不可取。

俺的办法是: 用百度的离线下载功能先把rpm: https://packages.gitlab.com/gitlab/gitlab-ce  下载下来,百度离线下载几分钟就能搞定,然后,再从百度下载rpm,再然后:

安装完成后有提示接下来该怎么做,我建议你接下来不要着急配自己的nginx,而是直接enable  rpm中自带的nginx

配置文件基本只有一个: /etc/gitlab/gitlab.rb

修改完直接:

根本不用stop start;

注意:千万不要stop的时候reconfigure,这样总是出错,start状态下直接reconfigure还挺快的

 

配置见下篇

 

 Posted by at 下午 1:33

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

(required)

(required)

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据