最近的学习

1、Centos 6.8 默认最小安装是安装了iptables的,可能需要手工关闭。
chkconfig iptables off

vi /etc/modprobe.d/local.conf
内容:
options nf_conntrack hashsize=262144
然后
service iptables restart
检查成功与否
sysctl -a|grep ip_conntrack_buckets
出错了会有错误信息,要是不出错就认为是对了。

2、SeLinux默认也是安装的,需要手工永久性关闭
永久性关闭(这样需要重启服务器后生效)
sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
reboot

posted @ 2017-01-19 15:30  糖豆爸爸  阅读(126)  评论(0编辑  收藏  举报
Live2D