linux下 firefox安装flash插件/selenimu ide
来源:互联网 发布:js替换某个字符串 编辑:程序博客网 时间:2024/06/14 10:47
转自:http://blog.csdn.net/yanhang1589/article/details/7312691
我的linux版本是CentOS 6.
浏览时遇到无flash插件时,到官网下载一个:
http://get.adobe.com/cn/flashplayer/
我下载的是:install_flash_player_11_linux.i386.tar.gz
OK,开始安装。
1.找到正确目录
#whereis firefox
firefox: /usr/bin/firefox /usr/share/man/man1/firefox.1.gz
现在可以确定它在/usr下面了,再找下安装目录
#find /usr -name firefox
/usr/bin/firefox
哎呀,没找到,/usr/bin/firefox这个是程序,不是目录
。。。不要忘了firefox的全名是Mozilla Firefox,继续找
#find /usr -name mozilla
/usr/lib/mozilla
/usr/share/mozilla
OK,有两个目录出来了。
说说我遇到的事:屁颠屁颠从图形界面去找这两个目录,结果是找不到,没弄明白,只好用命令了。
2.查看plugins到底放在哪
# ls /usr/share/mozilla
extensions
这个没有,下一个
# ls /usr/lib/mozilla
extensions plugins plugins-wrapped
OK,找到插件目录/usr/lib/mozilla/plugins
3.解压安装包install_flash_player_11_linux.i386.tar.gz,找到libflashplayer.so
复制libflashplayer.so到firefox插件目录下
#cp flash_source_path/libflashplayer.so /usr/lib/mozilla/plugins
flash_source_path/libflashplayer.so是插件的绝对路径,如果你在当前目录下,直接
#cp libflashplayer.so /usr/lib/mozilla/plugins
到这里插件已经复制进去了,打开firefox,郁闷,如果还是没有成功加载则继续下一步
4.又是权限问题
转入插件目录
#cd /usr/lib/mozilla/plugins
查看权限
# ls -l
总用量 17000
-rw-r--r--. 1 root root 17047372 3月 2 00:26 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权限和其它插件的不同,不管了,来个755
#chmod 755 libflashplayer.so
#ls -l
总用量 17000
-rwxr-xr-x. 1 root root 17047372 3月 2 00:26 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进行操作的,没有问题,不知道用其它用户怎么样,命令如下:
#chown root:root libflashplayer.so
再次打开firefox,终于发现成功加载了
------------------------------------------------------------------------------------
安装selenium ide
1、到官网下载selenium IDE(xpi格式)
2、将安装包置于Firefox安装路径下的extensions文件夹(默认安装路径windows: C:\Program Files\Mozilla Firefox\extensions linux:/usr/share/mozilla/extensions)
3、然后重启FireFox即可。
很不幸我的安装失败了,只能换个方法了。下面介绍下我的方法:
1、当然还是要去官网下载Selenium IDE(selenium-ide-2.0.0.xpi);
2、打开FireFox,选择工具---附加组件
3、然后在附加组件管理器里面选择扩展,然后从文件安装附加组件
4、然后选中你下载好的selenium ide
5、然后就可以看到软件安装的对话框了,单击立即安装即可
- linux下 firefox安装flash插件/selenimu ide
- linux中firefox下安装flash插件
- linux下 firefox安装flash插件
- linux下 firefox安装flash插件
- linux下 firefox安装flash插件
- Linux 下firefox flash插件安装
- linux下firefox安装flash插件
- linux下 firefox安装flash插件
- linux下 firefox安装flash插件
- linux下为firefox安装flash插件
- linux下firefox安装flash插件
- Linux下安装firefox的flash插件
- linux下给firefox安装flash插件
- linux firefox 安装flash插件
- linux下 firefox安装flash插件(手动安装)
- linux环境下firefox浏览起的flash插件安装
- linux中firefox浏览器下安装flash插件
- linux下firefox安装Adobe Flash Player插件
- linux执行scp命令出错
- Oracle 中的Userenv()
- 日经社説 20150324 知恵を絞れば再生エネはもっと伸ばせる
- 遍历Map的四种方法
- android post 请求 报出异常 java.net.UnknownHostException: www.****.com
- linux下 firefox安装flash插件/selenimu ide
- hadoop hbase hive 常见问题解决
- Android 自定义View (二) 进阶
- 可靠的UDP编程(ENET库)
- android中的后退键——onBackPressed()的使用
- OpenVSwitch与OpenDayLight的连接过程
- 猫猫学IOS(八)UI之热门_喜马拉雅UI实现-UIScrollView的使用
- oracle优化(1)
- 阿里云CENTOS7.0搭建VNC+GOLANG+DOCKER