Het installeren van Magento 2.0

Het installeren van Magento 2.0

Nice to meet you again, guys!

As we all know, beta version of Magento 2 was officially launched on 18th December, so we are now one step closer to this upgrade. If you have already tried installing the alpha version, you’ll find that there are some little changes in this latest one. Let’s check!

 

I. Install Magento 2.0 in localhost

1. Install xampp www.apachefriends.org with the following condition and requirement:

Use the following table to verify you have the correct prerequisites to install the Magento software.

Prerequisite How to check For more information
Apache 2.2 or 2.4 Ubuntu: apache -v
CentOS: httpd -v
Apache
PHP 5.4.x (where x = 11 or later) or 5.5.x php –v
OR
phpinfo()
PHP Ubuntu
PHP CentOS
MySQL 5.6.x mysql -u [root user name] –p
SHOW VARIABLES LIKE “%version%”;
MySQL

2. Install composer: https://getcomposer.org/doc/00-intro.md

a. Download Composer-Setup.exe and install on local

b. Run file Composer-Setup.exe

Magento 2 Installation>> Choose Next to continue

Magento 2 Installation>> Choose Next to continue

Magento 2 Installation

>> Choose the file path php.exe with xampp to be C:xamppphpphp.exe and click on Next button

Magento 2 Installation >> Choose Install

Magento 2 Installation>> Then, please wait

Magento 2 Installation>> If you see this error, you can use task manager to close windows explorer, then hit Retry to continue

Magento 2 Installation>> You will see the following picture when completing Composer setup:

Magento 2 Installation>> Re-run Windows Explorer:

Magento 2 Installation
3. Install Magento 2.0

Setup version is 0.42.0-beta1: https://drive.google.com/file/d/0B9BrisTMtKNad1pGRExxOWJUVDA/view?usp=sharing

Or download the latest version at https://github.com/magento/magento2

Extract the source code in  web folder

Magento 2 Installation

Right click on composer.json to run Composer Install

Magento 2 Installation>> Here comes the cmd screen, you should wait for a few minutes

Magento 2 Installation

Magento 2 Installation>> Log in to mysql to create database

Magento 2 Installation

>> Run the link localhost/magento20/ on browser to start installing Magento 2.0

Magento 2 Installation

>> Check server

Magento 2 Installation

>> Complete and Next

Magento 2 Installation

>> Fill in database information and Next

Magento 2 Installation

>> Fill in URL of website and Next

Magento 2 Installation

>> Set timezone, currency, language and Next

Magento 2 Installation

>> Fill in the account information and Next

Magento 2 Installation

>> Click on Install Now

Magento 2 Installation

>> Please wait while installation is running

Magento 2 Installation

 

>> Finish installation

Magento 2 Installation

II. Install Magento 2 on server

a. Download the source code

Move to the web folder

Magento 2 Installation

Use git to clone the source code

git clone –b 0.42.0-beta1 https://github.com/magento/magento2.git

Magento 2 Installation

Move to the folder the source code that has been cloned to download composer tool

Magento 2 Installation

Run composer function

Magento 2 Installation

b. Log in to mysql to create database

c. Run the Magento link to install similarly in localhost

Magento 2 Installation