How to Install lsyncd on Fedora 20

Reading Time: < 1 minutelsyncd 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 20.
  • I’ll be working from a Liquid Web Core Managed Fedora 20 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. yum -y update At this point, installing lsyncd is as simple as running just one command: yum -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:
Refer a friend and get hosting credit!