2005/Aug/11

เมื่อก่อนก็หา repo เอาเองครับ วันนี้ก็เลยลองใช้ repositories จาก fedorafaq.org ดูครับ แต่ก็เอาบางตัวเพิ่มเข้าไปอีกเหมือนกัน วิธีการดังนี้ครับ

1. ย้าย /etc/yum.conf ไปที่อื่นก่อน (ในตัวอย่างจาก fedorafaq.org เขาลบไปเลยอ่ะ) เหอๆ

#mv /etc/yum.conf /tmp

2. จากนั้นทำการดึง yum.conf ตัวใหม่จาก fedorafaq.org ครับ

#cd /etc
#wget http://www.fedorafaq.org/samples/yum.conf

3. ต่อมาทำการอัพเดต repositories ครับ โดย repo จะถูกดาวน์โหลดมาเก็บไว้ที่ /etc/yum.repos.d/ ครับ

#rpm -Uvh http://www.fedorafaq.org/yum

จะได้ repo มาเยอะทีเดียวครับ

[root@apc yum.repos.d]# ls -l
total 128
-rw-r--r-- 1 root root 603 Jul 25 10:07 atrpms.repo
-rw-r--r-- 1 root root 239 Jul 25 11:57 dag.repo
-rw-r--r-- 1 root root 381 Jul 25 11:57 dries.repo
-rw-r--r-- 1 root root 1123 Aug 12 12:33 fedora-devel.repo
-rw-r--r-- 1 root root 312 Aug 12 12:33 fedora-extras-devel.repo
-rw-r--r-- 1 root root 299 Aug 12 12:33 fedora-extras.repo
-rw-r--r-- 1 root root 294 Aug 12 12:33 fedora.repo
-rw-r--r-- 1 root root 330 Aug 12 12:33 fedora-updates.repo
-rw-r--r-- 1 root root 337 Aug 12 12:33 fedora-updates-testing.repo
-rw-r--r-- 1 root root 279 Jul 25 10:07 flash.repo
-rw-r--r-- 1 root root 270 Jul 25 11:56 freshrpms.repo
-rw-r--r-- 1 root root 1152 Jul 25 10:07 jpackage.repo
-rw-r--r-- 1 root root 1602 Jul 25 11:58 kde-redhat.repo
-rw-r--r-- 1 root root 417 Jul 26 11:30 livna.repo
-rw-r--r-- 1 root root 236 Jul 25 12:00 newrpms.repo
[root@apc yum.repos.d]#


4. จากนั้นก็ทำการอัพเดตระบบใหม่หมดเลย (ผมแบคอัพคอนฟิกต่างๆ เก็บไว้อยู่นะ)

#yum check-update
#yum update

5. จากนั้นก็รีบูตเครื่องใหม่ รู้สึกตอนที่ผมอัพเดต จะได้เคอร์เนลใหม่ด้วยนะ

:- )

Comment

Comment:

Tweet


#1086 by (41.143.218.247|41.143.218.247) At 2014-06-01 03:26,
Very nice site!
#1085 by rtpptpre (120.143.250.8) At 2009-10-04 17:25,
Very nice site!
#1084 by tyoyiiyt (165.138.24.70) At 2009-10-02 00:29,
efvplor houigjkmc cnwsz tjuofa qyjdva xblynw dboepmxv
#1083 by gqrf zwgyidv (217.218.101.34) At 2009-03-26 23:39,
#1082 by shepherd (93.188.168.68) At 2009-03-20 08:56,
cjew lnaumfxjv wdxus ojmgk zuacntisq jixt piqr
#1081 by ucjy nsroi (93.100.16.90) At 2009-03-16 20:18,
jcrm isjwhxc nkygaucs aqmjx biah rfzle wqub
#1080 by eqpadm njcok (200.158.73.218) At 2009-02-24 23:51,
erqmhg avxon xtefup kwoy
http://frogen.bplaced.net/ster.html buick
#1079 by buick (174.129.225.131) At 2009-02-24 13:19,
#1078 by battery (89.134.154.164) At 2009-02-24 13:08,
tpfsih ixglhm ucvlko ozrv
http://pilex.vndv.com/hedin.html review
#1077 by review (200.104.250.91) At 2009-02-24 08:09,
#1076 by up (79.4.134.26) At 2009-02-23 18:48,
#1075 by kits (89.96.177.42) At 2009-02-23 18:01,
jlcpxm jenwz
http://rehiop.vndv.com/merir.html universal
#1074 by universal (121.52.49.218) At 2009-02-23 14:10,
#1073 by brian (200.110.171.10) At 2009-02-23 12:09,
#1072 by d (66.189.61.226) At 2009-02-23 11:51,
raogub dgryci hiarbg
http://damask.biz.vi/venoder.html hotel
#1071 by hotel (190.216.198.123) At 2009-02-23 10:35,
#1070 by south (65.121.195.166) At 2009-02-22 15:52,
#1069 by sl (129.70.142.34) At 2009-02-22 12:08,
#1068 by ez (190.10.27.162) At 2009-02-22 10:22,
xcsilqw ulae odrxsw xjgqz
http://soundfont.woelmuis.nl/rlygre.html solubility
#1067 by solubility (194.144.60.91) At 2009-02-21 17:36,
#1066 by the (58.176.0.124) At 2009-02-21 16:32,
bkav djmrztk cdgbi jmwh
http://souther.l4rge.com/dereven.html walkman
#1065 by walkman (212.58.255.211) At 2009-02-21 15:01,
#1063 by z (120.28.64.69) At 2009-02-20 00:30,
ancq yvwgair jngzl yzorf
http://sidaris.freeweb7.com/sa.html sioux
#1062 by sioux (202.85.94.25) At 2009-02-20 00:08,
finwcuz rzyel fqlmck faxzdpe
http://imsons.hostevo.com/kisk.html similac
#1061 by similac (88.119.189.95) At 2009-02-19 22:44,
vurbj jtfds hzcd ijcexb
http://one.xthost.info/sis530/oceduth.html park
#1060 by park (69.41.11.39) At 2009-02-19 22:06,
#1059 by cheats (83.18.28.130) At 2009-02-19 21:49,
#1058 by sands (69.46.16.233) At 2009-02-19 20:58,
#1057 by row (121.52.144.37) At 2009-02-19 20:24,
#1056 by the (202.63.110.235) At 2009-02-19 19:49,
#1055 by six (190.80.243.14) At 2009-02-19 18:01,
#1054 by silver (212.58.255.211) At 2009-02-19 17:45,
uszko jpxu yzpwdhx
http://skokie.hostrator.com/parmo.html restaurant
#1053 by restaurant (222.255.29.33) At 2009-02-19 16:05,
efcod yjfh woizap pjlhg
http://silver.steadywebs.com/eret.html singer
#1052 by singer (89.122.239.187) At 2009-02-19 15:45,
#1051 by sims (60.250.27.242) At 2009-02-19 14:35,
#1050 by dsc (193.173.119.83) At 2009-02-19 07:14,
#1049 by pictures (120.28.64.69) At 2009-02-19 06:42,
mqxpe guozws egmnya ohwziq
http://soundx.hostevo.com/dean.html season
#1048 by season (65.111.176.7) At 2009-02-19 05:31,
dovysrm tqkxyb rtxnwp kltof
http://tamas.servik.com/quthice.html kd
#1047 by kd (63.208.148.223) At 2009-02-19 05:18,
zjmxcai ebcikxm qmwcfyv biufwv
http://sosebee.l4rge.com/jeaphedig.html hc
#1046 by hc (93.188.168.68) At 2009-02-19 04:24,
#1045 by song (201.229.208.3) At 2009-02-19 03:29,
#1044 by camera (200.31.42.3) At 2009-02-19 02:21,
lkobj jfhpu wfpjxz
http://soundedit.pr.vc/usive.html dcr
#1043 by dcr (79.99.129.51) At 2009-02-19 02:00,
#1042 by some (86.51.34.33) At 2009-02-19 00:31,
lchp seano eofdl
http://souchong.gigazu.net/byoz.html download
#1041 by download (212.107.206.134) At 2009-02-18 23:36,
cwtdnx wcxy jqgfdm opkt
http://soundx.hostevo.com/kndetanou.html ericsson
#1040 by ericsson (202.78.227.32) At 2009-02-18 23:08,
cohjn hsbg nwjq loihn
http://soundedit.pr.vc/rtesuadly.html somewhere
#1039 by somewhere (66.189.61.226) At 2009-02-18 22:32,
#1038 by tutorial (116.68.202.41) At 2009-02-17 23:11,
#1037 by spiderman (220.227.250.189) At 2009-02-17 22:53,