
gid = nobody
uid = nobody
read only = true
use chroot = no
transfer logging = true
log format = %h %o %f %l %b
log file = /var/log/rsyncd.log
[FTP]
path = /srv/ftp
comment = An Example
Then start rsyncd with
rcrsyncd start
. rsyncd can also be started automatically
during the boot process. Set this up by activating this service in the runlevel editor
provided by YaST or by manually entering the command
insserv rsyncd
. rsyncd
can alternatively be started by xinetd. This is, however, only recommended for servers
that rarely use rsyncd.
The example also creates a log file listing all connections. This file is stored in
/var/
log/rsyncd.log
.
It is then possible to test the transfer from a client system. Do this with the following
command:
rsync -avz sun::FTP
This command lists all files present in the directory
/srv/ftp
of the server. This re-
quest is also logged in the log file
/var/log/rsyncd.log
. To start an actual
transfer, provide a target directory. Use
.
for the current directory. For example:
rsync -avz sun::FTP .
By default, no files are deleted while synchronizing with rsync. If this should be forced,
the additional option
--delete
must be stated. To ensure that no newer files are
deleted, the option
--update
can be used instead. Any conflicts that arise must be
resolved manually.
734
Installation and Administration
Содержание LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007
Страница 1: ...SUSE Linux Enterprise Server www novell com 10 May 11 2007 Installation and Administration...
Страница 14: ......
Страница 19: ...Part I Deployment...
Страница 20: ......
Страница 60: ......
Страница 128: ......
Страница 243: ...Part II Administration...
Страница 244: ......
Страница 274: ......
Страница 312: ......
Страница 348: ......
Страница 380: ......
Страница 381: ...Part III System...
Страница 382: ......
Страница 438: ......
Страница 452: ......
Страница 478: ......
Страница 486: ......
Страница 498: ......
Страница 512: ......
Страница 558: ......
Страница 559: ...Part IV Services...
Страница 560: ......
Страница 652: ......
Страница 670: ......
Страница 742: ......
Страница 754: ......
Страница 796: ......
Страница 817: ...Part V Security...
Страница 818: ......
Страница 858: ......
Страница 886: ......
Страница 910: ......
Страница 911: ...Part VI Troubleshooting...
Страница 912: ......
Страница 924: ......