Pages: 1/1 First page 1 Final page [ View by Articles | List ]

[转]linux服务器安全配置

  [阴 June 24, 2013 12:15 | by !4p47hy ]
1.禁止ping

/etc/rc.d/rc.local
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all

2.对用户和口令文件进行权限控制
chmod 600 /etc/passwd

[转]Nginx配置文件nginx.conf中文详解

  [阴 June 24, 2013 12:12 | by !4p47hy ]
Mark 一下···用作备用··

Nginx配置参数中文说明。

#定义Nginx运行的用户和用户组
user www www;

#nginx进程数,建议设置为等于CPU总核心数。
Tags:
Pages: 1/1 First page 1 Final page [ View by Articles | List ]