rsync 配置
来源:互联网 发布:jdk 7u3 windows i586 编辑:程序博客网 时间:2024/05/01 14:15
服务器上启动rsync服务
rsync服务器在xinetd组中
# cat /etc/xinetd.d/rsync # default: off# description: The rsync server is a good addition to an ftp server, as it# allows crc checksumming etc.service rsync{ disable = no socket_type = stream wait = no user = root server = /usr/bin/rsync server_args = --daemon log_on_failure += USERID}
编辑rsync配置文件/etc/rsyncd.conf,注意修改hosts allow
# cat /etc/rsyncd.confsecrets file = /etc/rsyncd.secrets motd file = /etc/rsyncd.motd read only = yeslist = yes uid = rootgid = roothosts allow = ip1, ip2max connections = 20 log file = /var/log/rsyncd.log pid file = /var/run/rsyncd.pid lock file = /var/run/rsync.lock[server_log] comment = server_logpath = /var/log/server/log#auth users = test
#service xinetd restart
客户端同步数据
rsync -aqv server-ip::server_log /home/test/localdir
使用密码文件同步数据
chmod 600 pwd-filersync -aqv --password-file=pwd-file --delete x@ip::y dir/
- rsync 配置
- rsync 配置
- rsync配置
- rsync配置
- rsync 配置
- 配置rsync
- rsync 配置
- rsync 配置
- rsync配置
- rsync配置
- rsync配置
- rsync配置
- rsync配置
- rsync配置
- rsync+ssh配置详解
- RSync服务器配置
- rsync安装配置
- rsync安装配置
- 简单且强大的PHP调试工具 Kint
- Hbase filter接口源码研究
- mysql版本选择
- 在centos 6.x上安装chrome浏览器
- 高精度冪(模板)
- rsync 配置
- 电商企业的节日EDM邮件营销生意经
- VTK6 error: no override found for
- Openstack整合esxi 测试总结
- Linux下的用户管理
- 用php生成一个日历
- zoj 1525 Air Raid 有向无环图的最小路径覆盖(匹配)
- Linux引导及初始化
- Firefox扩展中Keyconfig配置快捷键常用代码