Raise PHP-FPM listen.backlog listen.backlog = 8096Ĭhange from ondemand to static or dynamic PHP-FPM process manager in which case tuning pm.max_children is left up to you to tune. So you will be able to make changes like below:
If you're on non-OpenVZ based server with ability to run system at TCP /etc/nf level, then Centmin Mod LEMP stack installer would have automatically optimised your system at TCP level.
List of PHP extensions loaded with PHP 7.1.5 with lzf and lz4 added post initial install php -mĪfter install, you may want to tweak your PHP-FPM primary main pool settings in /usr/local/etc/nf
Magento component repository also requires TLSv1.1 or newer too.Īs root user in SSH session run the installer via curl: yum -y update curl -O & chmod 0700 betainstaller71.sh & bash betainstaller71.sh You need at least 2GB of memory according to official Magento 2.2 stack requirements.įor CentOS users, you want to make sure you're using latest CentOS 7.4 or higher version operating system as the version of Git and Curl are latest versions used to support TLS v1.2 which is required due to deprecating TLSv1.0 and TLSv1.1 and Paypal deprecating TLSv1.0. So if you do not understand any of the SSH commands used, start reading the listed documentation and links below.Ĭentmin Mod 123.09beta01 LEMP Stack Installįirst you need to install Centmin Mod 123.09beta01 LEMP stack on a fresh virgin CentOS 7.4 64bit server using the betainstaller71.sh installer which will install Nginx 1.13 branch with MariaDB 10.1.31 MySQL and latest version of PHP 7.1.x branch as PHP-FPM which as of this moment is PHP 7.1.15. Thus this write up guide will undergo revisions over time.Īll below installation steps assume you have thoroughly read those listed official Magento 2.2.2 documentation and links. Just this time I am documenting publicly. This is how I usually learn - lots of reading and practice. Hence, why I decided to setup this Magento install guide on a Github repository instead of the official Centmin Mod Community forums so I can accept contributions and corrections to the below guide via Git pull requests. It's purely a first time attempt outline for Magento 2.2.2. I haven't gone beyond the initial Magento installation, so have no experience with managing and administrating Magento 2.2 application nor have I have any experience with Magento themes etc. I have never used Magento before so this is first attempt at installing Magento 2.2.2 after a quick read of the official Magento 2.2.2 documentation and Magento related info links outlined below in Magento Docs & Info Links section. Update: added a Magento 2 Bugs section of which one bug already affects Magento 2.2.2 causing high MySQL / PHP related loads. Maybe something planned on offer to Centmin Mod Premium Members. The below Magento install steps could be used to write an automated script to install Magento 2.2.2 on Centmin Mod LEMP stacks purely from SSH command line.
Magento 2.2.2 install below will be via Composer download and native Magento binary command tool and is 100% pure SSH command line install. This Magento 2.2.2 installation guide is written by George Liu (eva2000) and is provided as is without any support and was written specifically for Magento 2.2.2 installs on Centmin Mod 123.09beta01 or higher branch LEMP stack installations running Nginx 1.13 branch with PHP-FPM 7.1.x latest (Magento 2.2.2 doesn't support PHP 7.2 yet) and MariaDB 10.1.31 MySQL server.