64位系统使用方法如下:
cd /etc/apt/
mv /etc/apt/sources.list /etc/apt/sources.list.bak
wget http://192.168.11.61/64/sources.list
sudo apt-get update

32位系统使用方法如下:
cd /etc/apt/
mv /etc/apt/sources.list /etc/apt/sources.list.bak
wget http://192.168.11.61/x86/sources.list
sudo apt-get update

yum更新源的方法:
cd /etc/yum.repos.d/
mv CentOS-Base.repo CentOS-Base.repo.bak
wget http://192.168.11.61/6/CentOS-Base.repo

 

版权声明:本文为alivenote原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/alivenote/p/3389770.html