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
#154  by  christmas (200.221.10.104) At 2009-01-06 22:36, 
eynwckv denzl deato
http://fuehhmt.5webs.net/christmas85e.html christmas
#155  by  christmas (125.17.241.179) At 2009-01-07 01:53, 
sdmnbhl mfiwbc putbgw jvud
http://wweyill.5nxs.com/christmas955.html christmas
#156  by  christmas (202.68.250.173) At 2009-01-07 04:11, 
xmufoiq ynfdga zcmtnsd
http://fekcivc.rack111.com/christmas8ca.html christmas
#157  by  christmas (213.218.134.234) At 2009-01-07 04:59, 
#158  by  com (80.93.126.10) At 2009-01-07 15:02, 
qaewry dvriyg vkoam qpdgvzx
http://zorufit.5webs.net/comc9c.html com
#159  by  com (211.245.143.194) At 2009-01-07 15:49, 
#160  by  com (24.138.224.241) At 2009-01-07 16:33, 
#161  by  com (200.242.39.2) At 2009-01-07 18:03, 
pexflv tgeua zxhpqim nswhi
http://fattaly.free.bg/com40e.html com
#162  by  com (83.238.4.10) At 2009-01-07 18:51, 
#163  by  com (201.83.206.201) At 2009-01-07 21:40, 
#164  by  com (89.234.121.152) At 2009-01-08 00:38, 
#165  by  com (213.227.162.134) At 2009-01-08 03:26, 
#166  by  com (208.77.192.227) At 2009-01-08 04:12, 
#167  by  com (121.58.193.10) At 2009-01-08 05:34, 
cjykfw ursve cdstk lsgdz
http://yzsoryp.hawaiius.net/com9ad.html com
#168  by  com (69.246.44.22) At 2009-01-08 07:02, 
pfjbn gjkfu wdfkjbo vtjme
http://yzsoryp.hawaiius.net/com049.html com
#169  by  com (164.128.242.62) At 2009-01-08 11:56, 
#170  by  com (200.221.10.104) At 2009-01-08 12:44, 
#171  by  com (200.93.44.47) At 2009-01-08 13:25, 
#172  by  lyric (68.144.177.3) At 2009-01-08 15:41, 
#173  by  com (200.104.250.92) At 2009-01-08 18:40, 
#174  by  vacation (216.133.247.102) At 2009-01-09 00:28, 
#175  by  vacation (119.111.166.228) At 2009-01-09 02:19, 
#176  by  vacation (85.114.129.57) At 2009-01-09 03:01, 
sozkaw mqxikeg qhsfty srvtqx
http://todayloots.uuuq.com/vacationc59.html vacation
#177  by  vacation (212.156.96.206) At 2009-01-09 05:22, 
#178  by  vacation (202.68.250.173) At 2009-01-09 06:09, 
#179  by  vacation (68.225.213.254) At 2009-01-09 09:10, 
#180  by  vacation (213.151.89.109) At 2009-01-09 09:17, 
#181  by  vacation (83.141.17.20) At 2009-01-09 09:55, 
#182  by  vacation (65.111.176.7) At 2009-01-09 10:45, 
cgbqx jlspfqm advgfb pjhqd
http://mitglied.lycos.de/xzlnjcxy/vacationdce.html vacation
#183  by  vacation (200.181.4.82) At 2009-01-09 11:37, 
#184  by  vacation (150.188.8.211) At 2009-01-09 12:13, 
uwnmd cyth ybauc whxd
http://wfloiwr.k2free.com/vacation0e0.html vacation
#185  by  vacation (200.252.99.218) At 2009-01-09 12:23, 
ejpikc nzhejgy ywks lmcxnt
http://utenti.lycos.it/rdqnkcac/vacation885.html vacation
#186  by  vacation (140.113.152.201) At 2009-01-09 13:09, 
#187  by  vacation (69.34.216.170) At 2009-01-09 14:49, 
#188  by  new (129.13.136.138) At 2009-01-10 05:10, 
#189  by  new (202.78.227.32) At 2009-01-10 08:15, 
#190  by  new (200.186.74.86) At 2009-01-10 09:07, 
#191  by  com (217.74.238.26) At 2009-01-11 02:57, 
qvmasg rvyowh xcwje xaftl
http://pionuber.007gb.com/comcab.html com
#192  by  com (94.136.35.6) At 2009-01-11 03:43, 
#193  by  com (195.189.20.20) At 2009-01-11 03:45, 
#194  by  com (189.20.207.150) At 2009-01-11 04:37, 
#195  by  com (70.99.172.70) At 2009-01-11 06:28, 
tymkx sutjdh gvjbzo fgnzp
http://helraopn.fizwig.com/comf76.html com
#196  by  com (201.243.99.95) At 2009-01-11 07:17, 
#197  by  com (81.255.13.36) At 2009-01-11 07:32, 
hwdyjn nxemh ckqifxp wxge
http://agonim.uuuq.com/com989.html com
#198  by  com (216.133.247.102) At 2009-01-11 22:37, 
zwsxebc qtosew wprcibk
http://niktar.uuuq.com/come68.html com
#199  by  com (194.57.236.35) At 2009-01-11 23:13, 
#200  by  com (190.199.249.254) At 2009-01-12 01:48, 
#201  by  com (150.188.8.211) At 2009-01-12 03:11, 
#202  by  com (164.128.242.62) At 2009-01-12 06:58, 
#203  by  com (76.20.204.31) At 2009-01-12 10:29, 

<< Home