Centos
1、同步数据
将这个写入crontab定时任务里面
2、配置http或者ftp,具体配置就不说了
3、使用私有源
备份/etc/yum.repos.d/CentOS-Base.repo
修改/etc/yum.repos.d/CentOS-Base.repo为下面内容
|
|
4、yum makecache然后就可以使用了
ubuntu
1、同步
2、使用私有源
备份/etc/apt/sources.list
修改/etc/apt/sources.list为下面内容
|
|
Slowing down I look around
Centos
1、同步数据
将这个写入crontab定时任务里面
2、配置http或者ftp,具体配置就不说了
3、使用私有源
备份/etc/yum.repos.d/CentOS-Base.repo
修改/etc/yum.repos.d/CentOS-Base.repo为下面内容
|
|
4、yum makecache然后就可以使用了
ubuntu
1、同步
2、使用私有源
备份/etc/apt/sources.list
修改/etc/apt/sources.list为下面内容
|
|