文章说明:
本文主要记录服务器上常用的环境安装流程以及细节
参考资料:
在virtualbox上安装centos7
http://www.jianshu.com/p/29e800edf617
CentOS-7-64bit 配置Apache + MySQL + PHP
http://blog.itpub.net/29773961/viewspace-1261417/
本文主要记录服务器上常用的环境安装流程以及细节
在virtualbox上安装centos7
http://www.jianshu.com/p/29e800edf617
CentOS-7-64bit 配置Apache + MySQL + PHP
http://blog.itpub.net/29773961/viewspace-1261417/
yum install openswan
修改sysctl.conf文件
vi /etc/sysctl.conf
添加以下内容
net.ipv4.conf.default.send_redirects=0
net.ipv4.icmp_ignore_bogus_error_responses=1
net.ipv4.conf.default.log_martians=0
net.ipv4.conf.all.log_martians=0
net.ipv4.conf.default.accept_source_route=0
net.ipv4.conf.all.accept_redirects=0
net.ipv4.conf.default.accept_redirects=0
net.core.xfrm_larval_drop=1
net.ipv4.ip_forward = 1
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.all.send_redirects = 0