sudo yum install -y curl policycoreutils-python openssh-server

sudo yum -y install postfix
sudo systemctl enable postfix
sudo systemctl start postfix

yum -y install wget vim

systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
yum install iptables-services -y
vi /etc/sysconfig/iptables
开放gitlab端口
systemctl restart iptables.service
systemctl enable iptables.service

wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-11.9.8-ce.0.el7.x86_64.rpm
rpm -i gitlab-ce-11.9.8-ce.0.el7.x86_64.rpm
vim /etc/gitlab/gitlab.rb
修改域名及端口:external_url "http://ip或域名:端口"
gitlab-ctl reconfigure
gitlab-ctl restart

最新文章

  1. [No00008C]图解SQL的各种连接join让你对SQL的连接一目了然
  2. js定时器的时间最小值-setTimeout、setInterval
  3. windows系统查看80端口被占用的程序并结束该程序运行
  4. C#Web异步操作封装
  5. [转]MongoDB for Java】Java操作MongoDB
  6. 浅析jQuery框架与构造对象
  7. WinForm中Component Class、User Control及Custom Control的区别和使用建议
  8. 移动端REM布局方案
  9. junit4测试 Spring MVC注解方式
  10. hibernate 之 HQL语句总结【转】
  11. uva 11732 - strcmp() Anyone? 不错的Trie题
  12. 又一次认识HTML,CSS,Javascript 之node-webkit 初探
  13. PHP 性能追踪及分析工具(XHPROF)
  14. 禁止UIWebView随键盘的弹起而往上滚动
  15. Mahout决策森林
  16. Stochastic Gradient Descent 随机梯度下降法-R实现
  17. 使用freemarker生成word文档处理表格数据
  18. Eclipse下支持编写HTML/JS/CSS/JSP页面的自动提示
  19. python3 在文件确实存在的情况下,运行提示找不到文件
  20. 原创SQlServer数据库生成简单的说明文档包含(存储过程、视图、数据库批量备份)小工具(附源码)

热门文章

  1. Java基础 -1.4
  2. #P2341 [HAOI2006]受欢迎的牛 题解
  3. IDEA启动项目的时候,控制台中显示的都是乱码
  4. 46 求1+2+3+...+n 静态成员函数和静态变量
  5. 108、Java中String类之字符串文本替换
  6. delphi中的pansichar和pchar等类型的区别
  7. pycharm不能安装第三方库,错误代码Non-zero exit code (1) 的解决办法
  8. CyclicBarrier 解读
  9. 代码审计(1):sql注入漏洞
  10. 吴裕雄 Bootstrap 前端框架开发——Bootstrap 按钮:表示一个危险动作的按钮操作