This guide was tested on clean installation of Debian GNU/Linux 8.1. Should be same or very similar on other Linux distributions.
We assume that you installed PtokaX binary with command: make install
This is similar as above. But we need one settings directory and one init script per instance. So we have /home/ptokax directory and user ptokax who owns it (created with a and b above).