安裝相關軟體
apt-get dist-upgrade
apt-get update
apt-get install xinetd
apt-get install rsyncd
編輯 /etc/xinetd.d/rsync 內容如下
# default: off
# description: The rsync server is a good addition to an ftp server, as it \
# allows crc checksumming etc.
service rsync
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/bin/rsync
server_args = --daemon
log_on_failure += USERID
}
編輯
/etc/rsyncd.conf
/etc/rsyncd.secrets
設定 xinetd 開機執行
update-rc.d xinetd enable
沒有留言:
張貼留言