This guide was tested on clean installation of Haiku R1/Alpha 4.1.
Everything is done from command line, that means everything can be done over ssh on remote server.
Important note: Because of Haiku limitations is PtokaX compiled without password hashing feature. When you have Registered Users with hashed password, then they can't be used on Haiku!
For PtokaX compile you need Lua (programming language used for scripting).
They can be installed using package manager (Note: to install packages using package manager you need root permissions).