全部博文(108)
发布时间:2014-01-08 10:44:09
CHAPTER2Introduction to SaltWe’re not just talking about NaCl.2.1The 30 second summarySalt is:?a configuration management system, capable of maintaining remote nodes in defined states (for example, ensur-ing that specific packages are installed and specific servic.........【阅读全文】
发布时间:2013-12-17 11:43:10
wget https://downloads.sourceforge.net/project/goaccess/0.7/goaccess-0.7.tar.gztar xzf goaccess-0.7.tar.gzcd goaccess-0.7./configure --enable-geoip --enable-utf8##可能遇到报错 configure: error: libgeoip-dev is missing##centos yum install GeoIP-devel ##rhel yum instal.........【阅读全文】
发布时间:2013-12-10 16:42:29
今天查看服务器的内存遇到一个问题,/proc/meminfo里显示是3.9G,但free -g只显示3G,free -m显示3.8G[root@cdn nginx]# more /proc/meminfoMemTotal: 3912240 kBMemFree: 126712 kBBuffers: .........【阅读全文】
发布时间:2013-12-09 18:08:38
今天同事找我说,pkill -g php 后,过一会又发现进程起来了。初步怀疑是crontab搞鬼但测试后不是。然后用nentstat -altnp 无意间发现有。然后查看该进程 monit status然后停掉对php的监控(即使正在运行也会被杀掉)。 这样kill之后就不会再起来了。The Monit daemon 5.3.2 uptime: 111d 2h 49mPr.........【阅读全文】