centos Firefox瀏覽器安裝adobe flash player外掛程式

來源:互聯網
上載者:User

標籤:centos

 今天想要在linux下上網看個電影,結果開啟瀏覽器,提示沒有安裝flash player外掛程式,點擊自動安裝,卻提示系統不支援最新版本的外掛程式,我的系統是用的RHEL 5.5。沒辦法,google一番,下載到一個軟體包install_flash_player_11_linux.i386.tar.gz。
install_flash_player_11_linux.i386.tar.gz:http://vdisk.weibo.com/s/yeY-P 
安裝方法如下,做個總結:將軟體包解壓:
[[email protected] /]# tar zxvf install_flash_player_11_linux.i386.tar.gz /tmp/flashplayer
[[email protected] /]# ls /tmp/flashplayerlinux
usr libflashplayer.so
我們看到解壓出來的東西有個usr檔案夾,一個庫檔案。庫檔案需要放在Firefox瀏覽器安裝外掛程式的路徑下。但當時我不知道這個路徑。搜尋一下:
[[email protected] /]# find /usr/ -name firefox
/usr/lib/firefox-3.0.18/firefox
切換到這個路徑看到firefox是個檔案,不是目錄,並沒有找到plugin的路徑。繼續搜尋,換一個關鍵詞mozilla:
[[email protected] /]# find /usr -name mozilla
/usr/lib/mozilla
/usr/share/mozilla
看這次搜尋結果,切換到/usr/lib/mozilla/下,果然在這裡
[[email protected] /]# cd /usr/lib/mozilla/
[[email protected] /]# ls
extensions plugins plugins-wrapped
[[email protected] /]#
好了,這下就可以執行下面的操作了:
[[email protected] /]# cp /tmp/flashplayer/libflashplayer.so /usr/lib/mozilla/plugins/ -rf
[[email protected] /]# chmod 755 /usr/lib/mozilla/plugins/libflashplayer.so
[[email protected] /]# cp /tmp/flashplayer/usr/* /usr/ -rf
偷了個懶,直接給libflashplayer.so賦755的許可權。
這樣就已經安裝完畢,然後重啟Mozilla firefox就可以啦!!



再來個CentOS 6.3 為Firefox安裝Flash外掛程式教程下載install_flash_player_11_linux.i386.tar.gz打包檔案到本地 終端進入install_flash_player_11_linux.i386.tar.gz所在目錄 使用命令tar -zxvf 解壓install_flash_player_11_linux.i386.tar.gz檔案  tar -zxvf install_flash_player_11_linux.i386.tar.gz 解壓後是一個 libflashplayer.so和一個usr檔案夾 #ln -s /usr/lib/nspluginwrapper/noarch/npviewer /usr/bin/npviewer #sh /etc/sysconfig/nspluginwrapper -v -i /libflashplayer.so所在路徑/libflashplayer.so # cp /libflashplayer.so所在路徑 /libflashplayer.so /usr/lib/mozilla/plugins # sh /etc/sysconfig/nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so #sh /etc/sysconfig/nspluginwrapper -l 重啟firefox瀏覽器 在地址欄裡輸入 about:plugins查看flash外掛程式資訊 註:下載flash player外掛程式源檔案地址 http://get.adobe.com/cn/flashplayer/

著作權聲明:本文為博主原創文章,未經博主允許不得轉載。

centos Firefox瀏覽器安裝adobe flash player外掛程式

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.