1.
vi /etc/xinetd.d/rsync
set disabled = no
2.
cat /etc/rsyncd.conf
max connections = 2
log file = /var/log/rsync.log
timeout = 300
[pub]
comment = Random things available for download
path = /home/oracle/work
read only = yes
list = yes
uid = oracle
gid = oinstall
auth users = pub
secrets file = /etc/rsyncd.secrets
[share2]
comment = t2
path = /home/oracle/work2
read only = yes
list = yes
uid = oracle
gid = oinstall
auth users = pub2
secrets file = /etc/rsyncd.secrets
3.
cat /etc/rsyncd.secrets
pub:pub
pub2:pub2
4.
chmod 600 /etc/rsyncd.secrets
5.
download http://www.brentnorris.net/rsync.zip
6. rsync like this:
rsync -aPv rsync://pub@192.168.0.213/pub .
1 comment:
[url=http://cialisonlinehere.com/#ezyuc]cheap cialis[/url] - cheap cialis online , http://cialisonlinehere.com/#qzzsb buy cialis online
Post a Comment