Skip to main content

Posts

Showing posts from April, 2013

How to install rsync server on CentOS

These are steps to install rsync server.  Install xinetd and rsync packages #yum -y install xinetd rsync Then make sure xinetd is running on levels 3, 4 and 5 #chkconfig --level 345 xinetd on Modify rsync xinetd configuration. We shoud change disable = yes to disable = no #vi /etc/xinetd.d/rsync Next, create rsync secrets file for password with format of username:password #vi /etc/rsyncd.secrets Last create configuration for rsync shares #vi /etc/rsyncd.conf Fill this configuration # rsyncd.conf secrets file = /etc/rsyncd.secrets motd file = /etc/rsyncd.motd read only = yes list = yes uid = nobody gid = nobody [out] comment = Interesting stuff from this server path = /home/rsync/out [confidential] comment = FYI path = /home/rsync/secret-out auth users = demby,pratama hosts allow = *. pratama.us hosts deny = * list = false  Then save After that, fix up permission and ownership file, and restart xinetd se