Monday, August 25, 2008

Install Magento

Following are the steps to install Magento manually from Shell.

wget http://www.magentocommerce.com/downl...19870.4.tar.gz

wget http://www.magentocommerce.com/downl...0.19870.tar.gz

tar -zxvf magento-1.0.19870.4.tar.gz

tar -zxvf magento-sample-data-1.0.19870.tar.gz

mv magento-sample-data-1.0.19870/media/* magento/media/

mv magento-sample-ta-1.0.19870/magento_sample_data_for_1.0.19870.sql magento/data.sql

cd magento

chmod o+w var var/.htaccess app/etc

chmod -R o+w media

mysql -u DBUSER -pDBPASS DBNAME < data.sql

./pear mage-setup .

./pear install -f magento-core/Mage_All_Latest

rm -rf downloader/pearlib/cache/* downloader/pearlib/download/* .htaccess.sample data.sql index.php.sample ../magento-1.0.19870.4.tar.gz ../magento-sample-data-1.0.19870/ ../magento-sample-data-1.0.19870.tar.gz

find . -type d -exec chmod 777 {} \;

If after installation you are facing the "500 Internal Error Server" problem then check Apache logs and correct the ownership and permission for the folders as per logs.

Also refer following blog to collect more information http://theperfectarts.com/

1 comment:

sukumar said...

nice post about magento. this post useful to who want to install magento. Magento eCommerce site is popular and future rich site this more using in shopping cart.Magento eCommerce