centos上搭建gitLab(亲自搭建,必须滴可以)

1 篇文章 0 订阅

安装gitlab版:6.9.2
rpm发行文件名:gitlab-6.9.2_omnibus.1-1.el6.x86_64.rpm

安装步骤代码:
#sudo yum install openssh-server
#sudo yum install postfix # sendmail or exim is also OK
#sudo rpm -i gitlab-6.9.2_omnibus.1-1.el6.x86_64.rpm # this is the .rpm you downloaded
#sudo gitlab-ctl reconfigure
#sudo lokkit -s http -s ssh # open up the firewall for HTTP and SSH requests

ok!
#sudo gitlab-ctl status;   #查看安装后的程序运行情况!输出如下:

run: nginx: (pid 3012) 53s; run: log: (pid 3011) 53s
run: postgresql: (pid 2857) 87s; run: log: (pid 2856) 87s
run: redis: (pid 2759) 98s; run: log: (pid 2758) 98s
run: sidekiq: (pid 2967) 60s; run: log: (pid 2966) 60s
run: unicorn: (pid 2938) 66s; run: log: (pid 2937) 66s

说明安装成功。

通过浏览器访问:http://localhost   或者  http://ip

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

输入:root/5iveL!fe  登录!
ok,登录成功,首次登录需修改密码,我修改为:12345678,然后重新登录,就可以开始gitlab之旅了。

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值