VpsAdd tutorial: LNMP one-click package upgrade 1.3 released (picture)

888u

Last update at :2024-01-06,Edit by888u

VpsAdd tutorial:LNMP one-click package upgrade 1.3 Release (picture)

Official website address: http://lnmp.org/

LNMP One-click installation package V1.3 is officially released, adding PHP7, mysql 5.7 support, nginx http2 support, adding lnmp.conf configuration file open source custom database directory, custom parameters, optimizing the installation script to increase the installation success rate, etc.

The LNMP one-click installation package is written in Linux Shell and can be used to install LNMP (Nginx/MySQL/PHP), LNMPA (Nginx/MySQL) for CentOS/RadHat/Fedora, Debian/Ubuntu/Raspbian/Deepin Linux VPS or independent hosts. /PHP/Apache), LAMP (Apache/MySQL/PHP) Shell program for production environment. It also provides some practical auxiliary tools such as: virtual host management, FTP user management, Nginx, MySQL/MariaDB, PHP upgrade, installation of common cache components, reset MySQL root password, 502 automatic restart, log cutting, SSH protection DenyHosts/ Fail2Ban, backup and many other useful scripts.

The lnmp.conf configuration file was added in 1.3. This configuration file can customize the download mirror address, Nginx compilation parameters, PHP compilation parameters, database and default virtual host default directory. This configuration file will call the file regardless of installation or upgrade. Settings, if you want to add custom parameters before installation, you can modify the parameters of the configuration file before installation or upgrade.

Compatibility reminder: PHP 5.6 and PHP7 have many adjustments. Please go to the official website of the program to confirm compatibility before using the program. At present, many domestic programs shopex and ecshop are still stuck in the era of php 5.2. Even discuz x has problems supporting php7. Currently, wordpress supports php7, but the wp plug-in may be incompatible. In the production environment, it is not recommended to use php7 unless you have written a program for php7 or a program that is fully compatible with php7. In addition to program compatibility, php extensions will also have an impact. Currently, in addition to the native opcache under php7, such as php-memcache, php-memcached, php-redis, etc. are currently third-party, and Zend Guard Loader is currently not available. Those encrypted using zend cannot be decrypted.

It is recommended to use screen before installation. After executing: screen -S lnmp, execute: wget -c http://soft.vpser.net/lnmp/lnmp1.3-full.tar.gz && tar zxf lnmp1.3- full.tar.gz && cd lnmp1.3-full && ./install.sh {lnmp|lnmpa|lamp}

For detailed installation tutorial, please refer to: https://lnmp.org/install.html

LNMP status management: lnmp {start|stop|reload|restart|kill|status} Status management of each LNMP program: lnmp {nginx|mysql|mariadb|php-fpm|pureftpd} {start|stop|reload|restart|kill|status} Virtual host management: lnmp vhost {add|list|del} Database management: lnmp database {add|list|edit|del} FTP user management: lnmp ftp {add|list|edit|del}

V1.3 update record

Optimize installation scripts, upgrade scripts and component installation scripts; Add the lnmp.conf configuration file to customize the download server address, website/database directory, and nginx and php compilation parameters; the settings in this file will be called regardless of installation or upgrade (it is recommended to back up this file); Added that during installation and upgrade, PHP-FPM and MySQL/MariaDB related parameters will be automatically optimized according to the machine configuration; Add php7 support; Add mysql 5.7 support; Added phpmyadmin upgrade function; Add Composer tool to php; PHP 5.4 and above versions add intl and xsl extensions; nginx upgrades to version 1.10.0 and supports http2 by default. Note that if you upgrade to version 1.9.5 or above, you can only use lnmp 1.3; Add support for php-redis, php-memcached, php-memcache, and imagick modules under PHP7; Added the ability to perform a complete backup of the source directory when upgrading PHP/MySQL/MariaDB to prevent the risk of upgrade failure; Added the function to back up the database directory when uninstalling LNMP/LNMPA/LAMP; Added lnmp script to create a MySQL database and FTP account option when creating a virtual host (pureftpd needs to be installed first); Add a directory to clean up after installation or upgrade to save hard disk space; Redis only retains the latest version and deletes support for older versions; Fixed the problem that MySQL cannot set the password correctly under some systems; Correct and improve firewall rules; pureftpd removes the web panel and no longer relies on MySQL. You can only use the lnmp ftp {add|list|edit|del} command for ftp account management; Adjust the pureftpd configuration file directory to /usr/local/pureftpd/etc/; pureftpd compilation option adds tls; In the nginx configuration file, the php enable configuration is simplified to include enable-php.conf; the pathinfo enable configuration is simplified to include enable-php-pathinfo.conf; Fix imagemagick CVE-2016-3714 vulnerability; nginx adjusts the default log format to combined; Many small updates and adjustments...

Add, delete virtual hosts and pseudo-static management: https ://lnmp.org/faq/lnmp-vhost-add-howto.html

Installation of eAccelerator, xcache, memcached, imageMagick, ionCube, opcache, redis: https ://lnmp.org/faq/addons.html

Recommended site searches: cn domain name price, server rental, vps for ip, top ten free foreign servers, free ip proxy, high-defense server rental, vps host, anti-complaint server, application for free space and domain name, European server, < /p>

VpsAdd tutorial: LNMP one-click package upgrade 1.3 released (picture)

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码