how to install magento 2.0

Post on 15-Apr-2017

36 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Website: http://www.demagento.comEmail: info@demagento.com

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

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

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.

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

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.

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 git@github.com:magento/magento2.git

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

Now you can install Magento 2.0.

• For more details and sample data installation:

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

top related