Meniu

Install ZFS in RHEL, CentOS, Alma Linux, Rocky Linux

Packages for RHEL and CentOS-based distributions in the OpenZFS repository. To simplify installation, a zfs-release package is provided that includes a zfs.repo configuration file and a public signing key.

All official OpenZFS packages are signed using this key and by default yum or dnf will check the signature of a package before allowing its installation.

For RHEL / CentOS 7:

$ sudo yum install https://zfsonlinux.org/epel/zfs-release.el7_9.noarch.rpm
$ gpg --quiet --with-fingerprint / etc / pki / rpm-gpg / RPM-GPG-KEY-zfsonlinux
pub 2048R / F14AB620 2013-03-21 ZFS on Linux 
    Key fingerprint = C93A FFFD 9F3F 7B03 C310 CEB6 A9D5 A1C0 F14A B620
    sub 2048R / 99685629 2013-03-21

And for RHEL / CentOS 8+, AlmaLinux, Rocky Linux

$ sudo dnf install https://zfsonlinux.org/epel/zfs-release.el8_4.noarch.rpm
$ 
pub rsa2048 2013-03-21 [SC]
      C93AFFFD9F3F7B03C310CEB6A9D5A1C0F14AB620
uid ZFS on Linux 
sub rsa2048 2013-03-21 [E]

To install DKMS-style packages, run the following commands. First add the EPEL repository provided by DKMS by installing the epel-release package, then the kernel-devel and zfs packages.

For RHEL / CentOS 7

$ sudo yum install epel-release
$ sudo yum install kernel-devel zfs

For RHEL / CentOS 8+, AlmaLinux, Rocky Linux

$ sudo dnf install epel-release
$ sudo dnf install kernel-devel zfs

By default, the zfs-release package is configured to install DKMS-style packages so that they work with a wide range of kernels.

If you prefer to always load modules at startup, you must create a /etc/modules-load.d/zfs.conf file.

$ sudo sh -c "echo zfs> /etc/modules-load.d/zfs.conf"

Source: github.io

FlorinM

Utilizator Linux - Solus OS, pasionat de calatorii.
  • | 2708 articole

Nici un comentariu inca. Fii primul!
  • powered by Verysign