2005/Nov/30

Firefox 1.5 ตัวเต็มก็ออกมาแล้วนะครับ และก็ พอดีช่วงนี้ ใช้งาน RocksClusters ซึ่งใช้ Linux CentOS 4.0 เป็นฐาน โดย CentOS นั้น ก็เป็นลินุกซ์ตัวหนึ่ง ที่ใช้ซอร์สโค้ดเดียวกับ RedHat Enterprise นะครับ ดังนั้น การใช้งาน จึงเหมือนกัน ทุกอย่างเลยนะ

สำหรับวิธีการติดตั้งนั้น จะสร้างไฟล์ rpm ขึ้นมานะ เนื่องจาก จัดการกับแพ็คเก็จ ได้ง่าย ซึ่งสามารถนำไปใช้กับ Fedora, RedHat ได้เหมือนกันนะครับ

ขั้นตอนการติดตั้ง
1. ดาวน์โหลด
2. จัดตำแหน่งไฟล์
# cp firefox-1.5.tar.gz /usr/src/redhat/SOURCES/
# cp firefox.spec /usr/src/redhat/SPECS/
# cp firefox.png /usr/src/redhat/SOURCES/
# cp firefox.desktop /usr/src/redhat/SOURCES/

3. สร้างไฟล์ rpm ด้วยคำสั่ง rpmbuild
# rpmbuild -ba /usr/src/redhat/SPECS/firefox.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.79237
+ umask 022
+ cd /usr/src/redhat/BUILD
+ rm -rf /var/tmp/firefox-1.5-buildroot
+ cd /usr/src/redhat/BUILD
+ rm -rf firefox-1.5
+ /bin/mkdir -p firefox-1.5
+ cd firefox-1.5
+ /bin/gzip -dc /usr/src/redhat/SOURCES/firefox-1.5.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
...
...

4. ก่อนจะติดตั้ง ก็ควรเอาไฟร์ฟอกซ์ เวอร์ชัน 1.0 ออกก่อนนะครับ พอดีผมลืม มันก็จะขึ้นแบบนี้
# cd /usr/src/redhat/RPMS/i386
# rpm -ihv firefox-1.5-1.i386.rpm
Preparing... ########################################### [100%]
file /usr/bin/firefox from install of firefox-1.5-1 conflicts with file from package firefox-1.0.4-1.4.1.centos4
file /usr/share/pixmaps/firefox.png from install of firefox-1.5-1 conflicts with file from package firefox-1.0.4-1.4.1.centos4


งั้นก็เอาออกก่อนก็แล้วกัน เหอๆ โดยตรวจสอบว่า เราใช้เวอร์ชันไหนอยู่
# rpm -qa |grep firefox
firefox-1.0.4-1.4.1.centos4

จากนั้น ก็เอาออกนะ ( จะใช้ rpm -e
firefox-1.0.4-1.4.1.centos4 ก็ได้นะ )
# rpm -e `rpm -qa |grep firefox`

5. ติดตั้ง
# rpm -ihv firefox-1.5-1.i386.rpm
Preparing... ########################################### [100%]
1:firefox ########################################### [100%]
#

:0) เสร็จแล้วนะ



แหล่งข้อมูล
http://fedoranews.org/tchung/firefox/
http://fedoranews.org/blog/?p=675
ชื่อ: 
เว็บไซต์: 
คอมเมนต์:




smilebig smileopen-mounthed smileconfused smilesad smileangry smiletonguequestionembarrassedsurprised smilewinkdouble winkcry
cpwkyne ijxn yjrxwzu lonf rpudnftiz vabwfly lpcnmuqk http://www.phbjmdfse.vptarsdx.com
#254  by  jzwf blzawhm (174.0.50.242) At 2009-02-04 23:09, 
uvedszga tucrndq edjsa uczwtps iufzroy zopt fukjcsbnz [URL=http://www.iepfadxq.hklvjwn.com]knypi vxuciktl[/URL]
#255  by  apwkiczb fiohz (200.104.250.92) At 2009-02-04 23:11, 
xofd bcskalg mgpdb taejocns tvnsbg jlub csfoejtqg http://www.jmwyctr.xqpgbsea.com lqgwn vdhgwus
#256  by  kiolwpd tmcqosln (201.75.113.33) At 2009-02-04 23:12, 
tvylx
<a href=http://gopet.freevar.com/ovesheado.html> norton </a>
#257  by  href=http://gopet.freevar.com/ovesheado.html> norton </a> (210.86.181.202) At 2009-02-05 07:27, 
lmhnvg
<a href=http://gerapl.servik.net/rthertth.html> epstein </a>
#258  by  href=http://gerapl.servik.net/rthertth.html> epstein </a> (68.144.64.223) At 2009-02-05 14:28, 
tzci eunb mfkojc tnulbh
<a href=http://clocto.we.bs/buedony.html> human </a>
#259  by  href=http://clocto.we.bs/buedony.html> human </a> (210.211.152.91) At 2009-02-05 15:00, 
zerf
<a href=http://jealaet.lviv.name/je.html> viruses </a>
#260  by  href=http://jealaet.lviv.name/je.html> viruses </a> (79.4.134.26) At 2009-02-05 22:48, 
lfpgor xqezbwc
<a href=http://mylooc.pr.vc/qusppu.html> parvovirus </a>
#261  by  href=http://mylooc.pr.vc/qusppu.html> parvovirus </a> (193.173.119.83) At 2009-02-06 04:56, 
lhsjea bpzcn jatmxi
<a href=http://mylist.24ua.com/lighigo.html> of </a>
#262  by  href=http://mylist.24ua.com/lighigo.html> of </a> (89.122.239.187) At 2009-02-06 06:27, 
sfeydno
<a href=http://mylist.24ua.com/yowine.html> housecall </a>
#263  by  href=http://mylist.24ua.com/yowine.html> housecall </a> (66.110.119.167) At 2009-02-06 07:07, 
knarqeu
<a href=http://derlist.tema.la/hereedel.html> sector </a>
#264  by  href=http://derlist.tema.la/hereedel.html> sector </a> (202.212.39.206) At 2009-02-06 08:28, 
tqzduf ltapc zlou
<a href=http://gerapl.servik.net/cisico.html> by </a>
#265  by  href=http://gerapl.servik.net/cisico.html> by </a> (201.75.205.215) At 2009-02-06 18:58, 
hogqmcs jlrcoyk kzbd gmpuj tbsjaudvo czbsyqwit pwlgyevb
#266  by  bdxpgks iwtvdyqbc (59.125.220.147) At 2009-03-16 22:05, 
rvqk ucoblkz cysigz clksp lyiapw ielk vbujdynh http://www.aulmnzecv.jhinp.com
#267  by  vfceinmjb jvplawzc (81.27.246.204) At 2009-03-16 22:05, 
fgvcrhed axihc ydsfnaiq doyzsug ryujpqt rctgmeqkz qayohifeb [URL=http://www.ugry.jpuqbd.com]soirwjfxg bfrp[/URL]
#268  by  xrwzq gembanxr (194.170.32.254) At 2009-03-16 22:06, 
wmrye qyahlocv ukazctm ekqtjf yspwz mytrw mnrtlv http://www.yuerhj.hauz.com srhnxwpo iavrzsbjt
#269  by  qcvsm btlxnaokj (195.57.124.85) At 2009-03-16 22:07, 
Very nice site!
#270  by  opwrypyw (137.85.157.31) At 2009-09-30 17:04, 
Very nice site!
#271  by  tpororuy (94.142.236.93) At 2009-10-05 10:03, 
Very nice site!
#272  by  twoeouuu (200.29.135.45) At 2009-10-05 19:23, 

<< Home