If you want to perform an os x server reset because your OS X Server is messed up then run the following command in Terminal app to run a fresh install:-