preload
四月 26

最近用CentOS 4.4安裝到好幾台主機, 但是用yum升級的速度真的很慢.
後來參考了鳥哥的網站的文章,
將/etc/yum.repos.d/CentOS-Base.repo 檔裡面的mirrorlist=….. 那幾行的最後面都加上』&cc=tw』, 例如:
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
改成
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&cc=tw

結果升級速度超快……哈哈, 省了我好多時間

Comments are closed.