话说当时在笔记本上安装了个centos,本身带firefox浏览器,但是访问网站时总是提示没有flash插件,于是尝试安装个flash插件。
首先在浏览器李访问http://get.adobe.com/cn/flashplayer/,选择合适的插件,我选择的是tar.gz,点击下载。下载完成后默认存放到当前登录用户的home目录下的“下载”文件夹,文件名类似install_flash_player_11_linux.i386.tar.gz。
将下载的安装包解压缩:
$ tar -zxvf install_flash_player_11_linux.i386.tar.gz
我是直接在资源管理器里右键-解压到本地,然后:
[zydky@zydky ~]$ ls 公共的 模板 视频 图片 文档 下载 音乐 桌面 [zydky@zydky ~]$ cd 下载 [zydky@zydky 下载]$ ls install_flash_player_11_linux.i386 install_flash_player_11_linux.i386.tar.gz [zydky@zydky 下载]$ cd install_flash_player_11_linux.i386 [zydky@zydky install_flash_player_11_linux.i386]$ ls libflashplayer.so readme.txt usr
需要将解压后的libflashplayer.so拷贝到firefox的插件目录下:
[zydky@zydky install_flash_player_11_linux.i386]$ cp libflashplayer.so /usr/lib/mozilla/plugins cp: 无法创建普通文件"/usr/lib/mozilla/plugins/libflashplayer.so": 权限不够
查看/usr/lib/mozilla/plugins的权限设置
[zydky@zydky 下载]$ cd /usr/lib/mozilla [zydky@zydky mozilla]$ ls -al 总用量 76 drwxr-xr-x. 5 root root 4096 9月 9 2012 . dr-xr-xr-x. 126 root root 57344 7月 28 10:33 .. drwxr-xr-x. 3 root root 4096 9月 9 2012 extensions drwxr-xr-x. 2 root root 4096 8月 13 21:14 plugins drwxr-xr-x. 2 root root 4096 8月 13 21:20 plugins-wrapped
可以看到,/usr/lib/mozilla下plugins目录的所有者是root,其他用户没有写权限
更改当前登录用户为root后再进行拷贝:
[zydky@zydky install_flash_player_11_linux.i386]$ su root 密码: [root@zydky install_flash_player_11_linux.i386]# cp libflashplayer.so /usr/lib/mozilla/plugins [root@zydky install_flash_player_11_linux.i386]# cd /usr/lib/mozilla/plugins [root@zydky plugins]# ls -al 总用量 17372 drwxr-xr-x. 2 root root 4096 8月 13 21:14 . drwxr-xr-x. 5 root root 4096 9月 9 2012 .. -rw-r--r--. 1 root root 17418852 8月 13 21:14 libflashplayer.so -rwxr-xr-x. 1 root root 4332 11月 12 2010 librhythmbox-itms-detection-plugin.so -rwxr-xr-x. 1 root root 94248 11月 12 2010 libtotem-cone-plugin.so -rwxr-xr-x. 1 root root 102784 11月 12 2010 libtotem-gmp-plugin.so -rwxr-xr-x. 1 root root 68600 11月 12 2010 libtotem-mully-plugin.so -rwxr-xr-x. 1 root root 77188 11月 12 2010 libtotem-narrowspace-plugin.so
可以看到拷贝成功,但是libflashplayer.so不是可执行文件,需要让这个文件变成一个可执行文件:
[root@zydky plugins]# chmod 755 libflashplayer.so [root@zydky plugins]# ls -al 总用量 17372 drwxr-xr-x. 2 root root 4096 8月 13 21:14 . drwxr-xr-x. 5 root root 4096 9月 9 2012 .. -rwxr-xr-x. 1 root root 17418852 8月 13 21:14 libflashplayer.so -rwxr-xr-x. 1 root root 4332 11月 12 2010 librhythmbox-itms-detection-plugin.so -rwxr-xr-x. 1 root root 94248 11月 12 2010 libtotem-cone-plugin.so -rwxr-xr-x. 1 root root 102784 11月 12 2010 libtotem-gmp-plugin.so -rwxr-xr-x. 1 root root 68600 11月 12 2010 libtotem-mully-plugin.so -rwxr-xr-x. 1 root root 77188 11月 12 2010 libtotem-narrowspace-plugin.so
可以看到,该文件已经具有可执行权限。
退出root用户,回到一般用户身份:
[root@zydky plugins]# exit; exit [zydky@zydky install_flash_player_11_linux.i386]$
重启firefox,访问sohu.com,可以看到flash正常显示了。
说明:由于我是以非root用户登录centos系统,进行的flash插件安装,所以中间需要切换到root用户进行文件拷贝、赋权限等,如果一开始就是root登录,那只需要下载、解压、拷贝、重启浏览器几步即可。
相关推荐
firefox-68.10.0-1.el7.centos nspr-4.21.0-1.el7 nss-3.44.0-7.el7_7 nss-pem-1.0.3-7.el7 nss-softokn-3.44.0-8.el7_7 nss-softokn-freebl-3.44.0-8.el7_7 nss-sysinit-3.44.0-7.el7_7 nss-tools-3.44.0-7.el7_7 ...
centos系统下面firefox的flash软件
在centos下装这个flash插件,就可以看视频,听歌,都行了
centos5.5 redmine安装及其插件安装,里面有本人亲自安装的过程笔记,还有所有的安装文件。
Centos安装中文语言包安装
也许你的centos系统的firefox浏览器无法用flash动画,提示安装flash插件却装不上,那就用这个,这个绝对可以装上,
centos7离线源码安装make
centos7.0安装mysql centos7.0安装mysql centos7.0安装mysql
centos7的内核版本为3.10.0-327.10.1.el7.x86_64; flashcache版本为stable_v3.1.3;
作毕业设计 在网上找了 一上午的在linux中firefox的音乐播放插件(针对mplayer播放器的)终于找到了 很好使 将它直接拷贝到firefox文件夹下的 plugins中就可以了 。在我的电脑中 该路径为:/usr/lib/firefox-1.5.0.9...
Centos5.5下Qt的安装配置
Centos7下安装MongoDB
平时部署的postgresql数据库常用的依赖rpm包,数据库版本12.5
centos7亲测安装成功,摘自网上一个帖子,忘了出处,若有人知道望告知,添加链接,谢谢!
centos7离线安装vim
centos7离线安装bison
centos7离线安装中文字体库中的脚本刚才使用的时候才发现写死了,没有变通性,所以更新了一版
centos 6.2用yum安装中文输入法
CentOS操作系统的安装 06 SecureCRT远程终端的使用 CentOS操作系统的安装 5 安装前的准备 获得CentOS安装镜像 从CentOS的镜像站点下载 ISO文件 /centos/7/isos/x86_64/ /centos/ /centos/ 硬件信息与系统规划 了解...