Thursday, October 10, 2013

How to install Magento engine and template on localhost

  1. Fist you need to do is to make sure the version required to install the template as it is very important to use the version specified.

    Open your template preview page and scroll down to see template requirements.

  2. Now you know the exact version and you can visit the following URL to download the exact version:
    http://www.magentocommerce.com/download

  3. When you unzip Magento engine you get similar structure – you need to copy all the content to your web server (localhost server) root or some folder (www, htdocs etc.).

magento_installing_on_localhost-1


 


Now open your template folder (the one you’ve downloaded after the purchase) and unzip it.


Feel free to check out the tutorials on unzipping a template Extracting Files.


You should get similar structure:


magento_installing_on_localhost-2


 


  1. Open folder “theme NAME” and copy all the content into your magento root, the folder you’ve just copied your Magento engine.

  2. The last step before installing your Magento and theme is to create database and importin sample data .SQL file. Please open your PHPMyAdmin tool and create new database. PHPMyAdmin tool is accessed in different ways depending on software you use to create localhost. We use WAMP in tutorial and it is accessed by visiting localhost in browser and pressing PHPMyadmin tool.

    Open your database by selecting it from the list on the left in PHPMyAdmin and press import button on the top menu


    Press “Browse” button and select the file located inside your downloaded template package:
    \sourcesXXX\sample_data\dump.sql.gz


    Press “Go” button at the bottom of the page when you have file selected. It will import database to your localhost and get all the content from the default website.


    After import is complete you will see green line at the top with success message


  3. Now the last step you have to do is to copy media content from the package

    Go to your default template files and open folder sources/ sample_data and copy folder “media” to your Magento engine on your local host


  4. Now you are ready to process installation – open your local website URL, e.g. localhost/yourfoldername and you will get same screen

magento_installing_on_localhost-3


 


  1. Check “I agree..” box and press “Continue” button

  2. You will get local settings window – change settings if necessary, press “Continue” button when ready

magento_installing_on_localhost-4


 


You wil get database connection setting in next window – it is very important to fill in correct data


magento_installing_on_localhost-5


 


  • Database host – as you are installing it locally regularly it is localhost

  • Database name – you set it in PHPMyAdmin when creating new one

  • User name – regularly it is “root” but it may differ depending on software you use and settings

  • User password – if you didn’t setup your PHP My Admin then there is none. Note – it is extremely important to have strong password for database when using it online due to security issues.

Press “Continue” button when you are ready and you will get next step with personal information. After fill in the details and press “Continue” button you will get your website installed



How to install Magento engine and template on localhost

No comments:

Post a Comment