{"id":307,"date":"2013-02-14T08:50:38","date_gmt":"2013-02-14T08:50:38","guid":{"rendered":"https:\/\/shan.info\/new\/rsync%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%9e%b6%e8%ae%be%e6%95%b0%e6%8d%ae%e5%90%8c%e6%ad%a5%e6%96%87%e4%bb%b6%e5%a2%9e%e9%87%8f%e5%a4%87%e4%bb%bd\/"},"modified":"2013-02-14T08:50:38","modified_gmt":"2013-02-14T08:50:38","slug":"rsync%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%9e%b6%e8%ae%be%e6%95%b0%e6%8d%ae%e5%90%8c%e6%ad%a5%e6%96%87%e4%bb%b6%e5%a2%9e%e9%87%8f%e5%a4%87%e4%bb%bd","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/rsync%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%9e%b6%e8%ae%be%e6%95%b0%e6%8d%ae%e5%90%8c%e6%ad%a5%e6%96%87%e4%bb%b6%e5%a2%9e%e9%87%8f%e5%a4%87%e4%bb%bd\/","title":{"rendered":"rsync\u670d\u52a1\u5668\u67b6\u8bbe(\u6570\u636e\u540c\u6b65|\u6587\u4ef6\u589e\u91cf\u5907\u4efd)"},"content":{"rendered":"<p>\n\t&nbsp;<\/p>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6211\u4eec\u5728\u4f7f\u7528\u670d\u52a1\u5668\u53d1\u5e03\u6211\u4eec\u7684\u7f51\u7ad9\u7684\u65f6\u5019\uff0c\u901a\u5e38\u8981\u8003\u8651\u5230\u6587\u4ef6\u7684\u5907\u4efd\uff0c\u800c\u6587\u4ef6\u7684\u5907\u4efd\u6bd4\u8f83\u9ad8\u6548\u7684\u5907\u4efd\u662f\u589e\u52a0\u5907\u4efd\uff0c<a href=\"http:\/\/www.centos.bz\/tag\/rsync\/\" style=\"margin: 0px; padding: 0px; border: 0px; outline: 0px; color: rgb(208, 94, 11);\" title=\"rsync\">rsync<\/a>\u8f6f\u4ef6\u5c31\u662f\u8fd9\u6837\u7684\u4e00\u4e2a\u5de5\u5177\u3002\u4e3a\u4e86\u5b9e\u73b0\u591a\u4e2a\u670d\u52a1\u5668\u8d1f\u8f7d\u5747\u8861\uff0c\u6211\u4eec\u9700\u8981\u8fd9\u51e0\u4e2a\u670d\u52a1\u5668\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u540c\u6b65\uff0c\u800crsync\u8f6f\u4ef6\u4e5f\u80fd\u80dc\u4efb\uff0c\u4e0b\u9762\u6211\u4eec\u6765\u4ecb\u7ecd\u5982\u4f55\u67b6\u8bbersync\u670d\u52a1\u5668\u6765\u8fbe\u5230\u6587\u4ef6\u589e\u91cf\u5907\u4efd\u548c\u6570\u636e\u540c\u6b65\u7684\u529f\u80fd\u3002<\/p>\n<h3 id=\"\u4ec0\u4e48\u662frsync\" style=\"margin: 0.5em 0px; padding: 0px; border: 0px; outline: 0px; font-size: 23px; line-height: 1.1em; font-family: Arial, Helvetica, sans-serif;\">\n\t\u4ec0\u4e48\u662frsync<\/h3>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\trsync \u662f\u4e00\u4e2a\u5feb\u901f\u589e\u91cf\u6587\u4ef6\u4f20\u8f93\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u5728\u540c\u4e00\u4e3b\u673a\u5907\u4efd\u5185\u90e8\u7684\u5907\u5206\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u628a\u5b83\u4f5c\u4e3a\u4e0d\u540c\u4e3b\u673a\u7f51\u7edc\u5907\u4efd\u5de5\u5177\u4e4b\u7528\u3002\u672c\u6587\u4e3b\u8981\u8bb2\u8ff0\u7684\u662f\u5982\u4f55\u81ea\u67b6rsync\u670d\u52a1\u5668\uff0c\u4ee5\u5b9e\u73b0\u6587\u4ef6\u4f20\u8f93\u3001\u5907\u4efd\u548c\u955c\u50cf\u3002\u76f8\u5bf9tar\u548cwget\u6765\u8bf4\uff0crsync \u4e5f\u6709\u5176\u81ea\u8eab\u7684\u4f18\u70b9\uff0c\u6bd4\u5982\u901f\u5ea6\u5feb\u3001\u5b89\u5168\u3001\u9ad8\u6548\u3002<\/p>\n<h3 id=\"rsync\u7684\u5b89\u88c5\" style=\"margin: 0.5em 0px; padding: 0px; border: 0px; outline: 0px; font-size: 23px; line-height: 1.1em; font-family: Arial, Helvetica, sans-serif;\">\n\trsync\u7684\u5b89\u88c5<\/h3>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u5728<a href=\"http:\/\/www.centos.bz\/\" style=\"margin: 0px; padding: 0px; border: 0px; outline: 0px; color: rgb(208, 94, 11);\" title=\"CentOS\">CentOS<\/a>\u670d\u52a1\u5668\uff0c\u6211\u4eec\u53ef\u4ee5\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tyum install rsync<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u5bf9\u4e8edebian\u3001<a href=\"http:\/\/www.centos.bz\/category\/other-system\/ubuntu\/\" style=\"margin: 0px; padding: 0px; border: 0px; outline: 0px; color: rgb(208, 94, 11);\" title=\"ubuntu\">ubuntu<\/a>\u670d\u52a1\u5668\uff0c\u5219\u662f\u4ee5\u4e0b\u547d\u4ee4<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tsudo apt-get&nbsp; install&nbsp; rsync<\/li>\n<\/ol>\n<\/div>\n<h3 id=\"rsync\u670d\u52a1\u5668\u7684\u914d\u7f6e\u6587\u4ef6rsyncd.conf\" style=\"margin: 0.5em 0px; padding: 0px; border: 0px; outline: 0px; font-size: 23px; line-height: 1.1em; font-family: Arial, Helvetica, sans-serif;\">\n\trsync\u670d\u52a1\u5668\u7684\u914d\u7f6e\u6587\u4ef6rsyncd.conf<\/h3>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u4e0b\u9762\u6211\u4eec\u5c06\u6d89\u53ca\u5230\u4e09\u4e2a\u6587\u4ef6 rsyncd.conf\uff0crsyncd.secrets \u548crsyncd.motd\u3002<br \/>\n\trsyncd.conf \u662frsync\u670d\u52a1\u5668\u4e3b\u8981\u914d\u7f6e\u6587\u4ef6\u3002<br \/>\n\trsyncd.secrets\u662f\u767b\u5f55rsync\u670d\u52a1\u5668\u7684\u5bc6\u7801\u6587\u4ef6\u3002<br \/>\n\trsyncd.motd\u662f\u5b9a\u4e49rysnc \u670d\u52a1\u5668\u4fe1\u606f\u7684\uff0c\u4e5f\u5c31\u662f\u7528\u6237\u767b\u5f55\u4fe1\u606f\u3002<br \/>\n\t\u4e0b\u9762\u6211\u4eec\u5206\u522b\u5efa\u7acb\u8fd9\u4e09\u4e2a\u6587\u4ef6\u3002<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tmkdir \/etc\/rsyncd<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a\u5728\/etc\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2arsyncd\u7684\u76ee\u5f55\uff0c\u6211\u4eec\u7528\u6765\u5b58\u653ersyncd.conf \u548crsyncd.secrets\u6587\u4ef6\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\ttouch \/etc\/rsyncd\/rsyncd.conf<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a\u521b\u5efarsyncd.conf \uff0c\u8fd9\u662frsync\u670d\u52a1\u5668\u7684\u914d\u7f6e\u6587\u4ef6\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\ttouch \/etc\/rsyncd\/rsyncd.secrets<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a\u521b\u5efarsyncd.secrets \uff0c\u8fd9\u662f\u7528\u6237\u5bc6\u7801\u6587\u4ef6\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tchmod 600 \/etc\/rsyncd\/rsyncd.secrets<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a\u4e3a\u4e86\u5bc6\u7801\u7684\u5b89\u5168\u6027\uff0c\u6211\u4eec\u628a\u6743\u9650\u8bbe\u4e3a600\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\ttouch \/etc\/rsyncd\/rsyncd.motd<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a\u521b\u5efarsyncd.motd\u6587\u4ef6\uff0c\u8fd9\u662f\u5b9a\u4e49\u670d\u52a1\u5668\u4fe1\u606f\u7684\u6587\u4ef6\u3002<br \/>\n\t\u4e0b\u4e00\u5c31\u662f\u6211\u4eec\u4fee\u6539 rsyncd.conf \u548crsyncd.secrets \u548crsyncd.motd \u6587\u4ef6\u7684\u65f6\u5019\u4e86\u3002<br \/>\n\trsyncd.conf\u6587\u4ef6\u5185\u5bb9\uff1a<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t# Minimal configuration file for rsync daemon<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t# See rsync(1) and rsyncd.conf(5) man pages for help<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t&nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t# This line is required by the \/etc\/init.d\/rsyncd script<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tpid file = \/var\/run\/rsyncd.pid&nbsp; &nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tport = 873<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\taddress = 192.168.1.171&nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t#uid = nobody<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t#gid = nobody&nbsp; &nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tuid = root&nbsp; &nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tgid = root&nbsp; &nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t&nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tuse chroot = yes&nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tread only = no&nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t&nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t&nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t#limit access to private LANs<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\thosts allow=192.168.1.0\/255.255.255.0 10.0.1.0\/255.255.255.0&nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\thosts deny=*<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t&nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tmax connections = 5<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tmotd file = \/etc\/rsyncd\/rsyncd.motd<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t&nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t#This will give you a separate log file<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t#log file = \/var\/log\/rsync.log<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t&nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t#This will log every file transferred &#8211; up to 85,000+ per user, per sync<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t#transfer logging = yes<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t&nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tlog format = %t %a %m %f %b<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tsyslog facility = local3<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\ttimeout = 300<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t&nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t[linuxsirhome]&nbsp; &nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tpath = \/home&nbsp; &nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tlist=yes<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tignore errors<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tauth users = linuxsir<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tsecrets file = \/etc\/rsyncd\/rsyncd.secrets&nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tcomment = linuxsir home&nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\texclude =&nbsp; &nbsp;beinan\/&nbsp; samba\/&nbsp; &nbsp; &nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t&nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t[beinan]<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tpath = \/opt<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tlist=no<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tignore errors<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tcomment = optdir&nbsp; &nbsp;<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tauth users = beinan<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tsecrets file = \/etc\/rsyncd\/rsyncd.secrets<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u5bc6\u7801\u6587\u4ef6\uff1a\/etc\/rsyncd\/rsyncd.secrets\u7684\u5185\u5bb9\u683c\u5f0f\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t\u7528\u6237\u540d:\u5bc6\u7801<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tlinuxsir:222222<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tbeinan:333333<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a linuxsir\u662f\u7cfb\u7edf\u7528\u6237\uff0c\u8fd9\u91cc\u7684\u5bc6\u7801\u503c\u5f97\u6ce8\u610f\uff0c\u4e3a\u4e86\u5b89\u5168\uff0c\u4f60\u4e0d\u80fd\u628a\u7cfb\u7edf\u7528\u6237\u7684\u5bc6\u7801\u5199\u5728\u8fd9\u91cc\u3002\u6bd4\u5982\u4f60\u7684\u7cfb\u7edf\u7528\u6237 linuxsir \u5bc6\u7801\u662f abcdefg \uff0c\u4e3a\u4e86\u5b89\u5168\uff0c\u4f60\u53ef\u4ee5\u8ba9rsync \u4e2d\u7684linuxsir \u4e3a 222222 \u3002\u8fd9\u548c<a href=\"http:\/\/www.centos.bz\/tag\/samba\/\" style=\"margin: 0px; padding: 0px; border: 0px; outline: 0px; color: rgb(208, 94, 11);\" title=\"samba\">samba<\/a>\u7684\u7528\u6237\u8ba4\u8bc1\u7684\u5bc6\u7801\u539f\u7406\u662f\u5dee\u4e0d\u591a\u7684\uff1b<br \/>\n\trsyncd.motd \u6587\u4ef6;<br \/>\n\t\u5b83\u662f\u5b9a\u4e49rysnc \u670d\u52a1\u5668\u4fe1\u606f\u7684\uff0c\u4e5f\u5c31\u662f\u7528\u6237\u767b\u5f55\u4fe1\u606f\u3002\u6bd4\u5982\u8ba9\u7528\u6237\u77e5\u9053\u8fd9\u4e2a\u670d\u52a1\u5668\u662f\u8c01\u63d0\u4f9b\u7684\u7b49\uff1b\u7c7b\u4f3cftp\u670d\u52a1\u5668\u767b\u5f55\u65f6\uff0c\u6211\u4eec\u6240\u770b\u5230\u7684 linuxsir.org ftp \u2026\u2026\u3002 \u5f53\u7136\u8fd9\u5728\u5168\u5c40\u5b9a\u4e49\u53d8\u91cf\u65f6\uff0c\u5e76\u4e0d\u662f\u5fc5\u987b\u7684\uff0c\u4f60\u53ef\u4ee5\u7528#\u53f7\u6ce8\u6389\uff0c\u6216\u5220\u9664\uff1b\u6211\u5728\u8fd9\u91cc\u5199\u4e86\u4e00\u4e2a rsyncd.motd\u7684\u5185\u5bb9\u4e3a\uff1a<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t+++++++++++++++++++++++++++<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t+ linuxsir.org&nbsp; rsync&nbsp; 2002-2007 +<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t+++++++++++++++++++++++++++<\/li>\n<\/ol>\n<\/div>\n<h3 id=\"rsyncd.conf\u6587\u4ef6\u4ee3\u7801\u8bf4\u660e\" style=\"margin: 0.5em 0px; padding: 0px; border: 0px; outline: 0px; font-size: 23px; line-height: 1.1em; font-family: Arial, Helvetica, sans-serif;\">\n\trsyncd.conf\u6587\u4ef6\u4ee3\u7801\u8bf4\u660e<\/h3>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tpid file = \/var\/run\/rsyncd.pid<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a\u544a\u8bc9\u8fdb\u7a0b\u5199\u5230 \/var\/run\/rsyncd.pid \u6587\u4ef6\u4e2d\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tport = 873<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a\u6307\u5b9a\u8fd0\u884c\u7aef\u53e3\uff0c\u9ed8\u8ba4\u662f873\uff0c\u60a8\u53ef\u4ee5\u81ea\u5df1\u6307\u5b9a\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\taddress = 192.168.1.171<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a\u6307\u5b9a\u670d\u52a1\u5668IP\u5730\u5740\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tuid = nobody<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tgid = nobdoy<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a\u670d\u52a1\u5668\u7aef\u4f20\u8f93\u6587\u4ef6\u65f6\uff0c\u8981\u53d1\u54ea\u4e2a\u7528\u6237\u548c\u7528\u6237\u7ec4\u6765\u6267\u884c\uff0c\u9ed8\u8ba4\u662fnobody\u3002 \u5982\u679c\u7528nobody \u7528\u6237\u548c\u7528\u6237\u7ec4\uff0c\u53ef\u80fd\u9047\u5230\u6743\u9650\u95ee\u9898\uff0c\u6709\u4e9b\u6587\u4ef6\u4ece\u670d\u52a1\u5668\u4e0a\u62c9\u4e0d\u4e0b\u6765\u3002\u6240\u4ee5\u6211\u5c31\u5077\u61d2\uff0c\u4e3a\u4e86\u65b9\u4fbf\uff0c\u7528\u4e86root \u3002\u4e0d\u8fc7\u60a8\u53ef\u4ee5\u5728\u5b9a\u4e49\u8981\u540c\u6b65\u7684\u76ee\u5f55\u65f6\u5b9a\u4e49\u7684\u6a21\u5757\u4e2d\u6307\u5b9a\u7528\u6237\u6765\u89e3\u51b3\u6743\u9650\u7684\u95ee\u9898\u3002<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tuse chroot = yes<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u7528chroot\uff0c\u5728\u4f20\u8f93\u6587\u4ef6\u4e4b\u524d\uff0c\u670d\u52a1\u5668\u5b88\u62a4\u7a0b\u5e8f\u5728\u5c06chroot \u5230\u6587\u4ef6\u7cfb\u7edf\u4e2d\u7684\u76ee\u5f55\u4e2d\uff0c\u8fd9\u6837\u505a\u7684\u597d\u5904\u662f\u53ef\u80fd\u4fdd\u62a4\u7cfb\u7edf\u88ab\u5b89\u88c5\u6f0f\u6d1e\u4fb5\u88ad\u7684\u53ef\u80fd\u3002\u7f3a\u70b9\u662f\u9700\u8981\u8d85\u7ea7\u7528\u6237\u6743\u9650\u3002\u53e6\u5916\u5bf9\u7b26\u53f7\u94fe\u63a5\u6587\u4ef6\uff0c\u5c06\u4f1a\u6392\u9664\u5728\u5916\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u4f60\u5728rsync\u670d\u52a1\u5668\u4e0a\uff0c\u5982\u679c\u6709\u7b26\u53f7\u94fe\u63a5\uff0c\u4f60\u5728\u5907\u4efd\u670d\u52a1\u5668\u4e0a\u8fd0\u884c\u5ba2\u6237\u7aef\u7684\u540c\u6b65\u6570\u636e\u65f6\uff0c\u53ea\u4f1a\u628a\u7b26\u53f7\u94fe\u63a5\u540d\u540c\u6b65\u4e0b\u6765\uff0c\u5e76\u4e0d\u4f1a\u540c\u6b65\u7b26\u53f7\u94fe\u63a5\u7684\u5185\u5bb9\uff1b\u8fd9\u4e2a\u9700\u8981\u81ea\u5df1\u6765\u5c1d\u8bd5\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tread only = yes<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1aread only \u662f\u53ea\u8bfb\u9009\u62e9\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u4e0d\u8ba9\u5ba2\u6237\u7aef\u4e0a\u4f20\u6587\u4ef6\u5230\u670d\u52a1\u5668\u4e0a\u3002\u8fd8\u6709\u4e00\u4e2a write only\u9009\u9879\uff0c\u81ea\u5df1\u5c1d\u8bd5\u662f\u505a\u4ec0\u4e48\u7528\u7684\u5427\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t#limit access to private LANs<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\thosts allow=192.168.1.0\/255.255.255.0 10.0.1.0\/255.255.255.0<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a\u5728\u60a8\u53ef\u4ee5\u6307\u5b9a\u5355\u4e2aIP\uff0c\u4e5f\u53ef\u4ee5\u6307\u5b9a\u6574\u4e2a\u7f51\u6bb5\uff0c\u80fd\u63d0\u9ad8\u5b89\u5168\u6027\u3002\u683c\u5f0f\u662fip \u4e0eip \u4e4b\u95f4\u3001ip\u548c\u7f51\u6bb5\u4e4b\u95f4\u3001\u7f51\u6bb5\u548c\u7f51\u6bb5\u4e4b\u95f4\u8981\u7528\u7a7a\u683c\u9694\u5f00\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tmax connections = 5<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a\u5ba2\u6237\u7aef\u6700\u591a\u8fde\u63a5\u6570\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tmotd file = \/etc\/rsyncd\/rsyncd.motd<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1amotd file \u662f\u5b9a\u4e49\u670d\u52a1\u5668\u4fe1\u606f\u7684\uff0c\u8981\u81ea\u5df1\u5199 rsyncd.motd \u6587\u4ef6\u5185\u5bb9\u3002\u5f53\u7528\u6237\u767b\u5f55\u65f6\u4f1a\u770b\u5230\u8fd9\u4e2a\u4fe1\u606f\u3002<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tlog file = \/var\/log\/rsync.log<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1arsync \u670d\u52a1\u5668\u7684\u65e5\u5fd7\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\ttransfer logging = yes<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a\u8fd9\u662f\u4f20\u8f93\u6587\u4ef6\u7684\u65e5\u5fd7\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t[linuxsirhome]<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a\u6a21\u5757\uff0c\u5b83\u4e3a\u6211\u4eec\u63d0\u4f9b\u4e86\u4e00\u4e2a\u94fe\u63a5\u7684\u540d\u5b57\uff0c\u94fe\u63a5\u5230\u54ea\u5462\uff0c\u5728\u672c\u6a21\u5757\u4e2d\uff0c\u94fe\u63a5\u5230\u4e86\/home\u76ee\u5f55\uff1b\u8981\u7528[name] \u5f62\u5f0f\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tpath = \/home<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a\u6307\u5b9a\u6587\u4ef6\u76ee\u5f55\u6240\u5728\u4f4d\u7f6e\uff0c\u8fd9\u662f\u5fc5\u987b\u6307\u5b9a\u7684\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tauth users = linuxsir<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a\u8ba4\u8bc1\u7528\u6237\u662flinuxsir \uff0c\u662f\u5fc5\u987b\u5728 \u670d\u52a1\u5668\u4e0a\u5b58\u5728\u7684\u7528\u6237\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tlist=yes<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1alist \u610f\u601d\u662f\u628arsync \u670d\u52a1\u5668\u4e0a\u63d0\u4f9b\u540c\u6b65\u6570\u636e\u7684\u76ee\u5f55\u5728\u670d\u52a1\u5668\u4e0a\u6a21\u5757\u662f\u5426\u663e\u793a\u5217\u51fa\u6765\u3002\u9ed8\u8ba4\u662fyes \u3002\u5982\u679c\u4f60\u4e0d\u60f3\u5217\u51fa\u6765\uff0c\u5c31no \uff1b\u5982\u679c\u662fno\u662f\u6bd4\u8f83\u5b89\u5168\u7684\uff0c\u81f3\u5c11\u522b\u4eba\u4e0d\u77e5\u9053\u4f60\u7684\u670d\u52a1\u5668\u4e0a\u63d0\u4f9b\u4e86\u54ea\u4e9b\u76ee\u5f55\u3002\u4f60\u81ea\u5df1\u77e5\u9053\u5c31\u884c\u4e86\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tignore errors<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a\u5ffd\u7565IO\u9519\u8bef\uff0c\u8be6\u7ec6\u7684\u8bf7\u67e5\u6587\u6863\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tsecrets file = \/etc\/rsyncd\/rsyncd.secrets<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a\u5bc6\u7801\u5b58\u5728\u54ea\u4e2a\u6587\u4ef6\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tcomment = linuxsir home&nbsp; data<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a\u6ce8\u91ca\u53ef\u4ee5\u81ea\u5df1\u5b9a\u4e49\uff0c\u5199\u4ec0\u4e48\u90fd\u884c\uff0c\u5199\u70b9\u76f8\u5173\u7684\u5185\u5bb9\u5c31\u884c\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\texclude =&nbsp; &nbsp;beinan\/&nbsp; &nbsp;samba\/<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1aexclude \u662f\u6392\u9664\u7684\u610f\u601d\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u8981\u628a\/home\u76ee\u5f55\u4e0b\u7684beinan\u548csamba \u6392\u9664\u5728\u5916\uff1b beinan\/\u548csamba\/\u76ee\u5f55\u4e4b\u95f4\u6709\u7a7a\u683c\u5206\u5f00 \uff1b<\/p>\n<h3 id=\"\u542f\u52a8rsync \u670d\u52a1\u5668\u53ca\u9632\u706b\u5899\u7684\u8bbe\u7f6e\" style=\"margin: 0.5em 0px; padding: 0px; border: 0px; outline: 0px; font-size: 23px; line-height: 1.1em; font-family: Arial, Helvetica, sans-serif;\">\n\t\u542f\u52a8rsync \u670d\u52a1\u5668\u53ca\u9632\u706b\u5899\u7684\u8bbe\u7f6e<\/h3>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t<strong style=\"margin: 0px; padding: 0px; border: 0px; outline: 0px;\">\u542f\u52a8rsync\u670d\u52a1\u5668<\/strong><br \/>\n\t\u542f\u52a8rsync \u670d\u52a1\u5668\u76f8\u5f53\u7b80\u5355\uff0c\u2013daemon \u662f\u8ba9rsync \u4ee5\u670d\u52a1\u5668\u6a21\u5f0f\u8fd0\u884c\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t\/usr\/bin\/rsync &#8211;daemon&nbsp; &#8211;config=\/etc\/rsyncd\/rsyncd.conf<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t<strong style=\"margin: 0px; padding: 0px; border: 0px; outline: 0px;\">rsync\u670d\u52a1\u5668\u548c\u9632\u706b\u5899<\/strong><br \/>\n\t<a href=\"http:\/\/www.centos.bz\/tag\/linux\/\" style=\"margin: 0px; padding: 0px; border: 0px; outline: 0px; color: rgb(208, 94, 11);\" title=\"Linux\">Linux<\/a>&nbsp;\u9632\u706b\u5899\u662f\u7528<a href=\"http:\/\/www.centos.bz\/tag\/iptables\/\" style=\"margin: 0px; padding: 0px; border: 0px; outline: 0px; color: rgb(208, 94, 11);\" title=\"iptables\">iptables<\/a>\uff0c\u6240\u4ee5\u6211\u4eec\u81f3\u5c11\u5728\u670d\u52a1\u5668\u7aef\u8981\u8ba9\u4f60\u6240\u5b9a\u4e49\u7684rsync \u670d\u52a1\u5668\u7aef\u53e3\u901a\u8fc7\uff0c\u5ba2\u6237\u7aef\u4e0a\u4e5f\u5e94\u8be5\u8ba9\u901a\u8fc7\u3002<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tiptables -A INPUT -p tcp -m state &#8211;state NEW&nbsp; -m tcp &#8211;dport 873 -j ACCEPT<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u67e5\u770b\u4e00\u4e0b\u9632\u706b\u5899\u662f\u4e0d\u662f\u6253\u5f00\u4e86 873\u7aef\u53e3\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tiptables -L<\/li>\n<\/ol>\n<\/div>\n<h3 id=\"\u901a\u8fc7rsync\u5ba2\u6237\u7aef\u6765\u540c\u6b65\u6570\u636e\" style=\"margin: 0.5em 0px; padding: 0px; border: 0px; outline: 0px; font-size: 23px; line-height: 1.1em; font-family: Arial, Helvetica, sans-serif;\">\n\t\u901a\u8fc7rsync\u5ba2\u6237\u7aef\u6765\u540c\u6b65\u6570\u636e<\/h3>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\trsync -avzP linuxsir@linuxsir.org::linuxsirhome&nbsp; &nbsp;linuxsirhome<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\tPassword: \u8fd9\u91cc\u8981\u8f93\u5165linuxsir\u7684\u5bc6\u7801\uff0c\u662f\u670d\u52a1\u5668\u7aef\u63d0\u4f9b\u7684\uff0c\u5728\u524d\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u7528\u7684\u662f 222222\uff0c\u8f93\u5165\u7684\u5bc6\u7801\u5e76\u4e0d\u663e\u793a\u51fa\u6765\uff1b\u8f93\u597d\u540e\u5c31\u56de\u8f66\uff1b<br \/>\n\t\u6ce8\uff1a \u8fd9\u4e2a\u547d\u4ee4\u7684\u610f\u601d\u5c31\u662f\u8bf4\uff0c\u7528linuxsir \u7528\u6237\u767b\u5f55\u5230\u670d\u52a1\u5668\u4e0a\uff0c\u628alinuxsirhome\u6570\u636e\uff0c\u540c\u6b65\u5230\u672c\u5730\u76ee\u5f55linuxsirhome\u4e0a\u3002\u5f53\u7136\u672c\u5730\u7684\u76ee\u5f55\u662f\u53ef\u4ee5\u4f60\u81ea\u5df1\u5b9a\u4e49\u7684\uff0c\u6bd4\u5982 linuxsir\u4e5f\u662f\u53ef\u4ee5\u7684\uff1b\u5f53\u4f60\u5728\u5ba2\u6237\u7aef\u4e0a\uff0c\u5f53\u524d\u64cd\u4f5c\u7684\u76ee\u5f55\u4e0b\u6ca1\u6709linuxsirhome\u8fd9\u4e2a\u76ee\u5f55\u65f6\uff0c\u7cfb\u7edf\u4f1a\u81ea\u52a8\u4e3a\u4f60\u521b\u5efa\u4e00\u4e2a\uff1b\u5f53\u5b58\u5728linuxsirhome\u8fd9\u4e2a\u76ee\u5f55\u4e2d\uff0c\u4f60\u8981\u6ce8\u610f\u5b83\u7684\u5199\u6743\u9650\u3002<br \/>\n\t\u8bf4\u660e\uff1a<br \/>\n\t-a \u53c2\u6570\uff0c\u76f8\u5f53\u4e8e-rlptgoD\uff0c-r \u662f\u9012\u5f52 -l \u662f\u94fe\u63a5\u6587\u4ef6\uff0c\u610f\u601d\u662f\u62f7\u8d1d\u94fe\u63a5\u6587\u4ef6\uff1b-p \u8868\u793a\u4fdd\u6301\u6587\u4ef6\u539f\u6709\u6743\u9650\uff1b-t \u4fdd\u6301\u6587\u4ef6\u539f\u6709\u65f6\u95f4\uff1b-g \u4fdd\u6301\u6587\u4ef6\u539f\u6709\u7528\u6237\u7ec4\uff1b-o \u4fdd\u6301\u6587\u4ef6\u539f\u6709\u5c5e\u4e3b\uff1b-D \u76f8\u5f53\u4e8e\u5757\u8bbe\u5907\u6587\u4ef6\uff1b<br \/>\n\t-z \u4f20\u8f93\u65f6\u538b\u7f29\uff1b<br \/>\n\t-P \u4f20\u8f93\u8fdb\u5ea6\uff1b<br \/>\n\t-v \u4f20\u8f93\u65f6\u7684\u8fdb\u5ea6\u7b49\u4fe1\u606f\uff0c\u548c-P\u6709\u70b9\u5173\u7cfb\uff0c\u81ea\u5df1\u8bd5\u8bd5\u3002\u53ef\u4ee5\u770b\u6587\u6863\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\trsync -avzP&nbsp; &#8211;delete linuxsir@linuxsir.org::linuxsirhome&nbsp; &nbsp;linuxsirhome<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u8fd9\u56de\u6211\u4eec\u5f15\u5165\u4e00\u4e2a \u2013delete \u9009\u9879\uff0c\u8868\u793a\u5ba2\u6237\u7aef\u4e0a\u7684\u6570\u636e\u8981\u4e0e\u670d\u52a1\u5668\u7aef\u5b8c\u5168\u4e00\u81f4\uff0c\u5982\u679c linuxsirhome\u76ee\u5f55\u4e2d\u6709\u670d\u52a1\u5668\u4e0a\u4e0d\u5b58\u5728\u7684\u6587\u4ef6\uff0c\u5219\u5220\u9664\u3002\u6700\u7ec8\u76ee\u7684\u662f\u8ba9linuxsirhome\u76ee\u5f55\u4e0a\u7684\u6570\u636e\u5b8c\u5168\u4e0e\u670d\u52a1\u5668\u4e0a\u4fdd\u6301\u4e00\u81f4\uff1b\u7528\u7684\u65f6\u5019\u8981\u5c0f\u5fc3\u70b9\uff0c\u6700\u597d\u4e0d\u8981\u628a\u5df2\u7ecf\u6709\u91cd\u8981\u6570\u6240\u636e\u7684\u76ee\u5f55\uff0c\u5f53\u505a\u672c\u5730\u66f4\u65b0\u76ee\u5f55\uff0c\u5426\u5219\u4f1a\u628a\u4f60\u7684\u6570\u636e\u5168\u90e8\u5220\u9664\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\trsync -avzP&nbsp; &#8211;delete&nbsp; &#8211;password-file=rsync.password&nbsp; linuxsir@linuxsir.org::linuxsirhome&nbsp; &nbsp;linuxsirhome<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u8fd9\u6b21\u6211\u4eec\u52a0\u4e86\u4e00\u4e2a\u9009\u9879 \u2013password-file=rsync.password \uff0c\u8fd9\u662f\u5f53\u6211\u4eec\u4ee5linuxsir\u7528\u6237\u767b\u5f55rsync\u670d\u52a1\u5668\u540c\u6b65\u6570\u636e\u65f6\uff0c\u5bc6\u7801\u5c06\u8bfb\u53d6 rsync.password \u8fd9\u4e2a\u6587\u4ef6\u3002\u8fd9\u4e2a\u6587\u4ef6\u5185\u5bb9\u53ea\u662flinuxsir\u7528\u6237\u7684\u5bc6\u7801\u3002\u6211\u4eec\u8981\u5982\u4e0b\u505a\uff1b<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\ttouch rsync.password<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\tchmod 600 rsync.password<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\techo &#8220;222222&#8221;&gt; rsync.password<\/li>\n<li style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\trsync -avzP&nbsp; &#8211;delete&nbsp; &#8211;password-file=rsync.password&nbsp; linuxsir@linuxsir.org::linuxsirhome&nbsp; &nbsp;linuxsirhome<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u6ce8\uff1a \u8fd9\u6837\u5c31\u4e0d\u9700\u8981\u5bc6\u7801\u4e86\uff1b\u5176\u5b9e\u8fd9\u662f\u6bd4\u8f83\u91cd\u8981\u7684\uff0c\u56e0\u4e3a\u670d\u52a1\u5668\u901a\u8fc7crond \u8ba1\u5212\u4efb\u52a1\u8fd8\u662f\u6709\u5fc5\u8981\u7684\uff1b<\/p>\n<h3 id=\"\u8ba9rsync \u5ba2\u6237\u7aef\u81ea\u52a8\u4e0e\u670d\u52a1\u5668\u540c\u6b65\u6570\u636e\" style=\"margin: 0.5em 0px; padding: 0px; border: 0px; outline: 0px; font-size: 23px; line-height: 1.1em; font-family: Arial, Helvetica, sans-serif;\">\n\t\u8ba9rsync \u5ba2\u6237\u7aef\u81ea\u52a8\u4e0e\u670d\u52a1\u5668\u540c\u6b65\u6570\u636e<\/h3>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u7f16\u8f91<a href=\"http:\/\/www.centos.bz\/tag\/crontab\/\" style=\"margin: 0px; padding: 0px; border: 0px; outline: 0px; color: rgb(208, 94, 11);\" title=\"crontab\">crontab<\/a><br \/>\n\tcrontab -e<br \/>\n\t\u52a0\u5165\u5982\u4e0b\u4ee3\u7801\uff1a<\/p>\n<div class=\"hl-surround\" style=\"margin: 0px 0px 5px; padding: 0px; border: 1px solid rgb(195, 206, 217); outline: 0px; font-size: 14px; background-color: rgb(249, 251, 252); width: auto; height: auto; overflow: auto; font-family: Fixedsys, 'BitStream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 22.265625px;\">\n<ol class=\"hl-main ln-show\" style=\"margin: 0px; padding: 0px 12px 0px 56px; border: 0px; outline: 0px; background-image: url(http:\/\/www.centos.bz\/wp-content\/plugins\/coolcode\/images\/hide.gif); background-color: transparent; list-style-position: outside !important; list-style-image: initial !important; background-position: 5px 5px; background-repeat: no-repeat no-repeat;\" title=\"Double click to hide line number.\">\n<li class=\"hl-firstline\" style=\"border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-left-color: rgb(195, 206, 217); outline: 0px; margin: 0px !important; padding: 0px 0px 0px 12px !important; border-top-color: rgb(227, 238, 249) !important; font-size: 12px !important; list-style: decimal outside !important; line-height: 20px !important;\">\n\t\t\t10 0 * * * rsync -avzP&nbsp; &#8211;delete&nbsp; &#8211;password-file=rsync.password&nbsp; linuxsir@linuxsir.org::linuxsirhome&nbsp; &nbsp;linuxsirhome<\/li>\n<\/ol>\n<\/div>\n<p style=\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 14px; font-family: Arial, Helvetica, sans-serif; line-height: 22.265625px;\">\n\t\u8868\u793a\u6bcf\u59290\u70b910\u5206\u6267\u884c\u540e\u9762\u7684\u547d\u4ee4\u3002\u66f4\u591acrontab\u7528\u6cd5\u8bf7\u53c2\u8003<br \/>\n\t<a href=\"http:\/\/www.centos.bz\/2011\/03\/auto-run-task-crontab\/\" style=\"margin: 0px; padding: 0px; border: 0px; outline: 0px; color: rgb(208, 94, 11);\">http:\/\/www.centos.bz\/2011\/03\/auto-run-task-crontab\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \u6211\u4eec\u5728\u4f7f\u7528\u670d\u52a1\u5668\u53d1\u5e03\u6211\u4eec\u7684\u7f51\u7ad9\u7684\u65f6\u5019\uff0c\u901a\u5e38\u8981\u8003\u8651\u5230\u6587\u4ef6\u7684\u5907\u4efd\uff0c\u800c\u6587\u4ef6\u7684\u5907\u4efd\u6bd4\u8f83\u9ad8\u6548\u7684\u5907\u4efd\u662f\u589e\u52a0\u5907\u4efd\uff0crsync\u8f6f\u4ef6\u5c31\u662f\u8fd9\u6837\u7684\u4e00\u4e2a\u5de5\u5177\u3002\u4e3a\u4e86\u5b9e\u73b0\u591a\u4e2a\u670d\u52a1\u5668\u8d1f\u8f7d\u5747\u8861\uff0c\u6211\u4eec\u9700\u8981\u8fd9\u51e0\u4e2a\u670d\u52a1\u5668\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u540c\u6b65\uff0c\u800crsync\u8f6f\u4ef6\u4e5f\u80fd\u80dc\u4efb\uff0c\u4e0b\u9762\u6211\u4eec\u6765\u4ecb\u7ecd\u5982\u4f55\u67b6\u8bbersync\u670d\u52a1\u5668\u6765\u8fbe\u5230\u6587\u4ef6\u589e\u91cf\u5907\u4efd\u548c\u6570\u636e\u540c\u6b65\u7684\u529f\u80fd\u3002 \u4ec0\u4e48\u662frsync rsync \u662f\u4e00\u4e2a\u5feb\u901f\u589e\u91cf\u6587\u4ef6\u4f20\u8f93\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u5728\u540c\u4e00\u4e3b\u673a\u5907\u4efd\u5185\u90e8\u7684\u5907\u5206\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u628a\u5b83\u4f5c\u4e3a\u4e0d\u540c\u4e3b\u673a\u7f51\u7edc\u5907\u4efd\u5de5\u5177\u4e4b\u7528\u3002\u672c\u6587\u4e3b\u8981\u8bb2\u8ff0\u7684\u662f\u5982\u4f55\u81ea\u67b6rsync\u670d\u52a1\u5668\uff0c\u4ee5\u5b9e\u73b0\u6587\u4ef6\u4f20\u8f93\u3001\u5907\u4efd\u548c\u955c\u50cf\u3002\u76f8\u5bf9tar\u548cwget\u6765\u8bf4\uff0crsync \u4e5f\u6709\u5176\u81ea\u8eab\u7684\u4f18\u70b9\uff0c\u6bd4\u5982\u901f\u5ea6\u5feb\u3001\u5b89\u5168\u3001\u9ad8\u6548\u3002 rsync\u7684\u5b89\u88c5 \u5728CentOS\u670d\u52a1\u5668\uff0c\u6211\u4eec\u53ef\u4ee5\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5 yum install rsync \u5bf9\u4e8edebian\u3001ubuntu\u670d\u52a1\u5668\uff0c\u5219\u662f\u4ee5\u4e0b\u547d\u4ee4 sudo apt-get&nbsp; install&nbsp; rsync rsync\u670d\u52a1\u5668\u7684\u914d\u7f6e\u6587\u4ef6rsyncd.conf \u4e0b\u9762\u6211\u4eec\u5c06\u6d89\u53ca\u5230\u4e09\u4e2a\u6587\u4ef6 rsyncd.conf\uff0crsyncd.secrets \u548crsyncd.motd\u3002 rsyncd.conf \u662frsync\u670d\u52a1\u5668\u4e3b\u8981\u914d\u7f6e\u6587\u4ef6\u3002 rsyncd.secrets\u662f\u767b\u5f55rsync\u670d\u52a1\u5668\u7684\u5bc6\u7801\u6587\u4ef6\u3002 rsyncd.motd\u662f\u5b9a\u4e49rysnc \u670d\u52a1\u5668\u4fe1\u606f\u7684\uff0c\u4e5f\u5c31\u662f\u7528\u6237\u767b\u5f55\u4fe1\u606f\u3002 \u4e0b\u9762\u6211\u4eec\u5206\u522b\u5efa\u7acb\u8fd9\u4e09\u4e2a\u6587\u4ef6\u3002 mkdir \/etc\/rsyncd \u6ce8\uff1a\u5728\/etc\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2arsyncd\u7684\u76ee\u5f55\uff0c\u6211\u4eec\u7528\u6765\u5b58\u653ersyncd.conf \u548crsyncd.secrets\u6587\u4ef6\uff1b touch \/etc\/rsyncd\/rsyncd.conf \u6ce8\uff1a\u521b\u5efarsyncd.conf \uff0c\u8fd9\u662frsync\u670d\u52a1\u5668\u7684\u914d\u7f6e\u6587\u4ef6\uff1b touch \/etc\/rsyncd\/rsyncd.secrets \u6ce8\uff1a\u521b\u5efarsyncd.secrets \uff0c\u8fd9\u662f\u7528\u6237\u5bc6\u7801\u6587\u4ef6\uff1b chmod 600 \/etc\/rsyncd\/rsyncd.secrets \u6ce8\uff1a\u4e3a\u4e86\u5bc6\u7801\u7684\u5b89\u5168\u6027\uff0c\u6211\u4eec\u628a\u6743\u9650\u8bbe\u4e3a600\uff1b touch \/etc\/rsyncd\/rsyncd.motd \u6ce8\uff1a\u521b\u5efarsyncd.motd\u6587\u4ef6\uff0c\u8fd9\u662f\u5b9a\u4e49\u670d\u52a1\u5668\u4fe1\u606f\u7684\u6587\u4ef6\u3002 \u4e0b\u4e00\u5c31\u662f\u6211\u4eec\u4fee\u6539 rsyncd.conf \u548crsyncd.secrets \u548crsyncd.motd \u6587\u4ef6\u7684\u65f6\u5019\u4e86\u3002 rsyncd.conf\u6587\u4ef6\u5185\u5bb9\uff1a # Minimal configuration file [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-307","post","type-post","status-publish","format-standard","hentry","category-centos-6"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/comments?post=307"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/307\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}