Magento Installation

Install Magento not so easy like as joomla or wordpress..Mainly magento is developed for linux operating system so if we  want to install it to windows  Xp with Xampp then we need to change some entities of Xampp file which are following..

Magento Installation  through Linux
wget http://www.magentocommerce.com/downloads/assets/1.1.6/magento-1.1.6.tar.gz
wget http://www.magentocommerce.com/downloads/assets/1.1.2/magento-sample-data-1.1.2.tar.gz
tar -zxvf magento-1.1.6.tar.gz
tar -zxvf magento-sample-data-1.1.2.tar.gz
mv magento-sample-data-1.1.2/media/* magento/media/
mv magento-sample-data-1.1.2/magento_sample_data_for_1.1.2.sql magento/data.sql
mv magento/* magento/.htaccess .
chmod o+w var var/.htaccess app/etc
chmod -R o+w media
mysql -h DBHOST -u DBUSER -pDBPASS DBNAME < data.sql
./pear mage-setup .
./pear install -f magento-core/Mage_All_Latest-stable
rm -rf downloader/pearlib/cache/* downloader/pearlib/download/*
rm -rf magento/ magento-sample-data-1.1.2/
rm -rf magento-1.1.6.tar.gz magento-sample-data-1.1.2.tar.gz data.sql

Magento Installation Through XAMPP
It can be easily installed on windows with XAMPP and WAMP and before it; I recommend to install the latest version of XAMPP or WAMP. It is also a best practice using the latest version of magento because the latest version has the previous bug fixed and the new release is published.

Step 1: Download the latest version of Magento from here http://www.magentocommerce.com/download
Step 2: After unzipping keep the magento folder or renaming it to your server root doc. For XAMPP htdocs is the server root folder and www for WAMP.
Step 3: Setup Database using phpmyadmin.
Step 4: Edit apache/conf/httpd.conf change line:
#LoadModule rewrite_module modules/mod_rewrite.so
To 
LoadModule rewrite_module modules/mod_rewrite.so
(just remove the # )
Step 5: Edit apache/bin/php.ini
;extension=php_mcrypt.dll
To 
extension=php_mcrypt.dll
(just remove the ; )
Step 6: Edit php/php.ini
;extension=php_curl.dll
To 
extension=php_curl.dll
(just remove the ; )

Step 7: On WAMP you must also change the following line in apache2/bin/php.ini and php/php.ini changes lines:
;extension=php_pdo_mysql.dll
To 
extension=php_pdo_mysql.dll
(just remove the ; )
Step 8: you may also need to make sure you are loading:
extension=php_pdo.dll
Step 9: Restart all servers
Step 10: Goto: http://localhost/magento/install (replace the above “magento” with where your installation was extracted to) and continue with installation.Step-by-Step Wizard.
a) Just proceed with it and make sure, you dont make any changes in that wizard options, if you are not sure, what you are doing.
b) Now ,here you enter the database details, will take a while, since that step stores the tables in the database. So, hold your fingers, till it shows the next step on your screen.
c)Now, the next step will ask you to enter the admin details and you are done.
d)Test your new Magento store at your browser then.

Note: While installation it may ask that url is not valid so you need to open the js folder under root folder of magento i.e  js\prototype\validation.js search for the validate-url and comment that line and then refresh the Browser where magento had asked for valid url and then proceed after completion of the installation un comment the line
Note: If you can’t login to the administration panel after installation, that’s because there’s a cookie problem. Add these lines:
127.0.0.1        magento.localhost.com www.localhost.com
To
C:/Windows/System32/drivers/etc/hosts (edit this file in notepad)

1 comment:

  1. Magento is best for Ecommerce websites and easy to learn. Magento Web Design Company gives you the freedom to customize the features of your website for a commercial business.

    ReplyDelete

Thankyou for your Comments

LinkWithin

Blog has moved, searching new blog...