全部博文(108)
发布时间:2015-02-26 13:31:16
1.安装新的nginx 包2.kill -USR2 `cat /your/nginx/path/nginx.pid`##此时新的nginx与就的nginx并行工作,下一步需要停掉旧Nginx work process3.kill -WINCH `cat /your/nginx/path/nginx.pid.oldbin`4.ps -ef|grep nginx #会看到新的nginx 的master 进程ppid是旧master进程pid5.kill -TERM `cat /your/nginx/path.........【阅读全文】
发布时间:2015-02-26 13:26:34
3.1. ArchitectureA SystemTap session begins when you run a SystemTap script. This session occurs in the following fashion:Procedure 3.1. SystemTap SessionFirst, SystemTap checks the script against the existing tapset library (normally in /usr/shar.........【阅读全文】
发布时间:2015-02-10 13:04:43
最近想利用下面的rsync_opts选项(支持ansible1.6以上)。但由于当前的ansible版本是1.5.4. 于是想直接apt-get update,失败。所以想卸载重新安装下,成功。点击(此处)折叠或打开synchronize: src=/tmp/helloworld dest=/var/www/helloword rsync_opts=--no-motd,--exclude=.git.........【阅读全文】