摘要: http://blog.csdn.net/brainkick/article/details/7176405前言: 服务器程序通常都会通过相应的配置文件来控制服务器的工作。很多情况下,配置文件会经常地被修改,在使其生效时,我们都希望不重启程序,不影响服务器的正常服务。所以所谓的配置文件”热加载”就成了一项非常重要的功能,而这方面,nginx给我们树立了非常好的榜样,值得我们去学习和借鉴。分析: 在nginx正常服务时,我们在nginx的程序程序目录执行./nginx –sreload,来实现重新加载配置文件。-s的作用是向master进程发送信号,除了reload功能之外,还可以使用stop, 阅读全文
posted @ 2014-02-24 23:03 一天不进步,就是退步 阅读(4434) 评论(0) 推荐(0) 编辑
摘要: http://www.opensourcetesting.org/unit_c.phpAPI Sanity AutoTestDescription:An automatic generator of basic unit tests for a shared C/C++ library. It helps to quickly generate simple ("sanity" or "shallow"-quality) test cases for every function in an API using their signatures, dat 阅读全文
posted @ 2014-02-24 22:34 一天不进步,就是退步 阅读(582) 评论(0) 推荐(0) 编辑
摘要: http://snow-berry.iteye.com/blog/1991754从一台电脑virtual box克隆出来的centos.vdi复制到另外一台电脑,找不到网卡,提示Device eth0 does not seem to be present故障现象:service network restartShutting down loopback insterface: [ OK ]Bringing up loopback insterface: [ OK ]Bringing up interface eth0: Device eth0 does not seem to be pres 阅读全文
posted @ 2014-02-24 16:51 一天不进步,就是退步 阅读(650) 评论(0) 推荐(0) 编辑