V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
acking
V2EX  ›  GitLab

gitlab 搭建一路走来,还是失败,求解救..

  •  1
     
  •   acking · Sep 15, 2014 · 6945 views
    This topic created in 4242 days ago, the information mentioned may be changed or developed.
    服务器环境centos 6.3

    参考: http://www.01happy.com/centos-6-5-install-gitlab/

    执行这句的时候:
    wget -O /etc/nginx/sites-available/gitlab https://raw.github.com/gitlabhq/gitlab-recipes/master/web-server/nginx/gitlab-ssl

    已发出 HTTP 请求,正在等待回应... 404 Not Found

    何解。
    23 replies    2014-09-17 14:57:31 +08:00
    kqz901002
        1
    kqz901002  
       Sep 15, 2014
    为什么不用ubuntu.
    acking
        2
    acking  
    OP
       Sep 15, 2014
    @kqz901002 问的好,真实环境就是centos6
    Sunyanzi
        3
    Sunyanzi  
       Sep 15, 2014
    6.3 都可以直接用 gitlab 的集成环境了吧 ... 干嘛还编译安装 ...

    nginx 的配置文件在 lib/support/nginx/gitlab-ssl ... 不用从网上下的 ...
    acking
        4
    acking  
    OP
       Sep 15, 2014
    @Sunyanzi 想改为apache环境,但是各种报错,各种服务无法启动...
    Sunyanzi
        5
    Sunyanzi  
       Sep 15, 2014
    @acking 为何要改 apache ... nginx 你都搞不定 apache + passenger 你更是别想 ...

    不管怎么说我还是建议按照官方说明来安装 ... 网上的教程各种坑 ... 谁信谁倒霉 ...
    halfelf
        6
    halfelf  
       Sep 15, 2014
    因为官方地址换了啊,不参考官方的recipe,看什么九个月前的文档
    cdffh
        7
    cdffh  
       Sep 15, 2014
    用bitnami那个集成环境把。@sunyanzi 说得对。 网上得教程坑太多了。而且时效性太强。跟着官方文档走吧。
    CoX
        8
    CoX  
       Sep 15, 2014
    试试官方的package
    https://about.gitlab.com/downloads/
    不需要做乱七八糟的配置
    dragonszy
        9
    dragonszy  
       Sep 15, 2014
    http://gogs.io 一分钟部署不好请联系作者。
    Tonni
        10
    Tonni  
       Sep 15, 2014
    为什么不跟着官方文档走?我安装这个东西也跳了不少坑,安装完后,发现没什么用。
    wzxjohn
        11
    wzxjohn  
       Sep 15, 2014
    Nginx config moved to official repository

    You can find the nginx config in GitLab official repository.

    为何不能自己动手看一下Github找找原因呢。。。人家写的很明白了。。。
    https://gitlab.com/gitlab-org/gitlab-ce/blob/master/lib/support/nginx/gitlab-ssl
    https://gitlab.com/gitlab-org/gitlab-ce/blob/master/lib/support/nginx/gitlab
    aveline
        12
    aveline  
       Sep 15, 2014
    直接用官方的包即可了,哪儿来那么多事儿。

    https://about.gitlab.com/downloads/
    xuyuanp
        13
    xuyuanp  
       Sep 15, 2014
    你需要docker
    s51431980
        14
    s51431980  
       Sep 15, 2014
    xp0729
        15
    xp0729  
       Sep 15, 2014
    难得看到用gitlab的,不过我进公司的时候老大就搭好了所以没有折腾
    mengzhuo
        16
    mengzhuo  
       Sep 15, 2014
    搭过Gitlab的路过,
    Ubuntu
    都是做好的包,根本没什么问题

    真搞不懂你们明明水平不到家,还这么迷恋编译安装
    heww
        17
    heww  
       Sep 15, 2014
    zeayes
        18
    zeayes  
       Sep 15, 2014
    fanghui
        19
    fanghui  
       Sep 15, 2014
    9hills
        20
    9hills  
       Sep 15, 2014
    看官方文档,不要看第三方的
    acking
        22
    acking  
    OP
       Sep 17, 2014
    @linkoubian 这个是否是套件,直接按文档安装就可以,刚装的centos6,就可以直接使用?
    acking
        23
    acking  
    OP
       Sep 17, 2014
    @aveline
    @linkoubian

    执行:sudo rpm -i gitlab-7.2.1_omnibus-1.el6.x86_64.rpm

    反馈:package gitlab-7.2.1_omnibus-1.el6.x86_64 is intended for a x86_64 architecture
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4184 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 67ms · UTC 00:05 · PVG 08:05 · LAX 17:05 · JFK 20:05
    ♥ Do have faith in what you're doing.