Login into the server via ssh and run the following command:
This will start an ncurses based installer. The defaults should all be correct and you will only have to acknowledge each question.