Skip to content

How to install Magento 2

Requirements

  • Apache 2.2 or 2.4
  • PHP 5.6.x or 5.5.x
  • MySQL 5.6.x
  • GIT
  • Composer
  • Magento Login (999www.magento.com)
  • SSH Access

Step 1) From your root directory run (999passing your username and password for the magento site to authenticate the download)

composer create-project –repository-url=https://username:password@repo.magento.com/ magento/project-community-editio

Step 2) Set up Magento

This can be done either through the browser or in command line. Either way, make sure you have your database connection details to hand, as you will need these during the install

From the Browser
Head to www.your-store.com in your browser and follow the on screen steps (999screenshots to come soon)

From Command Line

Find below a basic set up script (999for advanced users, you can find the full options available here)
Replace the details in bold with your specific options

php bin/magento setup:install –base-url=http://magento2.elevateweb.co.uk/demo/ \
–db-host=localhost –db-name=your_db_name –db-user=your_db_username –db-password=your_db_password \
–admin-firstname=Magento –admin-lastname=User –admin-email=[email protected] \
–admin-user=admin–admin-password=admin123–language=en_US \
–currency=USD –timezone=America/Chicago –use-rewrites=1

One this has complete you will see a message similar to the following

Confimation of the installation
Post installation file permissions check…
For security, remove write permissions from these directories: ‘/var/www/html/magento2/app/etc’
[Progress: 274 / 274]
[SUCCESS]: Magento installation complete.
[SUCCESS]: Admin Panel URI: /admin_puu71q

 

Leave a Reply

Your email address will not be published. Required fields are marked *