How to install a stratum pool and run

Have filled zcash for according to the instructions

Write in stages how to install a stratum pool and run

where and how to set the minimum pool difficulty

what better to raise?
ubuntu 16.04-x86_64
ubuntu-14.04-x86_64-minimal
debian 7x86_64