Apr
2

inotify+Sersync实现不同服务器上文件同步

inotify:linux的系统特性,可监控一目录,如果有文件增、减、删就会触发。(详细请查 百科)
Sersync: 金山开源的一个服务器文件同步工具。 详见: http://blog.s135.com/sersync

类似的方案:
inotify与rsync

相关工具:
inotify-tools (用来激活脚本)

利用SVN的post-commit

sersync2配置: http://hi.baidu.com/johntech/blog/item/be8559d2ebc99282a1ec9c18.html
http://hi.baidu.com/johntech/blog/item/f88fef2868203196033bf6a2.html
http://hi.baidu.com/johntech/blog/item/3b6f408b4caa0abe0e2444c9.html

http://www.linuxsir.org/main/?q=node/256 (rsync 服务器架设方法)
http://linux.chinaunix.net/techdoc/system/2008/09/20/1033351.shtml (Rsync命令参数详解)

共计 0 条评论

NAME:

required

E-MAIL:

required, will not be published

HOMEPAGE:

CONTENT: