UniFi Controller on FreeBSD

Here is a short tutorial how to get the UniFi Controller running on FreeBSD 10.3. Have fun Install the required packages openjdk8 mongodb snappy portmaster java/openjdk8 databases/mongodb archivers/snappy-java Download and unpack mkdir /opt cd /opt fetch https://www.ubnt.com/downloads/unifi/5.2.2-6505992c/UniFi.unix.zip unzip UniFi.unix.zip Ajustments cause it's FreeBSD cd UniFi ln -s /usr/local/bin/mongod bin/mongod mv

Create a iSCSI target on FreeBSD with ZFS

The easiest way using ZFS for a Share is to create an iSCSI target. With iSCSI you can have all the ZFS advantages in Windows. In this post I will show you how to create it on FreeBSD and use it in Windows. At first you have to create a ZFS block device for the LUN. This is needed because iSCSI is accessing the disk block based. zfs create -V 3T tank/backup For exporting