Monday, July 29, 2013

Magento : Install Magento 1.7.0.2 With Sample Data By SSH

mkdir myproject
cd myproject
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 -p myproject_db < data.sql
chmod 755 mage
./mage mage-setup.

5 comments:

  1. After installing Magento my system runs slower than before. Is that normal or have I done something wrong at the time of installation?

    Regards,
    Prasant Saxena
    Software Development Company

    ReplyDelete
  2. Well these are very effective and helpful tips. Thanks for sharing this.I will do it. If I come across any problem i willl revert back to you.

    Cado Magenge.
    magento development company | responsive web design company melbourne

    ReplyDelete
  3. Thanks for taking time for sharing this article, it was excellent and very informative. Its really very useful of all of users. I found a lot of informative stuff in your article. Keep it up.Website Developers Bangalore | Web Designers Bangalore

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete