centos 7安装flash插件

    在按照官方文档的操作时出现了问题,故此记录下来,作为以后参考。

    首先在adobe flash官网下载.tar.gz类型的文件,默认会在当前用户的下载文件夹中保存

    操作:

        cd 下载

       tar -zvxf install_flash_player_11_linux.x86_64.tar.gz

       会在当前目录下解压几个文件,是 libflashplayer.so  readme.txt  usr三个东西,打开readme.txt  ,里面有一段描述:


       Installing using the plugin tar.gz:
        o Unpack the plugin tar.gz and copy the files to the appropriate location.
        o Save the plugin tar.gz locally and note the location the file was saved to.
        o Launch terminal and change directories to the location the file was saved to.
        o Unpack the tar.gz file.  Once unpacked you will see the following:
                + libflashplayer.so
                + /usr
        o Identify the location of the browser plugins directory, based on your Linux distribution and Firefox version
        o Copy libflashplayer.so to the appropriate browser plugins directory.  At the prompt type:
                + cp libflashlayer.so <BrowserPluginsLocation>
        o Copy the Flash Player Local Settings configurations files to the /usr directory.  At the prompt type:
                + sudo cp -r usr/* /usr

        上面已经说的很清楚的,唯一需要注意的是libflashplayer.so,我的机器是64位的,所以要拷到:/usr/lib64/mozilla/plugins下

        之前是考到/usr/lib/mozilla/plugins/,无法执行,后来注意到此问题,再次拷贝到lib64下的那个就可以了


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值