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:-