Running a local copy and install Wordpress on a Mac using MAMP

A Local Host is great because it allows you to host your site on your computer!  This means two things:

  1. You can see changes instantly without having to download the site from the internet
  2. You can work on and edit your theme offline

The best tutorial that I have found online to install a Localhost for a Mac is this tutorial right here by Lullabot.  The tutorial should have everything you need to know.

Next step is to install Wordpress on your Local Host:

  1. Open the Start Page for Mamp (http://localhost/MAMP/)
  2. Click on phpMyAdmin (one of the tabs on top)
  3. Click on the drop down menu for MYSQL connection collation and select utf8_unicode_ci
  4. Click on the box under Create New Database and write wordpress
  5. Click “Create”
  6. Download Wordpress from http://wordpress.org/
  7. Open the wp-config-sample.php file
  8. Make the following edits:

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define(’DB_NAME’, ‘wordpress‘);

/** MySQL database username */
define(’DB_USER’, ‘root‘);

/** MySQL database password */
define(’DB_PASSWORD’, ‘root‘);

/** MySQL hostname */
define(’DB_HOST’, ‘localhost’);

  1. Save the file as wp-config.php
  2. Open up your Local Host folder (created from the Lullabot video tutorial above)
  3. Find the folder titled “wordpress” (if the folder was not automatically created, create it right now)
  4. Transfer ALL of the wordpress files into the Wordpress folder
  5. Go to the following url to install Wordpress onto your Localhost: http://localhost/wordpress/wp-admin/install.php
  6. Follow the steps and you’re done!

If after you’ve read the entire tutorial, and read the entire comment section, and you still can’t figure out how to install a Localhost on your Mac, leave me a comment here and I will walk you through the installation.

RSS feed | Trackback URI

Comments »

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Trackback responses to this post