Magento 2 Installation

How to setup and install Magento 2 in you server

Setup #

How to setup Magento 2 in your hosting server.

Magento 2 Version #

Which Magento 2 version should you use ? Always go with the latest version as it has the least amount of bugs and the most amount of functionality.

System requirements #

PHP Version #

Which PHP version should you use for Magento 2 ? It mainly depends on the version for M2 you are using: - 2.0 - 2.1 - 2.2 - 2.3

Sample Data #

If you want to install Magento 2 with Sample data please proceed as follow: Sample Data download process is automatic through Composer

Install using Composer #

How to install magento 2 using composer

composer create-project --repository-url= magento/project-community-edition mage2ee
php bin/magento sampledata:deploy
php bin/magento setup:install --backend-frontname=admin --db-host=localhost --db-name=m2_training --db-user=m2_training --db-password="algla904.-were-eioio0=" --base-url= --use-rewrites=1 --admin-user=admin --admin-password=password123 [email protected] --admin-firstname=Admin --admin-lastname=Admin --use-sample-data

Install without Composer #

install magento 2 without composer by using

Hosting Requirements #

Hardware Requirements #

Download magento 2 without sample data

Need help with Magento 2 Installation ?