kali linux install gitlab

The office doc almost cover every aspect of instaling.So I'm not going to write down everything,only problem and solution.

offical doc url: http://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md


problem 1: when install the dependences,kali echo:Unable to locate package nodejs
                     So the answer lise in :http://stackoverflow.com/questions/18584035/installing-nodejs-on-debian-6

                     now,the download url of nodejs is :http://nodejs.org/dist/v0.12.0/node-v0.12.0.tar.gz


problem 2:when I install the ruby gem,I find that kali use the ruby,1.9 not the ruby 2.0/2.1, i just reinstall It as the gitlab doc ,not know whether this will cause problem,I don't care after all.


problem 3:kali install both postgresql and mysql,but postgresql service didn't start ,So just start it wehn u ru nthe order,but in this ,I forget to install libpq-dev,so just fllow the doc.


problem 4:git is in /usr/bin,don't change it to /usr/local/bin/git.


problem 5:remember to change the ruby source into http://ruby.taobao.org


that's all I can remember now.


well,I suddenly find anather problem ,If u install gitlab with the config :host localhost,then after u finish  ,U will find that when pushing or cloning some projects,It will inform U:

Cloning into 'your project name'...
fatal: protocol error: bad line length character: API 

solution to that :

#type this

cd /home/git/gitlab

#change the host into you local IP,or you  internet domain

vim config/gitlab.yml

#after change that,cd to the gitlab-shell

cd /home/git/gitlab-shell

#change the http://localhost/ into http://your ip/your domain/

vim config.yml

#then u can restart gitlab, redis-server,nginx the problem solved.


good luck

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值