Installing SharePoint 2013 is a little complex task, you need to install software in a particular order and with correct configuration.

I recently found this useful article and it helped me installing SharePoint 2013 server.