You can use the xinetd service to manage rsync for automatic start and xinetdrsync.

Source: Internet
Author: User
Tags rsync

You can use the xinetd service to manage rsync for automatic start and xinetdrsync.
1.1 xinetd service configuration 1.1.1 check whether the xinetd service is installed

[Root @ backup ~] # Rpm-qa xinetd

[Root @ backup ~] # Rpm-ql xinetd

Package xinetd is not installed

1.1.2 install the xinetd service

[Root @ backup ~] # Yum install xinetd-y

[Root @ backup ~] # Rpm-qa xinetd

Xinetd-2.3.14-40.el6.x86_64

1.2 modify the/etc/xinetd. d/rsync file so that it starts with xinetd.

Vim/etc/xinetd. d/rsync

 

... Change disable = yes to disable = no

 

Disable = no

Use the command to modify (centos6.x)

Sed-I's # yes # no # G'/etc/xinetd. d/rsync

1.3 restart the system and check that port 873 is managed by xinetd.

[Root @ backup ~] # Netstat-lntup | grep 873

Tcp 0 0: 873: * LISTEN 1229/xinetd

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.