Published using Google Docs
Install pcbsd.org binary cciss package on FreeNAS 9.x
Updated automatically every 5 minutes

Install pcbsd.org binary cciss package on FreeNAS 9.x

This is step-by-step how I installed binary package cciss_vol_status-1.10_1.txz on FreeNAS 9.2. There are lots of FreeNAS packages at  http://pkg.cdn.pcbsd.org/freenas/9.1-RELEASE/amd64/.

We’re going to use a jails for this. A BSD jail is a lightweight in-OS sandboxed environment, similar to a VM.  Your FreeNAS box will need internet access to download some packages.

An upfront reboot of your FreeNAS may help things to go smoothly.  Also, I gave my VM 8GB RAM.

Create some storage for the Jail

(e.g. a ZFS dataset)

Configure Jails

Jails > Configuration

A reboot at this point doesn’t hurt. :)

Create a plugin jail instance

Jails > Add Jails

Package installer doesn’t work if vanilla is checked.

This takes a few minutes, you should be able to see the FreeNAS downloads and installs  freenas-pluginjail...tgz - progress shown at the bottom of the dialog:

If this fails, try rebooting, then try creating again with a new name.

Install the package

Select the jail and open it’s shell.

Using the paste button, you can paste the command into the shell:

pkg add http://pkg.cdn.pcbsd.org/freenas/9.1-RELEASE/amd64/sysutils/cciss_vol_status-1.10_1.txz

Check it runs

Run from outside the jail?

If you want to run the jailed package from outside the jail (e.g. main shell or CRON), use:

jexec pluginjail1 cciss_vol_status

See Also

pkg add http://pkg.cdn.pcbsd.org/freenas/9.1-RELEASE/amd64/games/nsnake-1.4.txz

nsnake


Andy Joiner

http://mobilecomputing.uk.net, http://tekkies.co.uk 

 

Comments: https://docs.google.com/document/d/1dvSPLpaJvOw96LFDDbB5y5H_o02jJSKlRLBuTAXVaiM/edit