rsync同步yum源
来源:互联网 发布:javabean 数据库 编辑:程序博客网 时间:2024/06/11 08:50
编写同步脚本
/usr/bin/rsync -avrt --bwlimit=8000 --delete --exclude-from="file_exclude" rsync://mirrors.tuna.tsinghua.edu.cn/centos/ /data/servers/yum/centos/ &>>/data/servers/update_yum_source.log &
执行完同步后,配置Nginx,开80端口,采用http方式
关键的配置项:
root /data/servers/yum;
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
编写定时同步crond
#rsync yum update
0 0 * * * /data/servers/yum_update.sh &>/dev/null &
/usr/bin/rsync -avrt --bwlimit=8000 --delete --exclude-from="file_exclude" rsync://mirrors.tuna.tsinghua.edu.cn/centos/ /data/servers/yum/centos/ &>>/data/servers/update_yum_source.log &
执行完同步后,配置Nginx,开80端口,采用http方式
关键的配置项:
root /data/servers/yum;
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
编写定时同步crond
#rsync yum update
0 0 * * * /data/servers/yum_update.sh &>/dev/null &
阅读全文
0 0
- rsync同步yum源
- rsync 同步centos源
- rsync同步
- rsync 同步
- rsync同步
- rsync同步
- rsync同步
- rsync同步
- rsync同步
- rsync同步
- 同步yum源
- rsync远程同步——配置rsync源服务器
- yum安装rsync
- lsyncd+rsync实时同步rsync同步
- rsync 同步使用详解
- rsync搭建同步策略
- Rsync+ssh同步服务器
- rsync同步专题
- Linux下的进程间通信-详解
- Deploy Composer and Generate REST API
- 关于程序员之间丧心病狂的鄙视链——编程语言篇
- 便捷提取python导入包的属性
- MySQL大表优化方案
- rsync同步yum源
- 获取html中光标位置
- Spring MVC的基本概念及处理的流程
- 最新的chromedriver与chrome的对应关系表
- AppBarLayout 介绍和简单使用
- 阿里云ECS服务器Centos安全漏洞修复
- Mastering the game of Go without human knowledge笔记
- QT学习之QString的arg方法
- 1106---BFS找最短路径