yuandan 发表于 2018-1-11 22:18:08

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

  安装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之旅了。
页: [1]
查看完整版本: centos上搭建gitLab(亲自搭建,必须滴可以)