Loading... # 当前 镜像站点:https://mirrors.kernel.org/ ``` cd /opt/ git clone https://github.com/liberodark/linux-mirroring/ cd linux-mirroring/ chmod +x *.sh crontab -e 0 19 * * * /opt/linux-mirroring/sync-manjaro.sh 0 20 * * * /opt/linux-mirroring/sync-debian.sh 0 22 * * * /opt/linux-mirroring/sync-debian-security.sh 0 23 * * * /opt/linux-mirroring/sync-centos.sh 0 0 * * * /opt/linux-mirroring/sync-centos-epel.sh ``` 参考:https://github.com/liberodark/linux-mirroring ``` # centos # ubuntu # debian # epel ``` # 历史 ``` #!/bin/bash nohup rsync -azP --partial --update archive.kernel.org::centos-vault/ ./archive.kernel.org & ``` # 参考 * https://github.com/liberodark/linux-mirroring/blob/master/sync-centos.sh * https://mirrors.kernel.org/ * http://archive.kernel.org/ 最后修改:2024 年 05 月 11 日 © 允许规范转载 赞 如果觉得我的文章对你有用,请随意赞赏