2020年8月10日 星期一

1.rsyncd --centos 8

 server 端的設定很簡單,只有兩個檔要寫入

1. /etc/rsyncd.conf
2. /etc/rsyncd.secrets

client 檔的設定更簡單

1. /root/rsyncd.secrets
-------------------------------------
server 端
dnf -y install rsync
dnf -y install rsync rsync-daemon
vim  /etc/rsyncd.conf

pid file = /var/run/rsyncd.pid
log file = /var/log/rsyncd.log
max connections = 4
# log transfer results or not
transfer logging = yes

# any name you like
[163.17.209.237]
# target directory to copy
path = /163.17.209.237
# hosts you allow to access
#hosts allow = 163.17.209.10
#hosts deny = *
list = true
uid = root
gid = root
#read only = false
read only = no
auth users = etc1
secrets file = /etc/r.p
ignore errors






沒有留言:

張貼留言