您的位置:首页 > 运维架构 > Linux

centos 火狐浏览器安装adobe flash player插件

2016-04-12 22:54 555 查看
install_flash_player_11_linux.i386.tar.gz。

install_flash_player_11_linux.i386.tar.gz下载地址:http://vdisk.weibo.com/s/yeY-P

安装方法如下,做个总结:将软件包解压:

[root@test /]# tar zxvf install_flash_player_11_linux.i386.tar.gz /tmp/flashplayer

[root@test /]# ls /tmp/flashplayerlinux

usr libflashplayer.so

我们看到解压出来的东西有个usr文件夹,一个库文件。库文件需要放在火狐浏览器安装插件的路径下。但当时我不知道这个路径。搜索一下:

[root@test /]# find /usr/ -name firefox

/usr/lib/firefox-3.0.18/firefox

切换到这个路径看到firefox是个文件,不是目录,并没有找到plugin的路径。继续搜索,换一个关键词mozilla:

[root@test /]# find /usr -name mozilla

/usr/lib/mozilla

/usr/share/mozilla

看这次搜索结果,切换到/usr/lib/mozilla/下,果然在这里

[root@test /]# cd /usr/lib/mozilla/

[root@test /]# ls

extensions plugins plugins-wrapped

[root@test /]#

好了,这下就可以执行下面的操作了:

[root@test /]# cp /tmp/flashplayer/libflashplayer.so /usr/lib/mozilla/plugins/ -rf

[root@test /]# chmod 755 /usr/lib/mozilla/plugins/libflashplayer.so

[root@test /]# cp /tmp/flashplayer/usr/* /usr/ -rf

偷了个懒,直接给libflashplayer.so赋755的权限。

这样就已经安装完毕,然后重启Mozilla firefox就可以啦!!

文章出处http://www.centoscn.com/image-text/install/2013/0722/424.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: