Rsync service installation and configuration

Source: Internet
Author: User
Rsync service installation and configuration rsync service installation: Check whether the rsync service is installed: rpm-qa | greprsync if it is installed, you need to configure and modify the following 1. modify/etc/xinetd. enable the start option for the content under d/rsync: change disableyes to disablenoc... rsync service installation and configuration rsync service installation: Check whether the rsync service is installed: rpm-qa | grep rsync if it is installed, you need to configure and modify the following 1. modify/etc/xinetd. set "disable = yes" to "disable = no cat/etc/xinetd" in d/rsync. 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} 2. NEW: vi/etc/rsyncd. conf: uid = rootgid = rootuse chroot = nomax connections = 10 strict modes = yespid file =/opt/myysrnc/rsyncd. pidlock file =/opt/myysrnc/rsyncd. locklog file =/opt/myysrnc/rsyncd. log [www] path =/data/wwwcomment = analyseread only = falsehosts allow = * 3. start the daemon client/usr/local/bin/rsync -- daemon: run the synchronization command:/usr/bin/rsync-arzuv/data/www/192.168.136.128: www/note: the client must execute the synchronization command to trigger the synchronization operation. to implement scheduled synchronization, you can use crontab-e to add scheduled tasks.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.