[转]php-fpm出现setrlimit(RLIMIT_NOFILE) failed 异常 By duncan21Posted on 2016 年 9 月 22 日2016 年 9 月 22 日Posted in LinuxTagged php, setrlimitNo Comments on [转]php-fpm出现setrlimit(RLIMIT_NOFILE) failed 异常 php-cgi日志php-fpm出现setrlimit(RLIMIT_NOFILE) failed 错误 tail -n 100 php-fpm.log [WARNING] fpm_std[……] 阅读全文 Read More
日常总结检查服务器及网站运行是否正常的几条 By duncan21Posted on 2016 年 9 月 18 日2016 年 9 月 18 日Posted in LinuxNo Comments on 日常总结检查服务器及网站运行是否正常的几条 检查服务器的网卡流量,一般有会有安装cacti或者zabbix,看看是否与异常或者波动很剧烈的流量 top检查是否有异常的进程 df -h,检查磁盘是否已经满了[……] 阅读全文 Read More
[转]很有趣的故事 By duncan21Posted on 2016 年 9 月 14 日Posted in repostNo Comments on [转]很有趣的故事 作者:Andy宋 链接:https://www.zhihu.com/question/20128241/answer/96187918 来源:知乎 著作权归作者所有,转载请联系作者获得授权。[……] 阅读全文 Read More
[转]centos7 开机/etc/rc.local 不执行的问题 By duncan21Posted on 2016 年 9 月 14 日Posted in LinuxTagged centos7, rc.localNo Comments on [转]centos7 开机/etc/rc.local 不执行的问题 最近发现centos7 的/etc/rc.local不会开机执行,于是认真看了下/etc/rc.local文件内容的就发现了问题的原因了 #!/bin/bash #?T[......] 阅读全文 Read More
nginx的安全配置 By duncan21Posted on 2016 年 9 月 6 日2016 年 9 月 6 日Posted in LinuxTagged nginx, phpNo Comments on nginx的安全配置 网站的目录结构: 2 directories, 7 files 需求: 1.网站根目录下,只允许访问index.php,其他任何php文件不得访问。即不能访问1.php和te[……] 阅读全文 Read More
如何使用Forfiles ? By duncan21Posted on 2016 年 9 月 5 日Posted in computingTagged forfilesNo Comments on 如何使用Forfiles ? 环境: win7或者win2008 FORFILES [/P pathname] [/M searchmask] [/S] [/C command] [/D [+ | -] {yyyy-MM-d[……] 阅读全文 Read More
2015中国股市牛市全程回顾 By duncan21Posted on 2016 年 9 月 4 日2024 年 5 月 16 日Posted in repostTagged 股市, 郎咸平No Comments on 2015中国股市牛市全程回顾 第十三章中国股市:全球股市中的“另类”? 一、中国股市为何与全球股市反向而行? 2015年4月14日,上证指数一路飙升到4160点,从2014年7月10日的2036点算起,涨幅已经突破了100%。[……] 阅读全文 Read More