From d2b579b0469e57fe9ae6bdec08aa781f6778b4e8 Mon Sep 17 00:00:00 2001 From: Steven Spencer Date: Mon, 4 Jul 2022 15:31:25 -0500 Subject: [PATCH] lsyncd tested with 8.6 and 9.0 * tested `mirroring_lsyncd.md` against 8.6 and 9.0 OK * added admonition specific to the 9.0 install for the enabling of the CRB repository (needed for lua-devel) * fixed a minor doc formatting issue by moving "lsyncd Systemd Service" so that it falls under the Source install method only --- docs/guides/backup/mirroring_lsyncd.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/guides/backup/mirroring_lsyncd.md b/docs/guides/backup/mirroring_lsyncd.md index fc17368b23..a58e8152fe 100644 --- a/docs/guides/backup/mirroring_lsyncd.md +++ b/docs/guides/backup/mirroring_lsyncd.md @@ -2,6 +2,7 @@ title: Mirroring Solution - lsyncd author: Steven Spencer contributors: Ezequiel Bruni, tianci li +tested with: 8.5, 8.6, 9.0 tags: - lsyncd - synchronization @@ -66,6 +67,16 @@ We will need some dependencies: a few that are required by `lsyncd` itself, and `dnf groupinstall 'Development Tools'` +!!! important "For Rocky Linux 9.0" + + `lsyncd` has been fully tested in Rocky Linux 9.0, and will work as expected. In order to get all of the needed dependencies installed, however, you will need to enable an additional repository: + + ``` + dnf config-manager --enable crb + ``` + + Doing this in 9 before then next steps, will allow you to finish the build without backtracking. + And here are the dependencies we need for `lsyncd` itself, and its build process: `dnf install lua lua-libs lua-devel cmake unzip wget rsync` @@ -102,13 +113,13 @@ make install When done, you should have the `lsyncd` binary installed and ready for use in */usr/local/bin* -## `lsyncd` Systemd Service +### `lsyncd` Systemd Service With the RPM install method, the systemd service will be installed for you, but if you choose to install from source, you will need to create the systemd service. While you can start the binary without the systemd service, we want to make sure that it *does* start on boot. If not, a server reboot would stop your synchronization effort and if you forgot to start it again, which is highly likely, that could be very embarrassing for any systems administrator! Creating the systemd service is not terribly difficult, though, and will save you a lot of time in the long run. -## Create The `lsyncd` Service File +#### Create The `lsyncd` Service File This file can be created anywhere, even in the root directory of your server. Once it is created, we can easily move it the right location.