For 3.1.17

Follow the advice you will find on my Installing MAMP and WordPress so that you can work through the WordPress Support pages, try them out on your test implementation, and so learn how it works