Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/DavidBelicza/magento2-server-configuration
Magento 2 server configuration -PHP7, Nginx, Postfix
https://github.com/DavidBelicza/magento2-server-configuration
automatization magento mysql nginx php postfix
Last synced: 3 months ago
JSON representation
Magento 2 server configuration -PHP7, Nginx, Postfix
- Host: GitHub
- URL: https://github.com/DavidBelicza/magento2-server-configuration
- Owner: DavidBelicza
- Created: 2016-05-27T16:29:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-10T18:03:19.000Z (over 5 years ago)
- Last Synced: 2024-07-26T00:51:29.577Z (4 months ago)
- Topics: automatization, magento, mysql, nginx, php, postfix
- Language: Shell
- Size: 33.2 KB
- Stars: 67
- Watchers: 17
- Forks: 58
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 18.04 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 18.04
* Update it: `sudo apt-get update`
* Install git: `sudo apt-get install git`
* Download this installer: `git clone https://github.com/DavidBelicza/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](http://img.youtube.com/vi/Z34udaRg4mE/0.jpg)](http://www.youtube.com/watch?v=Z34udaRg4mE)
## Articles
Article about Magento 2 and Server installation in Hungarian: [Magento Propaganda](http://youama.hu/magento-propaganda/telepites-fejleszteshez-magento-2)