晓张 XiaoZhang.net http://www.xiaozhang.net [分享] [RSS]

日志

Linx软件源同步命令及路径(自整理)

已有 741 次阅读2017-2-23 15:35 |个人分类:IT世界| 晓张, Linux, 软件源


Linx软件源同步命令及路径(自整理)


# 同步centos/7版本相关源
/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7/os/x86_64/ /var/spool/yum-mirrors/centos/7/os/x86_64/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7/isos/x86_64/ /var/spool/yum-mirrors/centos/7/isos/x86_64/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7/extras/x86_64/ /var/spool/yum-mirrors/centos/7/extras/x86_64/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7/updates/x86_64/ /var/spool/yum-mirrors/centos/7/updates/x86_64/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7/centosplus/x86_64/ /var/spool/yum-mirrors/centos/7/centosplus/x86_64/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7/virt/x86_64/ /var/spool/yum-mirrors/centos/7/virt/x86_64/


# 同步centos/7版本OpenStack版本(3个版本)
/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7/cloud/x86_64/openstack-liberty/ /var/spool/yum-mirrors/centos/7/cloud/x86_64/openstack-liberty/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7/cloud/x86_64/openstack-mitaka/ /var/spool/yum-mirrors/centos/7/cloud/x86_64/openstack-mitaka/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7/cloud/x86_64/openstack-newton/ /var/spool/yum-mirrors/centos/7/cloud/x86_64/openstack-newton/


# 同步centos/7.2版本相关源
/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7.2.1511/os/x86_64/ /var/spool/yum-mirrors/centos/7.2.1511/os/x86_64/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7.2.1511/isos/x86_64/ /var/spool/yum-mirrors/centos/7.2.1511/isos/x86_64/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7.2.1511/extras/x86_64/ /var/spool/yum-mirrors/centos/7.2.1511/extras/x86_64/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7.2.1511/updates/x86_64/ /var/spool/yum-mirrors/centos/7.2.1511/updates/x86_64/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7.2.1511/centosplus/x86_64/ /var/spool/yum-mirrors/centos/7.2.1511/centosplus/x86_64/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7.2.1511/virt/x86_64/ /var/spool/yum-mirrors/centos/7.2.1511/virt/x86_64/


# 同步centos/7.2版本OpenStack版本(3个版本)
/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7.2.1511/cloud/x86_64/openstack-liberty/ /var/spool/yum-mirrors/centos/7.2.1511/cloud/x86_64/openstack-liberty/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7.2.1511/cloud/x86_64/openstack-mitaka/ /var/spool/yum-mirrors/centos/7.2.1511/cloud/x86_64/openstack-mitaka/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7.2.1511/cloud/x86_64/openstack-newton/ /var/spool/yum-mirrors/centos/7.2.1511/cloud/x86_64/openstack-newton/


# 同步centos/7.3版本相关源
/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7.3.1611/os/x86_64/ /var/spool/yum-mirrors/centos/7.3.1611/os/x86_64/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7.3.1611/isos/x86_64/ /var/spool/yum-mirrors/centos/7.3.1611/isos/x86_64/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7.3.1611/extras/x86_64/ /var/spool/yum-mirrors/centos/7.3.1611/extras/x86_64/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7.3.1611/updates/x86_64/ /var/spool/yum-mirrors/centos/7.3.1611/updates/x86_64/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7.3.1611/centosplus/x86_64/ /var/spool/yum-mirrors/centos/7.3.1611/centosplus/x86_64/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7.3.1611/virt/x86_64/ /var/spool/yum-mirrors/centos/7.3.1611/virt/x86_64/


# 同步centos/7.3版本OpenStack版本(3个版本)
/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7.3.1611/cloud/x86_64/openstack-liberty/ /var/spool/yum-mirrors/centos/7.3.1611/cloud/x86_64/openstack-liberty/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7.3.1611/cloud/x86_64/openstack-mitaka/ /var/spool/yum-mirrors/centos/7.3.1611/cloud/x86_64/openstack-mitaka/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/centos/7.3.1611/cloud/x86_64/openstack-newton/ /var/spool/yum-mirrors/centos/7.3.1611/cloud/x86_64/openstack-newton/


# 同步centos 7版本EPEL源
/usr/bin/rsync -avrt --exclude=debug rsync://rsync.mirrors.ustc.edu.cn/epel/7Server/x86_64/ /var/spool/yum-mirrors/epel/7Server/x86_64

/usr/bin/rsync -avrt --exclude=debug rsync://rsync.mirrors.ustc.edu.cn/epel/7/x86_64/ /var/spool/yum-mirrors/epel/7/x86_64/


# 同步Ubuntu Install ISO
/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/ubuntu-releases/14.04/ /var/spool/apt-mirrors/ubuntu-releases/14.04/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/ubuntu-releases/16.04.2/ /var/spool/apt-mirrors/ubuntu-releases/16.04.2/

/usr/bin/rsync -avrt rsync://rsync.mirrors.ustc.edu.cn/ubuntu-releases/16.10/ /var/spool/apt-mirrors/ubuntu-releases/16.10/

收藏 分享 转发到微博 举报

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

成都宠物论坛|手机版|成都宠物网搜索|百度|谷歌|宠我网 ( 蜀ICP备07500266号 

GMT+8, 2020-10-30 18:47 , Processed in 0.098111 second(s), 16 queries .

© 2007 By www.Petovo.com Some rights reserved

回顶部