发布时间:2015-08-26 11:38:58
日志出现了 too many open files
cat /etc/security/limits.d/90-nproc.conf # 优先级超过 /etc/security/limits.conf
# Default limit for number of user's processes to prevent
# accidental fork bombs.
# See rhbz #432903 for reasonin.........【阅读全文】
发布时间:2015-08-25 11:56:14
SYN Flood Protection
These settings added to sysctl.conf will make a server more resistant to SYN flood attacks. Applying configures the kernel to use the SYN cookies mechanism, with a backlog queue of 1024 connections, also setting the SYN and SYN/ACK retries to an effective ceiling of.........【阅读全文】
发布时间:2015-08-20 17:27:40
穷极无聊而作,本来是可以bash来完成的,没啥技术含量可言,注意的是要想把配置一口气输入,需要执行skip-page-display, cisco的交换机应该是 terminal length 0 。
......【阅读全文】
发布时间:2015-08-10 16:24:10
1. puppet的ERB的template若想去掉ruby语句产生的空白行,那么 除了加上“-”外,>之后也不能有空格。
2. 变量的作用域 https://docs.puppetlabs.com/puppet/latest/reference/lang_scope.html, reference超出作用域的变量需要用scope.look.........【阅读全文】