Set up the server.