centos搭建gitlib
2024-09-04 00:55:53
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
最新文章
- [No00008C]图解SQL的各种连接join让你对SQL的连接一目了然
- js定时器的时间最小值-setTimeout、setInterval
- windows系统查看80端口被占用的程序并结束该程序运行
- C#Web异步操作封装
- [转]MongoDB for Java】Java操作MongoDB
- 浅析jQuery框架与构造对象
- WinForm中Component Class、User Control及Custom Control的区别和使用建议
- 移动端REM布局方案
- junit4测试 Spring MVC注解方式
- hibernate 之 HQL语句总结【转】
- uva 11732 - strcmp() Anyone? 不错的Trie题
- 又一次认识HTML,CSS,Javascript 之node-webkit 初探
- PHP 性能追踪及分析工具(XHPROF)
- 禁止UIWebView随键盘的弹起而往上滚动
- Mahout决策森林
- Stochastic Gradient Descent 随机梯度下降法-R实现
- 使用freemarker生成word文档处理表格数据
- Eclipse下支持编写HTML/JS/CSS/JSP页面的自动提示
- python3 在文件确实存在的情况下,运行提示找不到文件
- 原创SQlServer数据库生成简单的说明文档包含(存储过程、视图、数据库批量备份)小工具(附源码)
热门文章
- Java基础 -1.4
- #P2341 [HAOI2006]受欢迎的牛 题解
- IDEA启动项目的时候,控制台中显示的都是乱码
- 46 求1+2+3+...+n 静态成员函数和静态变量
- 108、Java中String类之字符串文本替换
- delphi中的pansichar和pchar等类型的区别
- pycharm不能安装第三方库,错误代码Non-zero exit code (1) 的解决办法
- CyclicBarrier 解读
- 代码审计(1):sql注入漏洞
- 吴裕雄 Bootstrap 前端框架开发——Bootstrap 按钮:表示一个危险动作的按钮操作