I'm assuming you're running windows I Use wamp , i tried several other solution , that was the best clear cut Refer to this document on [how to install wamp & drupal on windows step by step ][1]
[1]: https://drupal.org/node/1995312 "how to install wamp & drupal on windows step by step "
By the time you succeed in doing so , you'll have read enough material to help you restore the drupal installation & the database to server.