source: server/other/rsync.xml@ 5cd0959d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5cd0959d was 5cd0959d, checked in by Archaic <archaic@…>, 20 years ago

Resetting keywords

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2592 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7<!ENTITY rsync-download-http "http://rsync.samba.org/ftp/rsync/rsync-&rsync-version;.tar.gz">
8<!ENTITY rsync-download-ftp "ftp://gd.tuwien.ac.at/utils/admin-tools/rsync/rsync-&rsync-version;.tar.gz">
9<!ENTITY rsyncd-size "504 KB">
10<!ENTITY rsync-buildsize "6.5 MB">
11<!ENTITY rsyncd-time "0.20 SBU">
12
13]>
14
15<sect1 id="rsync" xreflabel="rsync-&rsync-version;">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="rsync.html"?>
21<title>rsync-&rsync-version;</title>
22
23<sect2>
24<title>Introduction to <application>rsync</application></title>
25
26<para>The <application>rsync</application> package contains the
27<command>rsync</command> utility. This is useful for synchronizing large file
28archives over a network.</para>
29
30<sect3><title>Package information</title>
31<itemizedlist spacing='compact'>
32<listitem><para>Download (HTTP): <ulink url="&rsync-download-http;"/></para></listitem>
33<listitem><para>Download (FTP): <ulink url="&rsync-download-ftp;"/></para></listitem>
34<listitem><para>Download size: &rsyncd-size;</para></listitem>
35<listitem><para>Estimated Disk space required: &rsync-buildsize;</para></listitem>
36<listitem><para>Estimated build time: &rsyncd-time;</para></listitem></itemizedlist>
37</sect3>
38
39<sect3><title><application>rsync</application> dependencies</title>
40<sect4><title>Optional</title>
41<para>
42<xref linkend="popt"/>
43</para></sect4>
44</sect3>
45
46</sect2>
47
48<sect2>
49<title>Installation of <application>rsync</application></title>
50
51<para>For security reasons, running the <application>rsync</application> server as
52an unprivileged user and group is encouraged. Create the rsyncd user
53and group with the following commands:</para>
54
55<screen><userinput><command>groupadd rsyncd &amp;&amp;
56useradd -c rsyncd -d /home/rsync -g rsyncd -s /bin/false rsyncd</command>
57</userinput></screen>
58
59<para>Install <application>rsync</application> by running the following
60commands:</para>
61
62<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
63make &amp;&amp;
64make install </command></userinput></screen>
65
66</sect2>
67
68<sect2>
69<title>Configuring <application>rsync</application></title>
70
71<sect3><title>Config files</title>
72<para><filename>/etc/rsyncd.conf</filename></para>
73</sect3>
74
75<sect3><title>Configuration Information</title>
76
77<para>This is a simple download-only configuration. See the rsyncd man-page for
78additional options (i.e., user authentication).</para>
79
80<screen><userinput><command>cat &gt; /etc/rsyncd.conf &lt;&lt; "EOF"</command>
81# This is a basic rsync configuration file
82# It exports a single module without user authentication.
83
84motd file = /home/rsync/welcome.msg
85use chroot = yes
86
87[localhost]
88 path = /home/rsync
89 comment = Default rsync module
90 read only = yes
91 list = yes
92 uid = rsyncd
93 gid = rsyncd
94
95<command>EOF</command></userinput></screen>
96</sect3>
97
98<sect3><title>rsyncd init.d script</title>
99
100<para>Note that you only want to start the <application>rsync</application>
101server if you want to provide a <application>rsync</application> archive on
102your machine. The <application>rsync</application> client doesn't need this
103script to be used.</para>
104
105<para>Install the <filename>/etc/rc.d/init.d/rsyncd</filename>
106init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
107
108<screen><userinput><command>make install-rsyncd</command></userinput></screen>
109
110</sect3>
111
112</sect2>
113
114<sect2>
115<title>Contents</title>
116
117<para>The <application>rsync</application> package contains <command>rsync</command>.</para>
118
119</sect2>
120
121<sect2><title>Description</title>
122
123<sect3><title>rsync</title>
124<para><application>rsync</application> is a replacement for <command>rcp
125</command> (and <command>scp</command>) that has many more features. It
126uses the "rsync algorithm" which provides a very fast method of syncing remote
127files. It does this by sending just the differences in the files across the
128link, without requiring that both sets of files are present at one end
129of the link beforehand.</para></sect3>
130
131</sect2>
132
133</sect1>
134
Note: See TracBrowser for help on using the repository browser.