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