bitnami gitlab 安装

来源:互联网 发布:java接口定义静态方法 编辑:程序博客网 时间:2024/05/03 18:29

bitnami gitlab 安装真的很方便。


需要注意如下:

CentOS下添加防火墙规则: 运行http  https  ssh 协议

lokkit -s http -s https -s ssh


如果客户端用ssh连接git出现如下错误:

/usr/local/lib/ruby/1.9.1/net/http.rb:762:in `initialize': getaddrinfo: Name or service not known (SocketError)
......

......

fatal: Could not read from remote repository. 
Please make sure you have the correct access rights and the repository exists.

在/etc/hosts中添加一个域名地址映射:
127.0.0.1  YOUR_DOMIN # YOUR_DOMIN是在/home/git/gitlab-shell/config.yml中配置的gitlab_url

0 0
原创粉丝点击