Here you go.
If you can "apt-get" or "yum", installing ZFS for Linux system is very easy.
1. GET LIBRARIES
First of all, you install libraries and SCons.
SCons is the software build tool under open source. SCons substitutes traditional "make".
USE apt-get:
# apt-get install libaio-dev libattr1-dev libacl1-dev libz-dev libz-dev libfuse-dev libfuse2 scons
USE yum:
# yum install -y fuse-devel libattr-devel libaio-devel libacl-devel zlib-devel fuse-devel scons
Oh, under my environment, Vine Linux, it is little bit different, like as:
# apt-get install fuse-devel libattr-devel libaio-devel libacl-devel zlib-devel fuse-devel scons
2. GET ZFS TARBALL
You download ZFS tar ball from ZFS homepage, wget is useful command to get it, like as:
# wget http://zfs-fuse.net/releases/0.6.0/zfs-fuse-0.6.0.tar.bz2
After downloading, you uncompress the tar ball.
# bzip2 -d zfs-fuse-0.6.0.tar.bz2
# tar xv zfs-fuse-0.6.0.tar
note:
As you know, a part of "0.6.0" in filename is version number, and above filename is current version at today. In future it may change, then you should change it to fit last (or you want to) version name.
3. COMPILE
Compile is very easy. Just two commands.
# cd zfs-fuse-0.6.0/src
# scons
That's all. If you success to compile, you get ZFS binaries.
Next, I will show you how to use ZFS binaries on Linux system.
No comments:
Post a Comment