摘要:
1、关闭所有的 INPUT FORWARD OUTPUT 只对某些端口开放。下面是命令实现: 再用命令 查看 是否设置好, 好看到全部 DROP 了 这样的设置好了,我们只是临时的, 重启服务器还是会恢复原来没有设置的状态还要使用 service iptables save 进行保存 看到信息 fi 阅读全文
摘要:
SElinux是强制访问控制(MAC)安全系统,是linux历史上最杰出的新安全系统。对于linux安全模块来说,SElinux的功能是最全面的,测试也是最充分的,这是一种基于内核的安全系统。 1、SElinux的状态 命令"getenforce"可以查看SElinux的状态,SElinux的状态分 阅读全文
摘要:
PHP Fatal error: Uncaught RedisException: Redis server went away in /data/wwwroot/vv.yaradish.cn/index/redis.php:7
Stack trace:
#0 /data/wwwroot/vv.yaradish.cn/index/redis.php(7): Redis->setOption(3, -1)
#1 {main}
thrown in /data/wwwroot/vv.yaradish.cn/index/redis.php on line 7 阅读全文