Server prepare_dist commmand.