一、安装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

补充说明:https://www.cnblogs.com/alex-note/p/7458848.html

最新文章

  1. VB兼容问题
  2. ID3决策树的Java实现
  3. Python-内置类属性
  4. Backup: Date and Time in Perl6
  5. linux(centos7)下安装tomcat7
  6. Qt出现警告 Unescaped backslashes are deprecated!解决办法
  7. 建站服务器的最优选择之Windows Or Linux
  8. [LeetCode]Rotate Image(矩阵旋转)
  9. 团队作业8——Beta 阶段冲刺4th day
  10. sql集锦
  11. CentOS7 配置SVN服务器
  12. mfc启动画面
  13. Swing——简单的计算器
  14. cpt212b--- 触摸芯片配置
  15. 插入排序专题 直接插入 折半 希尔shell
  16. Identity(四)
  17. ELK实时日志分析平台环境部署--完整记录(转)
  18. Python输出9*9 乘法表
  19. e867. 获取和设置外观
  20. 手动实现图片预览-放大缩小全屏支持IE9以上

热门文章

  1. 从柯洁对战AlphaGo,看商业智能
  2. react基础篇二
  3. Hotel 旅馆 题解(From luoguBlog)
  4. String类的特点和使用步骤
  5. [luogu1397 NOI2013] 矩阵游戏 (数学)
  6. node源码详解(五)
  7. phpcms_完整版
  8. 修改oracle数据库时间
  9. web跨域通信问题解决
  10. Navicat Premium (patch and keygen)