นอกจาก repo มาตรฐานแล้วควรเพิ่ม repo ต่อไปนี้ด้วย
Dag RPM Repository (RPM forge)
# wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt# rpm --import RPM-GPG-KEY.dag.txt# rm -f RPM-GPG-KEY.dag.key# rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
EPEL (Extra Packages for Enterprise Linux)
# wget http://download.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL# rpm --import RPM-GPG-KEY-EPEL# rm -f RPM-GPG-KEY-EPEL# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
เสร็จแล้วก็ update repolist ซะ
# yum repolist
แต่เมื่อลองใช้งานจริงจะพบว่า package มัน conflict กัน ระหว่าง repo ก็เลยต้องเพิ่มเติมดังนี้
# yum install yum-priorities
แก้ไข yum-priorities config
# nano /etc/yum/pluginconf.d/priorities.conf
ให้เป็นดังนี้นี้
[main]enabled = 1check_obsoletes = 1
แล้วก็ไปจัด priorities ของ repo ตามต้องการ
# nano /etc/yum.repoes.d/CentOS-Base.repo
เพิ่ม priority=N เข้าไปในทุกๆ section โดยที่ N เป็นตัวเลข 1 – 99 และ 1 จะสำคัญกว่า 99
[base]priority=1 [updates]priority=1 [addons]priority=1 [extras]priority=1 [centosplus]priority=10 [contrib]priority=10
แล้วก็ไปเพิ่ม priority=20 ใน epel.repo และ rpmforge.repo ด้วย
ที่มา : http://wiki.centos.org/PackageManagement/Yum/Priorities
เจอโดยบังเอิญ เห็นว่าใช้ได้เลยบันทึกไว้ http://www.server-world.info/en
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
This blog is contain all thing that I test and learn about Linux, Java, Eclipse and something interesting. I’m Thai people so it may appear 2 languages in this blog.
I’ll update this blog frequently, promised (may be).
I have a problem with my dvd writer on Windows Vista sp1. Vista try to format any disc I put into a dvd drive but no problem with Windows XP.
I found the way to solve this problem from http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=3834528&SiteID=17 by disable Vista’s CD Burning:
1. Launch registry editor (Start Menu > Run > regedit.exe).
2. Browse to HKEY_LOCAL_USER\Software\Microsoft\Windows\Current Version\Explorer\CD Burning\Drives.
3. Select the corrent Volume subkey.
4. Find and modify the IsImapiDataBurnSupported DWORD to 0.
5. Close the registry editor.
จากที่ค้นๆ ในเน็ต ก็เจอตามนี้ครับ Install Adobe Flash Player 10 on Ubuntu 64bit และ Enabling Flash 9-Firefox in x64 Gutsy ลองทำตามดูก็ไม่เห็นได้เลย มันติดตรงนี้
*** NSPlugin Viewer *** ERROR: libcurl.so.3: cannot open shared object file: No such file or directory
nspluginwrapper: no appropriate viewer found for /usr/lib/mozilla/plugins/libflashplayer.so
ก็เลยลองใช้วิธี install จาก firefox โดยตรงตอนที่มันให้ install missing plugin ปรากฎว่าได้แฮะ ก็เลยบันทึกไว้เตือนความจำ
put this option to mplayer to select specified sound device
mplayer -ao oss:/dev/audio —-> normal sound device
mplayer -ao oss:/dev/dsp1 —–> usb sound device
NTP Server ของสถาบันมาตรวิทยาแห่งชาติ
time1.nimt.or.th
time2.nimt.or.th
time3.nimt.or.th