Home » Tutorials For Beginner » Step by Step how to install Magento 2.0 (Alpha) on Localhost

Step by Step how to install Magento 2.0 (Alpha) on Localhost

As you may know, Magento 2.0 Alpha version has been released in December 2015 and certainly, many Magento developers want to catch up with this latest Magento version. We will release series of articles related to Magento 2, starting with today’s tutorial: How to Properly install Magento 2 on localhost. With a proper installation of Magento 2, we will avoid encountering unexpected errors while working with Magento 2.0. Now, let’s start.

Step 1. Install xampp server

You can go to this url to download and install Xampp: https://www.apachefriends.org/index.html

After installing Xampp, edit: php.ini to enable the following extensions:

Step 2. Install composer:

First, we will download and install Composer: https://getcomposer.org/Composer-Setup.exe

Run the setup file and follow these steps:

how to install magento 2-1

⇒ Click on Next

how to install magento 2-2

⇒ Next to proceed to the next step

how to install magento 2-3

Define the path of php.exe, with xampp php.exe is located in C:\xampp\php\php.exe and click on Next

how to install magento 2-3

⇒ Now we will start the Installation

how to install magento 2-5

Wait for a while.

how to install magento 2-6

If the following error occurs, dont worry, just open Task Manager to kill process Window Explorer. After you shutdown the process, click on Retry to continue.

how to install magento 2-7

This notification will be shown once the installation succeeds:

how to install magento 2-8

Now, we will reopen Window Explorer:

how to install magento 2-9

Step 3. Install Magento 2.0

Now we will begin to Install Magento 2.0. You can get Magento 2.0 from this official source:  https://github.com/magento/magento2

 

Now, copy files to htdocs folder of localhost. Then, right click and select Composer Installation for the file \setup\composer.json

how to install magento 2-10

Now you will see command screen as below:

how to install magento 2-11 how to install magento 2-12

When it’s done, log in to mysql to create a database for your site

how to install magento 2-13

Next, open your browser and run the URL: localhost/magento20/ to begin installing Magento 2.0

how to install magento 2-14

Now, just complete step by step to install Magento 2.0:

how to install magento 2-15

Step 1: Check server (php version, extensions, file permissions and compatibility)

how to install magento 2-16

When it’s done, clink on Next

how to install magento 2-17

Step 2: Database and server information. Enter your server and database information (in step 3). Click Next proceed:

how to install magento 2-18

Step 3: Enter your store address

how to install magento 2-19

Step 4: Customize your store.

Now you can customize your store as you want. In this step you can edit default time zone, type of currency and language.

how to install magento 2-20

Step 5: Create your Admin Account to manage the store.

how to install magento 2-21

Step 6: Last step, click on install now and just wait for the installation to be done

how to install magento 2-22

It will take a few minutes for the installation. When everything is done you will see this notification page

how to install magento 2-23

 

Now go ahead and check your store :)

If you are looking for a good Magento hosting to put your store online, take a look at this Magento hosting review

Have any questions? feel free to drop a line here

About Brian Wilson

avatar
Brian is a freelance Magento developer with 5 years of experience with customizing Magento extensions, magento themes. He's interested in sharing Magento Tutorials to the community

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

Scroll To Top