Two weeks ago: The First Steps to Building Your Website in WordPress
Last week: Installing WordPress on a Web Server
This week: Installing WordPress on a Local Server (MAMP)
For testing purposes (such as testing plugins and new WordPress versions) building a website in a local environment can be a good idea. All you need to get started is to download and install MAMP (if you’re a Windows user check WAMP) on your computer. Stay tuned as next week I’m going to write a tutorial on moving locally installed WordPress website on a live server.
Installing WordPress Locally (MAMP)
1. Create a MySQL Database on the MAMP Homepage (http://localhost:8888/MAMP/) – in the phpMyAdmin area.
2.Create a new folder in …/MAMP/htdocs and name it after the database.
3. Install WordPress:
-Copy all the files and folders from the WP installation folder to the newly-created folder.
-EITHER: Rename wp-config-sample.php to wp-config.php and edit the information on the database. Enter ‘root’ both as your db username and password and ‘localhost’ as your MySQL hostname!
OR: In your Web Browser, go to http://localhost:8888/. Select the site and enter the details in the form (again, enter ‘root’ both as your db username and password and ‘localhost’ as your MySQL hostname)