Focus on cloud service provider activities
Notes on website operation and maintenance

Experience the installation process and update functions of LNMP one click installation package V1.5 beta

If we need to build a website on the Linux VPS host, we must configure the WEB environment. Although there are many online compilation and installation tutorials, it is really difficult for novices. For veterans, if they do not need special environment configuration, they basically prefer to use one click package installation directly. Among them, we use them mostly, which is provided by the military brother LNMP , has been maintaining a major version update every year. It is generally updated on Children's Day every year.

A few days ago, Lao Zuo saw that the official LNMP also released the V1.5 test version, and there are still many updates and upgrades, including PHP version upgrading, PHP version 7.2, MariaDB 10.2 database support, Nginx Lua module support, and dozens of minor modifications and adjustments.

At present, it is only a beta version, and we are not recommended to use it in the production environment. To use the production environment, we still use V1.4. The new version will be installed and used after the official release of Children's Day this year.

First LNMP V1.5 Beta script

yum install -y wget screen
screen -S lnmp
wget -c http://soft.vpser.net/lnmp/lnmp1.5beta.tar.gz && tar zxf lnmp1.5beta.tar.gz && cd lnmp1.5 && ./ install.sh lnmp

Second, LNMP V1.5 installation process record

We choose the database version. If we choose MYSQL5.6 and above, the memory needs more than 1GB, or we cannot continue.

Then select the PHP version. The normal process of installing any key is automatic. It is similar to the installation of other versions. Finally, we see the following figure to indicate that the installation is complete.

 Experience the installation process and update functions of LNMP one click installation package V1.5 beta

Sorry, the test machine uses linode, which is really slow. It took me about 3 hours to complete the installation. I'm crazy.

Third, check the official update documents

Add PHP 7.2 support;
Add MariaDB 10.2 support;
Add the fileinfo option of the PHP module. During installation or upgrade, you can choose whether to enable installation. The option Enable_PHP_Fileinfo in lnmp.conf under the installation package directory is n by default and not enabled. If there is an installation, it is set to y;
Add the Nginx lua module option. During installation or upgrade, you can choose whether to enable lua for nginx installation. The option Enable_Nginx_Lua in lnmp.conf under the installation package directory is not enabled by default. If there is an installation, it is set to y;
Add thinkphp, yii2, codeigniter, larravel pseudo static;
Add acme.sh to generate SSL certificates and remove the official certbot;
Add Nginx compilation parameters, and stream is enabled by default;
Add Apache 2.4 to support http2;
Add the source of the old version of Ubuntu in China;
Add pathinfo option when adding virtual host;
The one click upgrade function command to add certbot to acme.sh is/ Upgrade1.x-1.5.sh ssl can enter the same configuration information as the original SSL virtual host as prompted;
Fix the problem of deep desktop version;
Remove the PHP disabled function scandir;
Adjust the default PHP version to 5.6;
Adjust the default Apache version to 2.4;
Adjust the password not entered during MySQL/MariaDB installation from the original password set to root to lnmp. org # random number;
Adjust the MySQL domestic download source to HKUST;
Adjust the SSL adding process in LAMP mode, and add the intermediate certificate option;

The above is the adjustment and update of the current V1.5 version. Of course, there must be changes before the official version is released. Laozuo does not recommend users to use the beta version in the production environment.

Domain name host preferential information push QQ group: six hundred and twenty-seven million seven hundred and seventy-five thousand four hundred and seventy-seven Get preferential promotion from merchants.
Like( zero )
Do not reprint without permission: Lao Zuo's Notes » Experience the installation process and update functions of LNMP one click installation package V1.5 beta


Scan the code to follow the official account

Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge