Setting up a FlyFF private server is a real project rather than a quick task. The general shape of it is to obtain the server source or a leaked server pack, configure the login and game server files, set up a MySQL database to hold accounts and characters, and then point a client at your machine by editing its host entry.
Two honest caveats. First, running a private server from leaked source infringes the rights of the game's owners, and it is not something I can walk you through step by step. Second, the technical bar is not trivial: you are administering databases, opening ports on a router, and keeping the whole thing patched.
If your interest is server development as a skill, the legitimate path is to build something of your own or contribute to an open-source game server project, where the same skills apply without the legal problem.