how to install magento 2.0

9
Website: http://www.demagento.com Email: [email protected]

Upload: zafar-ali

Post on 15-Apr-2017

36 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: How to Install Magento 2.0

Website: http://www.demagento.comEmail: [email protected]

Page 2: How to Install Magento 2.0

Before installing Magento 2, you need to check if the following prerequisites are met.

Operating systems: RedHat Enterprise Linux (RHEL), CentOS, Ubuntu, Debian, etc.

Composer (latest stable version)Apache 2.2 or laterPHP 5.4.11 or laterMySQL 5.6.xMail Transfer Agent (MTA) or an SMTP server

Page 3: How to Install Magento 2.0

Ways to Install Magento 2.0.Magento 2 can be installed in the following 3 ways.

1. Install from archive file2. Install via Composer3. Install via GitHub

Page 4: How to Install Magento 2.0

Install from archive file• The easiest way to install Magento 2.• Download Magento 2 from Magento download page https://

www.magentocommerce.com/download.• Choose from different archive types. • In this installation, Magento core code is stored

under /vendor directory.• Access the website folder like localhost/magento2 and follow the

setup wizard.

Page 5: How to Install Magento 2.0

Install via Composer• Composer is used for dependency management. • First, you have to obtain authentication keys. Visit

https://www.magentocommerce.com/products/applications/customer/login. • After logging in, click “My Access Keys” and generate new set of keys. • Enter the following command in terminal.composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition

Page 6: How to Install Magento 2.0

Install via Composer, continues…• When prompted, enter your username as public key and password as

private key.

Now you can install Magento 2 through Setup Wizard.

Page 7: How to Install Magento 2.0

Install via GitHub• It simply means Installing Magento 2 through command line interface. • In this installation Magento core code is stored under app/code.• First we must clone Magento repo from here:

https://github.com/magento/magento2 or you can download releases on https://github.com/magento/magento2/releases.• Create empty directory and run:git clone [email protected]:magento/magento2.git

Page 8: How to Install Magento 2.0

Install via GitHub, continues…• After deploying has been finished, run:composer install

Now you can install Magento 2.0.

Page 9: How to Install Magento 2.0

• For more details and sample data installation:

• Visit: http://www.demagento.com/how-to-install-magento-2/