Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 作品与服务 | Email

14.2. rsync

pkg_add -r rsync
		
# cd /usr/ports/net/rsync
# make install clean
		

14.2.1. rsyncd.conf

/usr/local/etc/rsyncd.conf

/usr/local/etc/rc.d/rsyncd start
Starting rsyncd.

sockstat | grep rsync
root     rsync      60491 3  dgram  -> /var/run/logpriv
root     rsync      60491 4  tcp6   *:873                 *:*
root     rsync      60491 5  tcp4   *:873                 *:*
			
#vi /etc/rc.conf //加入以下内容

rsyncd_enable="YES"
			
comments powered by Disqus