I am Mr. Fang, and I have nothing to do. I feel that every time I compile and install, and then modify the php, mysql, redis, and nginx configuration files, I feel that the good youth time is wasted. So thinking about how to install the php environment and related configurations with one click. So I read about the one-click installation of lnmp. But I still feel that lnmp has many problems. First lnmp installation flow chart
lnmp follows the installation process and there are a few questions
1 There is no exit mechanism. If the MySQL installation fails, it will continue to the end, wasting precious time
2 The relevant coincidence is too large and difficult to read
3 Code maintenance cost is too high
In response to the above problems, I think lnmp should be in pluggable mode, which can be easily installed and configured
1 Because the person who installs lnmp must have a certain shell foundation
2 You can execute a required installation package individually, or combine it yourself to add a new installation package
3 Add exit mechanism
4 Automatically detect the environment and configure optimization
Summary: Since the compilation environment is indispensable, one-click installation can save at least half a day for one person. And it is more troublesome to configure each environment. Therefore, the one-click mechanism should be encapsulated within a certain period of time. To improve team efficiency