Giter VIP home page Giter VIP logo

magento_installation's Introduction

Magento Installations Steps in Ubuntu

Step 1:

Install apache 2.4

sudo apt-get install apache2

Step 2:

Install the PHP extension

sudo apt-get install php7.0-fpm php7.0-mcrypt php7.0-curl php7.0-cli php7.0-mysql php7.0-gd php7.0-xsl php7.0-json php7.0-intl php-pear php7.0-dev php7.0-common php7.0-mbstring php7.0-zip php-soap libcurl3 curl -y

If you still have problem in installation of php extentions, read my blog

https://exxotics.wordpress.com/2018/09/14/how-to-solve-php-extension-bcmath-is-missing-when-installing-magento-in-ubuntu-16-04/#more-395

Step 3:

Install phpmyadmin

sudo apt install phpmyadmin

User: root

Pass: root

Step 4:

Download the sample data magento2

Permision html directory

sudo chmod -R 755 /var/www/html/magento/

Extract to / var / www / html / magento2 (your site's name)

Step 5:

Allow the directory

  • Run the command on the root directory of magento:

sudo chown -R www-data: www-data /var/www/html/magento/

Step 6:

Install phpMyadmin (download zip file)

Yogurt:

Run: sudo apt install php libapache2-mod-php

  • Create a database

Step 7:

Edit these files

/etc/php/7.0/fpm/php.ini

/etc/php/7.0/cli/php.ini

/etc/php/7.0/apache2/php.ini

Edit following entries in above files

max_execution_time = 1800

max_input_time = 6000

memory_limit = 1024M

post_max_size = 128M

upload_max_filesize = 32M

Step 8:

a2enmod rewrite apache

  • run command:

      sudo a2enmod rewrite
    
  • Insert into /etc/apache2/sites-available/000-default.conf:

    <Directory /var/www/html>
    
    Options Indexes FollowSymLinks
      
    AllowOverride All
      
    Require all granted
      
    </ Directory>
    

Restart apache2

Step 9: Install magento2

If you want to check the steps of Magento installation please read my blog https://exxotics.wordpress.com/2018/09/29/install-and-configure-magento2-in-linux/#more-417

magento_installation's People

Contributors

zawster avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.