Friday 19 October 2018

How to install lsyncd on CentOS 7 / RHEL 7



lsyncd is an rsync-based tool that is used to sync or replicate files & directories locally and remotely.  It is sync changes or modification in a file and directory to the remote or local destination in a specific time interval.
Lsyncd is available for Cent OS 7 on EPEL repository (Extra Packages for Enterprise Linux).

Setup EPEL repository: follow tutorial How to install EPEL repository on Centos7

Install Lsyncd package: Run the following command to install Lsyncd:

[root@linuxcnf ~]# yum install lsyncd
Loaded plugins: fastestmirror, refresh-packagekit, security
………………………

Installed:
  lsyncd.x86_64 2.2.2-1.el7
Complete!
[root@linuxcnf ~]#

Run the following command to verify:

[root@linuxcnf ~]# whereis lsyncd
lsyncd: /usr/bin/lsyncd /etc/lsyncd.conf /usr/share/man/man1/lsyncd.1.gz
[root@linuxcnf ~]#

It’s done!!!

No comments:

Post a Comment