2003-08-31 22:39:34 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of <application>rsync</application></title>
|
|
|
|
|
2003-09-24 09:52:37 +08:00
|
|
|
<para>For security reasons, running <application>rsync</application> server as
|
2003-10-04 00:43:11 +08:00
|
|
|
an unprivileged user and group is encouraged.</para>
|
2003-08-31 22:39:34 +08:00
|
|
|
|
2003-09-24 09:52:37 +08:00
|
|
|
<screen><userinput><command>groupadd rsyncd &&
|
2003-08-31 22:39:34 +08:00
|
|
|
useradd -c rsyncd -d /home/rsync -g rsyncd -s /bin/false rsyncd</command>
|
2003-09-24 09:52:37 +08:00
|
|
|
</userinput></screen>
|
2003-08-31 22:39:34 +08:00
|
|
|
|
|
|
|
<para>Install <application>rsync</application> by running the following
|
|
|
|
commands:</para>
|
|
|
|
|
2003-09-24 09:52:37 +08:00
|
|
|
<screen><userinput><command>./configure --prefix=/usr &&
|
2003-08-31 22:39:34 +08:00
|
|
|
make &&
|
2003-09-24 09:52:37 +08:00
|
|
|
make install </command></userinput></screen>
|
2003-08-31 22:39:34 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|