Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | 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"