{"id":164,"date":"2020-07-07T14:37:59","date_gmt":"2020-07-07T06:37:59","guid":{"rendered":"https:\/\/blog.xiaobai.pro\/?p=164"},"modified":"2020-07-25T14:52:27","modified_gmt":"2020-07-25T06:52:27","slug":"linux-sunos-%e5%88%a9%e7%94%a8-rsync-%e5%a4%87%e4%bb%bd%e8%87%b3%e7%be%a4%e6%99%96nas","status":"publish","type":"post","link":"https:\/\/blog.xiaobai.pro\/?p=164","title":{"rendered":"linux\/sunos \u5229\u7528 rsync \u5907\u4efd\u81f3\u7fa4\u6656nas"},"content":{"rendered":"\n<p>centos7\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum -y install rsync\nvim \/etc\/rsyncd.conf\n\nuid = root\ngid = root\nuse chroot = no\nmax connections = 4\n\nsystemctl restart rsyncd.service<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>centos6\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum -y install rsync\nvim \/etc\/rsyncd.conf\n\nuid = root\ngid = root\nuse chroot = no\nmax connections = 4\n\nservice xinetd restart\n\u6216\n\/usr\/bin\/rsync --daemon<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>sunos\uff1a<\/p>\n\n\n\n<p>pkgadd -d rsync-3.1.0\\,REV\\=2013.10.07-SunOS5.10-sparc-CSW.pkg<\/p>\n\n\n\n<p>\/opt\/csw\/bin\/rsync --daemon<\/p>\n","protected":false},"excerpt":{"rendered":"centos7\uff1a centos6\uff1a sunos\uff1a pkgadd -d rsync-3.1.0\\,REV\\=2013.10.07-SunOS5.10-sparc-CSW.pkg \/opt\/csw\/bin\/rsync --daemon","protected":false},"author":1,"featured_media":101,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[3,6],"tags":[],"class_list":["post-164","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-nas"],"_links":{"self":[{"href":"https:\/\/blog.xiaobai.pro\/index.php?rest_route=\/wp\/v2\/posts\/164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.xiaobai.pro\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.xiaobai.pro\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.xiaobai.pro\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.xiaobai.pro\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=164"}],"version-history":[{"count":2,"href":"https:\/\/blog.xiaobai.pro\/index.php?rest_route=\/wp\/v2\/posts\/164\/revisions"}],"predecessor-version":[{"id":166,"href":"https:\/\/blog.xiaobai.pro\/index.php?rest_route=\/wp\/v2\/posts\/164\/revisions\/166"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.xiaobai.pro\/index.php?rest_route=\/wp\/v2\/media\/101"}],"wp:attachment":[{"href":"https:\/\/blog.xiaobai.pro\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.xiaobai.pro\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.xiaobai.pro\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}