ubuntu
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo vim /etc/apt/sources.list
國內常用源列表
網易163更新伺服器(廣東廣州電信/聯通千兆雙線接入),
包含其他開源映象:
deb trusty main restricted universe multiverse阿里雲更新伺服器(北京萬網/浙江杭州阿里雲伺服器雙線接入),deb trusty-security main restricted universe multiverse
deb trusty-updates main restricted universe multiverse
deb trusty-proposed main restricted universe multiverse
deb trusty-backports main restricted universe multiverse
deb-src trusty main restricted universe multiverse
deb-src trusty-security main restricted universe multiverse
deb-src trusty-updates main restricted universe multiverse
deb-src trusty-proposed main restricted universe multiverse
deb-src trusty-backports main restricted universe multiverse
包含其他開源映象:
deb trusty main restricted universe multiverse中國科學技術大學更新伺服器(位於合肥,千兆教育網接入,百兆電信/聯通線路智慧型路由),由deb trusty-security main restricted universe multiverse
deb trusty-updates main restricted universe multiverse
deb trusty-proposed main restricted universe multiverse
deb trusty-backports main restricted universe multiverse
deb-src trusty main restricted universe multiverse
deb-src trusty-security main restricted universe multiverse
deb-src trusty-updates main restricted universe multiverse
deb-src trusty-proposed main restricted universe multiverse
deb-src trusty-backports main restricted universe multiverse
中科大 linux 使用者協會和
中科大學網路資訊中心維護,
包含其他開源映象,
deepin 官方伺服器 實際亦指向此處:
deb trusty main multiverse restricted universecentosdeb trusty-backports main multiverse restricted universe
deb trusty-proposed main multiverse restricted universe
deb trusty-security main multiverse restricted universe
deb trusty-updates main multiverse restricted universe
deb-src trusty main multiverse restricted universe
deb-src trusty-backports main multiverse restricted universe
deb-src trusty-proposed main multiverse restricted universe
deb-src trusty-security main multiverse restricted universe
deb-src trusty-updates main multiverse restricted universe
首先備份/etc/yum.repos.d/centos-base.repo
執行以下命令生成快取
yum clean allyum makecache
mv /etc/yum.repos.d/fedora.repo /etc/yum.repos.d/fedora.repo.backup
mv /etc/yum.repos.d/fedora-updates.repo /etc/yum.repos.d/fedora-updates.repo.backup
fedorawget -o /etc/yum.repos.d/fedora.repo
fedora updateswget -o /etc/yum.repos.d/fedora-updates.repo
Linux軟體源映象修改
linux的預設軟體源都是在國外,如果fq的話流量也不是很省,而且還有不少小夥伴不會fq,這個時候就需要把軟體源改到國內的軟體源映象啦 速度快又安心 備份原軟體源mv etc yum.repos 或者curl o etc yum.repos 或者curl o etc yum.repos 或者curl...
修改ubuntu的軟體源
修改ubuntu的軟體源,是修改 etc apt sources.list 檔案 ubuntu14.04可修改為如下配置 deb trusty main restricted universe multiverse deb trusty security main restricted univer...
linux修改yum源映象源
修改centos預設yum源為國內yum映象源 1 首先備份系統自帶yum源配置檔案 etc yum.repos.d centos base.repo 1 root localhost mv etc yum.repos.d centos base.repo etc yum.repos.d cento...