Leave a suggestion

If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Magento. How to install Magento engine and template on localhost

In this tutorial you will learn the way 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.).
  4. 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:

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

  5. 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

  6. 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

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

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

  8. You will get local settings window – change settings if necessary, press “Continue” button when ready
  9. You wil get database connection setting in next window – it is very important to fill in correct data

    • 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

Thank you paying attention to our tutorials. Please contact us if you have any issues in editing the template.

Feel free to check the detailed video tutorial below:

Magento. How to install Magento engine and template on localhost