Last active
August 21, 2023 17:35
-
-
Save tonyoconnell/2351492 to your computer and use it in GitHub Desktop.
Install Magento 1.8 With Sample Data By SSH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir demo | |
cd demo | |
wget http://www.magentocommerce.com/downloads/assets/1.8.1.0/magento-1.8.1.0.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.8.1.0.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 root -proot clean < data.sql | |
chmod 755 mage | |
./mage mage-setup . | |
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...
tks.
Rgds,
Thanks, it really helps me a lot
no direct downloads in possible anymore, so the right way is here https://gist.github.com/piotrekkaminski/9bc45ec84028611d621e
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks for very simple steps ...