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