EZ娱乐带手机版(足球+**)
1、服务器端配置
a.配置文件
vi /etc/rsyncd.conf
uid = rsync
gid = rsync
use chroot = no
max connections = 200
timeout = 300
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
log file = /var/log/rsyncd.log
ignore errors
read only = false
list = false
hosts allow = 192.168.100.0/24
hosts deny = 0.0.0.0/32
auth users = rsync_backup
secrets file = /etc/rsync.password
[data]
path = /data/
[backup]
path = /backup/
b.添加用户
useradd rsync -s /sbin/nologin
c.配置密码文件
echo "rsync_backuo:jiajunp" >/etc/rsync.password
d.修改文件权限
chmod 600 /etc/rsync.password
e.启动rsync
rsync --daemon
f.查看日志文件
tail -f /var/log/rsyncd.log
a.配置文件
vi /etc/rsyncd.conf
uid = rsync
gid = rsync
use chroot = no
max connections = 200
timeout = 300
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
log file = /var/log/rsyncd.log
ignore errors
read only = false
list = false
hosts allow = 192.168.100.0/24
hosts deny = 0.0.0.0/32
auth users = rsync_backup
secrets file = /etc/rsync.password
[data]
path = /data/
[backup]
path = /backup/
b.添加用户
useradd rsync -s /sbin/nologin
c.配置密码文件
echo "rsync_backuo:jiajunp" >/etc/rsync.password
d.修改文件权限
chmod 600 /etc/rsync.password
e.启动rsync
rsync --daemon
f.查看日志文件
tail -f /var/log/rsyncd.log
2018/06/12 13:46:24 [5306] rsyncd version 3.0.6 starting, listening on port 873