Installing Magento on a Mac MAMP server


Magento is the #1 E-Commerce platform, with over 3 Million downloads.

The best way to learn Magento is to download it and play with it on your local machine. Installing Magento on your local machine makes a lot of sense. Magento is based on PHP/MySQL, so you’ll need a database and a server to build your store and content pages dynamically. A local server is also handy for modifying/customizing Magento files,  without worrying about affecting a live server.
Here are the steps to installing a MAMP server/Installing Magento on your Mac:

  1. Download and install  MAMP.
  2. Open MAMP and click on the start page.
  3. Click on the PHPMyPHP admin link at top of start page,  to view installed databases.
  4. In the middle of the page there is  a Create New Database Box– enter magento in the box and click the  Create button.
  5. You’ll see your new Magento database, as well as the SQL query that generated the database, and see that there are no tables in the database, it’s just an empty database. Magento will build tables as part of the installation process.
  6. Go to MagentoCommerce, and Download Magento. You may need to create an account in order to download.
  7. When the download dialog box opens, save the download to your downloads file.
  8. After the download has completed, you will need to create a directory on your  MAMP server to host Magento. I suggest you open your finder, navigate to Applications/MAMP/htdocs/ and add a directory called magento.  Keep your magento directory open in finder. Open the Magento download and let it extract. Select all the files inside and drag them to your Applications/MAMP/htdocs/magento directory.
  9. Since Magneto sets cookies, and most browsers don’t set cookies on localhost (where your Magento is installed) we need to work around this. The default address to your Magento install is http://localhost:8888/, but since the browser won’t play well with localhost, we will work around this issue.
  10. Rather than using local host, we will use the IP address of our computer as the server address, like so-http://127.0.0.1:8888/magento/
  11. Pointing your browser to this address will begin the installation process. The username and password for MAMP databases is root/root.
  12. The next page will setup your admin account, so make sure you write it down. When you are finished, make sure to record the following info-
    Magento url: http://127.0.0.1:8888/Magento/
    username: admin                password123
    Key: 2903943d2b6acf0fdde792125ae31a22
  13. After your install is complete you can login to your backend here-http://127.0.0.1:8888/Magento/index.php/admin/
    or your frontend here-http://127.0.0.1:8888/Magento/index.php/

Now, take a few minutes and relax with a cold beer, you have earned it…

Next step- Adding Categories to your Magento store.

This entry was posted in Magento. Bookmark the permalink.