How To Install lsyncd on Fedora 23

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 23. For Fedora 22, visit this tutorial. If you’re on another operating system, you can find instructions for installing lsyncd on Ubuntu 14.04 and CentOS 7
  • We’ll be working as root on a Liquid Web Self Managed Fedora 23 server.

Step #1: Install lsyncd

First, we’ll adhere to best practices by ensuring that the list of available packages is up to date:

dnf -y update

Now, we can install lsyncd with:

dnf -y install lsyncd

Step #2: Example Configuration File Locations

Example configuration files can be found in the following directory:

/usr/share/doc/lsyncd/examples

A basic configuration can be found in lrsync.lua:

/usr/share/doc/lsyncd/examples/lrsync.lua

To view or edit lrsync.lua:

vim /usr/share/doc/lsyncd/examples/lrsync.lua

In vim, remember to press “a” to enter text insertion mode; pressing the escape key (Esc) on your keyboard returns you to command mode. For a refresher on editing files with vim, see New User Tutorial: Overview of the Vim Text Editor. If vim is not installed on your OS, you can follow our tutorial on installing vim at How to Install VIM (Visual editor IMproved) on Fedora 23.

The lsyncd configuration file is written in Lua. Learn more about the Lua programming language at http://www.lua.org/docs.html.

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.

Continue reading “How to Install lsyncd on Fedora 22”

How to Install lsyncd on Fedora 21

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 21.
  • I’ll be working from a Liquid Web Self Managed Fedora 21 server, and I’ll be logged in as root.

Continue reading “How to Install lsyncd on Fedora 21”

How to Install lsyncd on Fedora 20

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 20.
  • I’ll be working from a Liquid Web Core Managed Fedora 20 server, and I’ll be logged in as root.

Continue reading “How to Install lsyncd on Fedora 20”

How to Install lsyncd on CentOS 7

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 CentOS 7.
  • I’ll be working from a Liquid Web Core Managed CentOS 7 server, and I’ll be logged in as root.

Continue reading “How to Install lsyncd on CentOS 7”

How to Install lsyncd on CentOS 6

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 CentOS 6.
  • I’ll be working from a Liquid Web Core Managed CentOS 6 server, and I’ll be logged in as root.

Continue reading “How to Install lsyncd on CentOS 6”

How to Install lsyncd on Ubuntu 12.04 LTS

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 Ubuntu 12.04 LTS.
  • I’ll be working from a Liquid Web Core Managed Ubuntu 12.04 LTS server, and I’ll be logged in as root.

Continue reading “How to Install lsyncd on Ubuntu 12.04 LTS”

How to Install lsyncd on Ubuntu 14.04 LTS

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 Ubuntu 14.04 LTS.
  • I’ll be working from a Liquid Web Core Managed Ubuntu 14.04 LTS server, and I’ll be logged in as root.

Continue reading “How to Install lsyncd on Ubuntu 14.04 LTS”