码迷,mamicode.com
首页 > 其他好文 > 详细

搭建rsync服务

时间:2016-09-08 16:40:09      阅读:264      评论:0      收藏:0      [点我收藏+]

标签:debian   rsync   配置   

一、准备

  1. 修改/etc/default/rsync

    RSYNC_ENABLE=true

  2. 安装rsync包

    apt-get update && apt-get install rsync

  3. 编辑/etc/rsyncd.conf

    pid file = /var/run/rsyncd.pid

    lock file = /var/run/rsyncd.lock

    log file = /var/log/rsyncd.log

    [modules]

    path = /home/newbie/pelican/

    uid = newbie

    gid = newbie

    use chroot = no

    read only = no

    list = false

    post-xfer exec = pelican /home/newbie/pelican/content/ -s /home/newbie/pelican/pelicanconf.py -o /home/www/site/pelican


    [for73]

    path = /home/newbie/cbc3/for_73_module/

    hosts allow = 10.63.255.73, 127.0.0.1

  4. 其他的附加内容日后添加

搭建rsync服务

标签:debian   rsync   配置   

原文地址:http://gumpping.blog.51cto.com/9811308/1850576

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!