Skip to content

Instantly share code, notes, and snippets.

@dgmike
Forked from kalebrozo/gist:3814281
Created October 1, 2012 20:49
Show Gist options
  • Save dgmike/3814312 to your computer and use it in GitHub Desktop.
Save dgmike/3814312 to your computer and use it in GitHub Desktop.
Install Magento 1.7.0.2 With Sample Data By SSH
mkdir demo
cd demo
wget http://www.magentocommerce.com/downloads/assets/1.7.0.2/magento-1.7.0.2.tar.gz
wget http://www.magentocommerce.com/downloads/assets/1.6.1.0/magento-sample-data-1.6.1.0.tar.gz
tar -zxvf magento-1.7.0.2.tar.gz
tar -zxvf magento-sample-data-1.6.1.0.tar.gz
mv magento-sample-data-1.6.1.0/media/* magento/media/
mv magento-sample-data-1.6.1.0/magento_sample_data_for_1.6.1.0.sql magento/data.sql
mv magento/* magento/.htaccess .
chmod o+w var var/.htaccess app/etc
chmod -R o+w media
mysql -h localhost -u oneie_oneie -p100ppneoc oneie_demo < data.sql
chmod 755 mage
./mage mage-setup .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment