rsync端配置mkdir -p /data0/www/bbs/ /data0/www/www/ /data0/www/blog/chown -R rsync.rsync /data0/tree /data0echo "rsync_backup:oldboy">/etc/rsync.passwordchmod 600 /etc/rsync.passwordrsync --daemonps -
排除故障 ***************************1.@ERROR: auth failed on module xxxxx rsync: connection unexpectedly closed (90 bytes read so far) rsync error: error in rsync protocol d
#!/bin/bash ######################################################################### # File Name : rsync_nobody.sh # Author : gongy # Mail : 458026734@qq.
sersync+rsync可实现数据实时同步rsync开启daemon模式 vim /etc/rsyncd.confuid = rsyncgid = rsyncuse chroot = nomax chonections = 200time out = 300
安装常用工具:yum install tree nmap sysstat dos2unix lrzsz -y 设置两台机器主机名hostname inotify hostname rsync这里测试,就直接hostname修改了,要使永久生效,还需要修改/etc/network/sysconfig和
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号