Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How linux checks to see if rsync is installed

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "how to check whether rsync is installed in linux". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's take a small series to take you to learn "how to check whether to install rsync linux" bar!

View method: 1. Use "rpm -qa" to view. This command can find out whether a software package is installed. The syntax is "rpm -qa."| grep rsync", the result has the rsync name indicating that it has been installed;2. Use the method of"rsync + carriage return "to view, and the help message appears indicating that rsync has been installed.

Operating environment: Linux 7.3 system, Dell G3 computer.

How to check if Rsync is installed

Inspection method:

1, can be seen with rpm -qa, if you want to find out whether a software package is installed, use rpm -qa| grep "name of software or package".

[root@test home]# rpm -qa|grep rsync

The rsync package name is installed.

rsync + carriage return

Help appears stating that it is installed

Extended knowledge:

Rsync service, i.e. Remote Sync service, is a service used to synchronize transmissions remotely or locally. Compared to the general cp and scp tools, the Rsync service has the following advantages:

Backup is an incremental backup and only modified files are transferred.

Before and after file transmission, the transmitted files will be compressed, which can reduce transmission bandwidth and reduce transmission time.

3, you can backup the entire directory tree and file system, you can selectively backup soft and hard links, time, file attributes and so on.

The Rsync service operates in C/S mode using port number 873. Rsync server refers to the device that enables Rsync service and listens on port 873. There are two ways to synchronize data with Rsync, push and pull. Push: Rsync client actively pushes data to be backed up to Rsync server. At this time, important data is stored in the client, and the client sends these data to the server for storage. pull, i.e. pull, Rsync client actively seeks Rsync server to obtain backup data. At this time, important data is stored in the server, and the client realizes local backup of important data through pulling action.

When push is used, if the number of devices to be used is too large, it will lead to high latency, so it is generally applied to scenarios with less than 20 backup devices. In a company intranet, if there are a large number of servers, Rsync service can be configured in a multi-level configuration manner. The scenario is as follows:

The Xinetd service manages small services such as Rsync, tftp, DHCP, etc. in a unified manner. When using Rsync synchronization, first listen on port 873 via xinetd, if you receive a Rysnc message, you will hand over the Rysnc service, and then the Rysnc service will respond.

At this point, I believe that everyone has a deeper understanding of "how to check whether to install rsync in linux", so you may wish to actually operate it! Here is the website, more related content can enter the relevant channels for inquiry, pay attention to us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report