Skip to content

Instantly share code, notes, and snippets.

Last active October 21, 2018 07:35
What would you like to do?
Install Magento 1.8 With Sample Data By SSH
mkdir demo
cd demo
tar -zxvf magento-
tar -zxvf magento-sample-data-
mv magento-sample-data-* magento/media/
mv magento-sample-data- magento/data.sql
mv magento/* magento/.htaccess .
chmod o+w var var/.htaccess app/etc
chmod -R o+w media
mysql -h localhost -u root -proot clean < data.sql
chmod 755 mage
./mage mage-setup .
Copy link

Thanks for this. VERY convenient.

Copy link

You're welcome Jeremy

Copy link

ghost commented Aug 5, 2013

how does it works. Where can i use these Codes. Is there any install-guide?

Copy link

Thanks for this, I always forget what permissions to set on what files. very useful little guide

Copy link

thanks for very simple steps ...

Copy link

i2eu commented Jan 4, 2014

Dear tony,

thanks first. when I use the sentence "mysql -h localhost -u oneie_oneie -p100ppneoc oneie_demo < data.sql", it replies Access denied for user"oneie_oneie". then I changed oneie_oneie to mysql admin name "Magento", but it still showes "access denied for user "Magento", could you help to expain...


Copy link

HydJing commented Jul 5, 2015

Thanks, it really helps me a lot

Copy link

no direct downloads in possible anymore, so the right way is here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment