pkg repository

FreeBSD ports

The above will ask for a lot of configuration options, it might be better to use make config-recursive to set all options before compiling.
If you want to use default settings just type cd /usr/ports/net-p2p/qtum && make install clean BATCH="YES"

Running Qtum

Launching Qtum is just like in any other *NIX operating system, however there's a minor difference here due to how FreeBSD jails work. First, we need to create a qtum.conf file with the following contents:

This config is necessary, otherwise calling the daemon will return errors.

Then we can launch withqtumd -daemon

Security tips

Set up firewall on host (you cannot setup a firewall inside a jail) and enable only the ports you need (22 and 3888) This is done in the host rc.conf at the top of this tutorial

Disable history, this will completely disable console history and it's a way to help secure your staking box, type the following on your FreeBSD console: unset history; unset savehist

Secure SSH:

Disable password authentication

If using the FreeBSD box on your home network, force it to listen on local network only.