Last active
December 15, 2015 03:19
-
-
Save loopool/5193351 to your computer and use it in GitHub Desktop.
Install magento via SSH. magento 1.7,sample data 1.6
This file contains hidden or 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
cd /home/www | |
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 public_html | |
cd public_html | |
chmod o+w var var/.htaccess app/etc | |
chmod -R o+w media | |
mysql -h localhost -u root -ppass mage < data.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment