This tutorial will help you to install WordPress on Localhost: