Installing pkgsrc/pkgin Binary kit:
Installing The Pkgsrc(new) Binary Kit:
written by EON May 29, 2017 (Estimated Time: 2 mins)
The pkgsrc/pkgin binary kit replaces the old binary kit and contains more than 15,000+ packages.
This guide shows how to setup/install/bootstrap the pkgsrc/pkgin binary kit on your EON ZFS Server.
Pre-requisite(s): EON ZFS Server version 151a9-071215 or higher
/usr/local properly symlinked to /zpool_name/local
ZPOOL and ZFS home/storage
The pkgsrc/pkgin binary kit defaults to being stored on your zpool. This is configured in /mnt/eon0/.exec via the line "export POOL=zpool_name". Replace "abyss" with your zpool name. Note: The binary kit can be stored on the USB key but I recommend against it, as the binary kit includes many applications which are write intensive and will decrease the reliability of the USB drive.
export POOL=abyss
Next, create the binary kit destination. There are 2 options to do this. One option is a simply creating a directory on your zpool. I recommend this option for simplicity.
mkdir /zpool_name/local
Optional: The second option, is to create the destination "local" as a zfs dataset. This allows advantages like, snapshots(version-ing), compression, rollback, cloning, sharing and all the other possibilities that can be done with a ZFS filesystem.
zfs create -o casesensitivity=mixed zpool_name/local
Persistent logging
Export /var/log and other logging directories to /zpool_name/local and more persistent storage that returns with each boot. This only needs to be done once. It will be done automatically once setup on each reboot/boot.
emp syslocal start
Install pkgsrc/pkgin
Install the pkgsrc/pkgin bootstrap. Run "rail ls" to view pkgsrc-YYYYQX options. This example installs pkgsrc-2016Q4.
emp pkgsrc start
rail in pkgsrc-2016-Q4
pkgin ls
Upgrading an older version
Upgrading an older EON version is possible with limits. Please see the following video:
solid . storeable . superb
EON, Storage for Life.