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
>> Choose Next to continue
>> Choose Next to continue
>> Choose the file path php.exe with xampp to be C:xamppphpphp.exe and click on Next button
>> Choose Install
>> Then, please wait
>> If you see this error, you can use task manager to close windows explorer, then hit Retry to continue
>> You will see the following picture when completing Composer setup:
>> Re-run Windows Explorer:
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
Right click on composer.json to run Composer Install
>> Here comes the cmd screen, you should wait for a few minutes
>> Log in to mysql to create database
>> Run the link localhost/magento20/ on browser to start installing Magento 2.0
>> Check server
>> Complete and Next
>> Fill in database information and Next
>> Fill in URL of website and Next
>> Set timezone, currency, language and Next
>> Fill in the account information and Next
>> Click on Install Now
>> Please wait while installation is running
>> Finish installation
II. Install Magento 2 on server
a. Download the source code
Move to the web folder
Use git to clone the source code
git clone –b 0.42.0-beta1 https://github.com/magento/magento2.git
Move to the folder the source code that has been cloned to download composer tool
Run composer function
b. Log in to mysql to create database
c. Run the Magento link to install similarly in localhost