Difference between revisions of "Rsync"
From CBLFS
Jump to navigationJump to search (New page: {| style="text-align: left; background-color: AliceBlue;" |- !Download Source: | http://samba.anu.edu.au/ftp/rsync/rsync-2.6.9.tar.gz |} ---- == Dependencies == === Optional === * [[Pop...) |
(add optional dependency on "attr" and fix minor typo) |
||
(27 intermediate revisions by 5 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://samba.anu.edu.au/ftp/rsync/rsync- | + | | http://samba.anu.edu.au/ftp/rsync/src/rsync-{{Rsync-Version}}.tar.gz |
+ | |||
|} | |} | ||
---- | ---- | ||
+ | {{Package-Introduction|According to its website, rsync is an open source utility that provides fast incremental file transfer.|http://samba.anu.edu.au/rsync}} | ||
== Dependencies == | == Dependencies == | ||
Line 11: | Line 13: | ||
=== Optional === | === Optional === | ||
* [[Popt]] (Has an included version) | * [[Popt]] (Has an included version) | ||
− | * [[ | + | * [[Acl]] |
+ | * [[Attr]] | ||
− | == | + | == Configuration Information == |
+ | |||
+ | {|style="text-align: left" | ||
+ | |<i>--enable-acl-support</i> builds with acl support. | ||
+ | |} | ||
+ | |||
+ | == Creating the rsyncd User/Group == | ||
groupadd -g 49 rsyncd && | groupadd -g 49 rsyncd && | ||
Line 24: | Line 33: | ||
./configure --prefix=/usr && | ./configure --prefix=/usr && | ||
make | make | ||
+ | |||
+ | Install the package: | ||
+ | |||
+ | make install | ||
== Multilib == | == Multilib == | ||
'''''This package does not provide any libraries so only one installation is needed.''''' | '''''This package does not provide any libraries so only one installation is needed.''''' | ||
− | === | + | === 64Bit === |
+ | |||
+ | Compile the package: | ||
+ | |||
+ | CC="gcc ${BUILD64}" \ | ||
+ | ./configure --prefix=/usr && | ||
+ | make | ||
+ | Install the package: | ||
− | + | make install | |
+ | == Configuring == | ||
+ | If you would like to run the daemon create a config file and then the bootscript. | ||
− | === | + | === rsyncd.conf === |
+ | |||
+ | Example configuration, See rsyncd.conf{5} and/or http://rsync.samba.org/documentation.html for more information: | ||
+ | |||
+ | cat > /etc/rsyncd.conf << "EOF" | ||
+ | motd file = /home/rsync/welcome.msg | ||
+ | use chroot = yes | ||
+ | uid = rsyncd | ||
+ | gid = rsyncd | ||
+ | |||
+ | [localhost] | ||
+ | path = /home/rsync | ||
+ | comment = Default rsync module | ||
+ | read only = yes | ||
+ | list = yes | ||
+ | EOF | ||
+ | |||
+ | === Bootscript === | ||
+ | Install the init script provided by the [[bootscripts]] package: | ||
+ | make install-rsyncd | ||
− | + | [[Category:Servers]] |
Latest revision as of 19:17, 2 August 2010
Download Source: | http://samba.anu.edu.au/ftp/rsync/src/rsync-3.0.7.tar.gz |
---|
Contents
Introduction to Rsync
According to its website, rsync is an open source utility that provides fast incremental file transfer.
Project Homepage: http://samba.anu.edu.au/rsync
Dependencies
Optional
Configuration Information
--enable-acl-support builds with acl support. |
Creating the rsyncd User/Group
groupadd -g 49 rsyncd && useradd -c "rsyncd Daemon" -d /home/rsync -g rsyncd -s /bin/false -u 49 rsyncd
Non-Multilib
Compile the package:
./configure --prefix=/usr && make
Install the package:
make install
Multilib
This package does not provide any libraries so only one installation is needed.
64Bit
Compile the package:
CC="gcc ${BUILD64}" \ ./configure --prefix=/usr && make
Install the package:
make install
Configuring
If you would like to run the daemon create a config file and then the bootscript.
rsyncd.conf
Example configuration, See rsyncd.conf{5} and/or http://rsync.samba.org/documentation.html for more information:
cat > /etc/rsyncd.conf << "EOF" motd file = /home/rsync/welcome.msg use chroot = yes uid = rsyncd gid = rsyncd [localhost] path = /home/rsync comment = Default rsync module read only = yes list = yes EOF
Bootscript
Install the init script provided by the bootscripts package:
make install-rsyncd