首页 > 其他 > 详细

gitlab quickly install

时间:2018-07-11 13:11:49      阅读:116      评论:0      收藏:0      [点我收藏+]

一、安装gitlab依赖环境  

 yum -y install vim wget epel-release
  yum install curl policycoreutils openssh-server openssh-clients -y
  systemctl enable sshd
  systemctl start shhd
  systemctl start sshd
  yum install postfix -y
  systemctl enable postfix
  systemctl start postfix
  firewall-cmd --permanent --add-service=http
  systemctl reload firewalld

二、下载安装gitlab

  wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-9.5.1-ce.0.el7.x86_64.rpm
  chmod 755 gitlab-ce-9.5.1-ce.0.el7.x86_64.rpm 
  rpm -ivh gitlab-ce-9.5.1-ce.0.el7.x86_64.rpm 

三、启动gitlab

  gitlab-ctl reconfigure
  vim /etc/gitlab/gitlab.rb 
        external_url ‘http://本机ip地址‘
  gitlab-ctl reconfigure

gitlab quickly install

原文:https://www.cnblogs.com/ipyanthony/p/9293661.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!