Created
October 18, 2021 12:55
-
-
Save krewenki/45dee1b7694bfbc38772f5e805e8def6 to your computer and use it in GitHub Desktop.
Install ZFS 2.0.2 on Amazon Linux 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# taken from https://unix.stackexchange.com/questions/412442/zfs-on-amazon-linux-ami | |
yum update -y | |
sudo rpm -qa |grep kernel | |
uname -a | |
yum install -y kernel-headers-4.14.248 | |
yum install -y kernel-devel-4.14.248 | |
yum repolist enabled | |
yum install -y zlib-devel libuuid-devel | |
amazon-linux-extras install epel | |
yum install -y libblkid-devel | |
yum install -y libcrypto-devel | |
yum install -y crypto-devel | |
yum install -y openssl-devel | |
wget https://github.com/openzfs/zfs/releases/download/zfs-2.0.2/zfs-2.0.2.tar.gz | |
tar xzvf zfs-2.0.2.tar.gz | |
cd zfs-2.0.2/ | |
./configure | |
make -j4 | |
make install | |
modprobe zfs | |
lsmod | |
zpool list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment