How can I set my own Clash of Clans Server up on Debian?

Hey there!
I am quite new to this topic and there seem to be no recent explanations on this so I hope you can help.
I own a VPS. My question is, how do I set a UCS Server up on my Server and after that how to keep it up to date.
Thanks in advance!