解决Chrome浏览器"Adobe Flash Player 插件已被屏蔽"的问题

最近将Chrome浏览器更新到最新版本(59.0.3071.36)后,打开很多网站地址栏都提示“Adobe Flash Player 插件已被屏蔽”
1.jpg
虽然可以点击“运行所有插件”使网页正常显示,但是下次打开还报这个错误,有没有一种一劳永逸的方法呢?答案是肯定的:
1、打开 chrome://settings/content/flash 把 Adobe Flash Player 插件设置更改为"允许网站运行Flash"。
3.png
2、打开 chrome://flags/#run-all-flash-in-allow-mode 启用该选项。
2.png
3、重启浏览器

SeaCMS视频名称中'及演员导演为空时被自动替换解决方法

1、视频名称中 ' 被自动替换为 / 的解决
编辑 /admin/admin_video.php 文件第65行,找到

$v_name = str_replace(array('\\','()','\''),'/',$v_name);

将其注释即可。

2、演员 为空时 被自动替换为 内详 的解决
编辑 /admin/admin_video.php 文件第68行,找到

if($v_actor=="" OR empty($v_actor)){$v_actor="内详";}

将其注释即可。

3、导演 为空时 被自动替换为 内详 的解决

编辑 /admin/admin_video.php 文件第77行,找到

if($v_director=="" OR empty($v_director)){$v_director="内详";}

将其注释即可。

CentOS6.8 升级Python到版本2.7.13

wget https://www.python.org/ftp/python/2.7.12/Python-2.7.13.tgz
tar zxvf Python-2.7.13.tgz
cd Python-2.7.13
./configure
make all
make install
make clean
make distclean

查看版本信息

/usr/local/bin/python2.7 -V

建立软连接,使系统默认的 python指向 python2.7

mv /usr/bin/python /usr/bin/python2.6.6
ln -s /usr/local/bin/python2.7 /usr/bin/python

重新检验Python 版本

python -V

- 阅读剩余部分 -

Linux rootkit的检测

1、chkrootkit

wget ftp://ftp.chkrootkit.org/pub/seg/pac/chkrootkit.tar.gz
tar -zxvf chkrootkit.tar.gz
cd chkrootkit-0.58b/
make sense
./chkrootkit

chkrootkit参数说明

Usage: ./chkrootkit [options] [test ...]
Options:
  -h                显示帮助信息
  -V                显示版本信息
  -l                显示测试内容
  -d                debug模式,显示检测过程的相关指令程序
  -q                安静模式,只显示有问题部分,
  -x                高级模式,显示所有检测结果
  -r dir            设定指定的目录为根目录
  -p dir1:dir2:dirN 检测指定目录
  -n                跳过NFS连接的目录

- 阅读剩余部分 -