From 1fcf34800138833b1efbcb64276047f7b6fe042c Mon Sep 17 00:00:00 2001 From: Topslakr <67913692+Topslakr@users.noreply.github.com> Date: Mon, 6 Dec 2021 13:57:18 -0500 Subject: [PATCH] Update Install.md for Centos 8 Updated the install language, and commands, to better server Centos 8 and it's derivatives. Instead of using CPAN, enabling the 'PowerTools' repo will make those modules available for installation and kept current with normal OS updates. Updated command to enable _and_ start sanoid.timer, instead of using two commands. --- INSTALL.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index c8411d3..e4724d8 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -53,9 +53,11 @@ Install prerequisite software: ```bash # Install and enable epel if we don't already have it, and git too sudo yum install -y epel-release git +# For Centos 8 you need to enable the PowerTools repo to make all the needed Perl modules available (Recommended) +sudo dnf config-manager --set-enabled powertools # Install the packages that Sanoid depends on: sudo yum install -y perl-Config-IniFiles perl-Data-Dumper perl-Capture-Tiny lzop mbuffer mhash pv -# if the perl dependencies can't be found in the configured repositories you can install them from CPAN manually: +# if you don't want to enable the powertools repo, the perl dependencies can be installed from CPAN manually: sudo dnf install perl-CPAN perl-CPAN cpan # answer the questions and past the following lines # install Capture::Tiny @@ -142,8 +144,7 @@ sudo systemctl daemon-reload # Enable sanoid-prune.service to allow it to be triggered by sanoid.service sudo systemctl enable sanoid-prune.service # Enable and start the Sanoid timer -sudo systemctl enable sanoid.timer -sudo systemctl start sanoid.timer +sudo systemctl enable --now sanoid.timer ``` Now, proceed to configure [**Sanoid**](#configuration)