henda 发表于 2018-1-11 21:48:47

废话不多说之gitlab搭建

  1.下载必要的安装包
  https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6
  选择一个你要的版本
  2.执行安装代码
  yum install openssh-server
  yum install postfix # sendmail or exim is also OK
  rpm -ivh gitlab-ce-8.8.5-ce.1.el7.x86_64.rpm #安装
  gitlab-ctl reconfigure#配置并启动gitlab
  vim /etc/gitlab/gitlab.rb   #修改配置文件
  external_url 'http://192.168.2.22' #修改为自己的ip地址或域名
  打开浏览器输入http://192.168.2.22
https://images2015.cnblogs.com/blog/1015655/201703/1015655-20170302225108610-2112015059.png
  第一次登录要求设置root密码
  输入:root/5iveL!fe
页: [1]
查看完整版本: 废话不多说之gitlab搭建