Code Monkey home page Code Monkey logo

magento2-server-configuration's Introduction

Magento 2 Automatized Server Configurator

This script installs the Magento and its server environment. It installs Nginx, PHP7, MySQL, Postfix, Composer, Magento 2, Magento sample data and all required packages and dependencies. It also set the Linux swapping and Vhost configuration.

This script makes ready Magento 2 to work for development and sets a single one store for one website.

This Magento environment fine for module and template development and Magento core contribution development

Pre-requirements: Ubuntu 16 with Internet connection.

To install Magento, first fill out the install.ini file then run the command "sudo bash install.sh"

Guide

  • Get an Ubuntu 16
  • Update it: sudo apt-get update
  • Install git: sudo apt-get install git
  • Download this isntaller: git clone https://github.com/DoveID/magento2-server-configuration.git
  • Set your user names and passwords: nano install.ini or gedit install.ini
  • Run the installer: sudo bash install.sh
  • Now, you have an installed Magento 2 prepared to development

After Installation

The installation process created the Magento Linux User automatically, so you can login as Magento and use Magento's commands:

  • cd /var/www/html/mywebshop.com/webroot
  • su magento
  • php bin/magento

If you have any permission issues use the following commands:

  • cd /var/www/html/mywebshop.com/webroot
  • chown -R :www-data .
  • find . -type d -exec chmod 770 {} \;
  • find . -type f -exec chmod 660 {} \;
  • chmod u+x bin/magento

Installation Demo

Magento 2 Installation - Full Server: Nginx, MySQL, PHP7, Sample Data

Articles

Article about Magento 2 and Server installation in Hungarian: Magento Propaganda

magento2-server-configuration's People

Contributors

davidbelicza avatar

Watchers

James Cloos avatar Sena Yoga Samudra 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.