Home / osx / Advanced / Magento eCommerce

Magento eCommerce

Magento eCommerce

Mage Storefront

Install Magento locally on OS X for testing.

Install magento 0.9.17740 on os X leopard 10.5.2 step by step.

Both Magento and OS X have upgraded since this August 2008 writeup. But still useful info.

Download and extract the sample data file.

cd into the unzipped folder contents

# mysql -uroot -p
# mysql> create database magento;
# mysql> quit;
# mysql magento -uroot -p < magento_sample_data_for_0.9.17740.sql
Sample data is now in magento database.

Download and extract the packaged file.

Copy the resulting folder into the /LIbrary/Webserver/Documents folder.

Copy the /media folder from the data file download, the first download in other words, over the media folder created by the second download.

# cd /LIbrary/Webserver/Documents
# chown -R <your login name> magento
# chgrp -R www magento
# chmod -R 770 magento

In a web browser, enter the url:

http://localhost/magento

"Continue after manual download" button first chance you get.

In db details, db host is at, and this is very important --

/var/mysql/mysql.sock
--according to phpinfo() on my machine.

Replace default "localhost" with "/var/mysql/mysql.sock".

Then you try to login using the just created admin user and it does not work. You can view the catalog pages.
http://127.0.0.1/magento/admin/ and you can login using your just created credentials.

Localhost versus 127.0.0.1 is the problem getting an admin login in other words.

From there, all works as advertised. Slick.

Animated GIF eZ Logo

No need to dream up layouts and page views, just insert your "stuff".

Roll Your Own Social Network

News networks, and personal sized social networking sites are simple with eZ.