เปลี่ยน CentOS 5.4 yum repository มาใช้ mirror ในไทย

ก่อนอื่นก็ต้อง back up ของเดิมไว้ก่อนนะครับ
cd /etc/yum.repo.dmv CentOS-Base.repo CentOS-Base.repo.bak

จากนั้นก็ download ไฟล์ repo จาก mirror ที่ต้องการใช้ ได้แก่

KU mirror: <a href="http://mirror1.ku.ac.th/">http://mirror1.ku.ac.th</a>$ wget <a class="linkification-ext" href="http://mirror1.ku.ac.th/yum-centos/5/CentOs-Base.repo" title="Linkification: http://mirror1.ku.ac.th/yum-centos/5/CentOs-Base.repo">http://mirror1.ku.ac.th/yum-centos/5/CentOs-Base.repo</a>
PSU mirror: <a href="http://ftp.psu.ac.th/pub/centos">http://ftp.psu.ac.th/pub/centos</a>$ wget -o CentOS-Base.repo <a class="linkification-ext" href="ftp://ftp.psu.ac.th/pub/centosrepo/CentOS5-psu.repo" title="Linkification: ftp://ftp.psu.ac.th/pub/centosrepo/CentOS5-psu.repo">ftp.psu.ac.th/pub/centosrepo/CentOS5-psu.repo</a>

ที่มา : ThaiHostTalk

Advertisement
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.