How to Install lsyncd on Fedora 22
lsyncd is an rsync-based tool that monitors specified directories (including subdirectories) for updates and modifications, then syncs those changes to a specified destination.
Pre-Flight Check
- These instructions are intended specifically for installing the lsyncd on Fedora 22.
- I’ll be working from a Liquid Web Self Managed Fedora 22 server, and I’ll be logged in as root.
Step #1: Install lsyncd
First, you’ll follow a simple best practice: ensuring the list of available packages is up to date before installing anything new.
dnf -y update
At this point, installing lsyncd is as simple as running just one command:
dnf -y install lsyncd
Step 2: Example Configuration File Locations
Example configuration files can be found in the following directory:
cd /usr/share/doc/lsyncd/examples
A basic configuration can be found in lrsync.lua:
/usr/share/doc/lsyncd/examples/lrsync.lua
For a refresher on editing files with vim see: New User Tutorial: Overview of the Vim Text Editor
To view or edit lrsync.lua:
vim /usr/share/doc/lsyncd/examples/lrsync.lua
The lsyncd configuration file is written in the programming language Lua. Learn more about Lua here: http://www.lua.org/docs.html
Related Articles:
- How to Install Adminer MySQL Database Management Tool on AlmaLinux
- How to Edit the PHP Memory for Your WordPress Site via WP Toolkit
- 4 Methods for How to Install Yarn on Windows Server
- How to Install Bpytop Resource Monitoring Tool on AlmaLinux
- How to Fix “This Site Can’t Provide a Secure Connection” Error
- How to Install MongoDB on AlmaLinux

About the Author: J. Mays
As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.
Latest Articles
How to Install Adminer MySQL Database Management Tool on AlmaLinux
Read ArticleWhat is CGI-Bin and What Does it Do?
Read ArticleTop 10 Password Security Standards
Read ArticleTop 10 Password Security Standards
Read ArticleHow to Use the WP Toolkit to Secure and Update WordPress
Read Article