Skip to content

Instantly share code, notes, and snippets.

View asimsikka's full-sized avatar

Asim Sikka asimsikka

View GitHub Profile
@asimsikka
asimsikka / magento installation script
Last active August 24, 2016 18:27 — forked from tonyoconnell/gist:2351492
Installing Magento 1.8.1.0 on Mac OsX 10.8 & 10.9 Note: Make sure you have already installed the following: 1- php 2- php mcrypt extension 3- mysql
cd ~/Downloads
curl -O http://www.magentocommerce.com/downloads/assets/1.8.1.0/magento-1.8.1.0.tar.gz
curl -O http://www.magentocommerce.com/downloads/assets/1.6.1.0/magento-sample-data-1.6.1.0.tar.gz
tar -zxvf magento-1.8.1.0.tar.gz
mv ~/Downloads/magento-1.8.1.0 ~/Sites/magento
tar -zxvf magento-sample-data-1.6.1.0.tar.gz
mv magento-sample-data-1.6.1.0/media/* ~/Sites/magento/media/
mv magento-sample-data-1.6.1.0/magento_sample_data_for_1.6.1.0.sql ~/Sites/magento/data.sql
cd ~/Sites
mv magento/* magento/.htaccess magento