Chinaunix首页 | 论坛 | 博客
  • 博客访问: 462644
  • 博文数量: 108
  • 博客积分: 25
  • 博客等级: 民兵
  • 技术积分: 1134
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-29 19:43
文章分类

全部博文(108)

文章存档

2016年(10)

2015年(9)

2014年(73)

2013年(16)

我的朋友

发布时间: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.........【阅读全文】

阅读(975) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(938) | 评论(0) | 转发(0)

发布时间:2015-02-10 13:31:57

把以前学习Git的笔记贴下。直接快照,不是比较差异git 保存的是快照,提交的是一个快照。SnapshotGit 只关心文件数据的整体是否发生变化。Git操作大多数仅仅是把数据添加到数据库。一旦提交快照之后就完全不用担心丢失数据。Git的三种状态:已提交(committed).已修改(modified).已暂存(staged)已提交表示该文件已经.........【阅读全文】

阅读(974) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(2009) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册