Melle Wynia email to: mellewynia@noonnoo.com or add me to skype: m.wynia
RSS

Install WordPress using MAMP (localhost) on a MAC

3 Comments/Pings WordPress Tutorials 2009.07.23

It is not hard to install WordPress locally on your MAC, you’ll probably have this done within 10 minutes if you follow this tutorial. Following on this tutorial, I will write a tutorial on how to access your WordPress installation installed via MAMP on your MAC in a virtual machine for cross browser testing. I’ll refer to this tutorial.

Step 1: Download MAMP

Download and install the free version of MAMP.

Step 2: Set MAMP preferences

If you fire up MAMP, go to Preferences > to the tab Ports and click on “Set to default Apache and MySQL posts”. After you did this go to http://localhost/ and a directory page should show up unless you have something installed in htdocs.

This step is very important, otherwise, WordPress won’t work in your virtualmachine.

MAMP which is just fired up

MAMP > Preferences

Step 3: Checking the address of your MAC

Go to System Preferences > Network > Airport when using a wireless metwork or if you’re not connected to a wireless network to System Preferences > Network > Ethernet. You’ll find your local ip-address there. Copy it. Yes, I know, my installation of MAC is Dutch (not German!), but that doesn’t matter. Now quit and start MAMP. Open your browser and go to this address, in my case http://192.168.178.32/.

Airport connection

Step 4: Install WordPress in MAMP

Download WordPress. Unzip the file. You have a folder WordPress now. Fire up the Finder and go to Applications > MAMP > htdocs and paste the folder WordPress to htdocs. Now go to the localaddress you found in Step 3, in my case: http://192.168.178.32/wordpress/. http://localhost/wordpress/ should work too, but if you want to access your WordPress installation in a virtualmachine too, you have to go to http://192.168.178.32/wordpress/. Click on “Create a Configuration File”.

WordPress fired up for the first time

Click than on “Let’s go!”.

The "Let's go!" button.

Now you have to fill in your database information, but before you can do that, you have to make a database. Go to the main window of MAMP and click on “Open start page”. It will open a new tab in your browser.

MAMP which is just fired up

You can see the Host, the User and Password now. You’ll need them after we finished You can see on this page your Than click on ‘PhpMyAdmin’. Click on the image below for the reallife sized version.

MAMP Home

Now create a new database called “WordPress”. Click on the image below for a reallife sized version.

Creating a new database.

After you did this, go to the tab where you are trying to install WordPress and change the following information and click on submit:

  • Database Name: WordPress
  • User Name: root
  • Password: root

The information.

Step 4: Enjoy your WordPress installation!

Now you installed WordPress! You have to run the setup, but that won’t probably be a problem.

Following on this tutorial, I will write a tutorial on how to access your WordPress installation installed via MAMP on your MAC in a virtual machine for cross browser testing. I’ll refer to this tutorial.

↓ Leave a comment.

  1. silver at 2009.12.8 @ 15:40

    Thanx 4 a good presentation for a non hacker. Took me about 10 m 4 up and running

  2. I discovered your site the other day and after reading a handful of posts, thought I might say thanks for all the great content. Keep it coming! I will try to stop by here more often.

  3. Hi Melle. Problem solved with MAMP Pro!

    Thanks!

I try to answer comments within four days. If you have comment(ed) on my blog for the first time, please don't be shocked when your comment doesn't show up immediately. I have to approve it first (in order to keep spam out of my website) You could also send me an email: mellewynia@noonnoo.com. Thank you!