V2EX tekin 的所有回复 第 1 页 / 共 1 页
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX    tekin    全部回复第 1 页 / 共 1 页
回复总数  16
@gevin 我就一台VPS暂时不安装docker了,以后需要时看看,谢谢
windows下 git bash响应很慢,是什么问题导致的,大家有遇到过吗?
总结一下:
如果机器配置低bitnami的和别的一键安装可能不合适,低配置最好自己编译安装,有点麻烦,但还是能成功的。 谢谢大家总算成功了。版本问题和权限问题。目前只能是ssh方式可以了。
ssh方式正常,但 http方式 push报错:
Total 3 (delta 0), reused 0 (delta 0)
remote: /usr/local/ruby/lib/ruby/2.1.0/net/protocol.rb:158:in `rescue in rbuf_fill': Net::ReadTimeout (Net::ReadTimeout)
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/protocol.rb:152:in `rbuf_fill'
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/protocol.rb:134:in `readuntil'
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/protocol.rb:144:in `readline'
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/http/response.rb:39:in `read_status_line'
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/http/response.rb:28:in `read_new'
remote: from /usr/local/uby/lib/ruby/2.1.0/net/http.rb:1408:in `block in transport_request'
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:1405:in `catch'
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:1405:in `transport_request'
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:1378:in `request'
remote: from /home/git/gitlab-shell/lib/gitlab_net.rb:103:in `block in post'
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:853:in `start'
remote: from /home/git/gitlab-shell/lib/gitlab_net.rb:103:in `post'
remote: from /home/git/gitlab-shell/lib/gitlab_net.rb:28:in `check_access'
remote: from /home/git/gitlab-shell/lib/gitlab_access.rb:21:in `exec'
remote: from hooks/pre-receive:13:in `<main>'
To http://xxxxx/root/hello.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'http://xxxxx/root/hello.git'
/etc/hosts添加 127.0.0.1 localhost 就可以了、我先测试功能
重新安装了一遍,最后检查出问题:
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:879:in `initialize': Address family not supported by protocol - socket(2) for "localhost" port 8080 (Errno::EAFNOSUPPORT)
from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:879:in `open'
from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:879:in `block in connect'
from /usr/local/ruby/lib/ruby/2.1.0/timeout.rb:76:in `timeout'
from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:878:in `connect'
from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:852:in `start'
from /home/git/gitlab-shell/lib/gitlab_net.rb:86:in `get'
from /home/git/gitlab-shell/lib/gitlab_net.rb:44:in `check'
from /home/git/gitlab-shell/bin/check:11:in `<main>'
gitlab-shell self-check failed
Try fixing it:
Make sure GitLab is running;
Check the gitlab-shell configuration file:
sudo -u git -H editor /home/git/gitlab-shell/config.yml
Please fix the error above and rerun the checks.

config.yml:
gitlab_url: "http://localhost:8080"

unicorn.rb:
listen "127.0.0.1:8080", :tcp_nopush => true

gitlab.yml:
port: 80
@lyf362345 系统是centos6,是按照官方教程一步步安装的,一次安装成功,但无法push、加我QQ
@lerry 系统是centos吗?我也是默认配置,改了域名,但无法push,你的http还是https, ssh push正常吗?能Q远程看看吗?
@lerry 我系统已经部署了一些应用,暂时就手动安装看看,能否把你的相关配置参数给我们看看,如:gitlab.yml, gitlab-shell config.yml, unicorn.rb, resque.yml里的IP和端口、ssh key等参数设置。
@RoshanWu 谢谢,我先看看
@sarices 已经折腾这么久了,暂时不想放弃,先解决了gitlab问题,后面有空时好好体验下,谢谢推荐。
@ldehai 能否把你的相关配置参数文件提供下,只提供IP和端口相关的设置。如:gitlab.yml, gitlab-shell config.yml, unicorn.rb, resque.yml里的IP和端口、ssh key等参数设置。
@ldehai 是gitlab--config/gitlab.yml里写的是域名、上面提供了相关配置参数,能帮我看看吗? 配置参数是否正确?
如果有谁想远程帮我看看,联系QQ:84247764、到时候也 可以提供服务器
官方一键安装包返回:
package gitlab-7.2.1_omnibus-1.el6.x86_64 is intended for a x86_64 architecture
不支持还是怎么回事?
2015-01-21 15:51:25 +08:00
回复了 egen 创建的主题 程序员 打造完美 Windows git 命令行 环境
win7上git bash响应速度很慢,有解决办法吗? 还是换cygwin+git
关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     3093 人在线   最高记录 6679       Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 17ms UTC 11:48 PVG 19:48 LAX 04:48 JFK 07:48
Do have faith in what you're doing.
ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86