LNMP One-Click Installation Package V1.9 Release Notes and Usage Guide
The LNMP one‑click installation package V1.9 adds support for Rocky Linux, AlmaLinux, CentOS Stream 9 and several Chinese Linux distributions, introduces PHP 8.1, new PHP extensions, MySQL 5.7/8.0 binaries, IPv6 and ZeroSSL options, and provides detailed management commands for deploying and maintaining Nginx, MySQL, PHP and related services.
LNMP one‑click installation packages are released each January (test version) and June 1st (official version); the V1.9 official version has just been released.
The installer is a Linux Shell script that can set up LNMP (Nginx/MySQL/PHP), LNMPA (Nginx/MySQL/PHP/Apache) or LAMP (Apache/MySQL/PHP) production environments on a wide range of distributions including CentOS, RHEL, Fedora, Debian, Ubuntu, Raspbian, Deepin, Aliyun, Amazon, Mint, Rocky Linux, AlmaLinux, CentOS Stream 9 and Chinese Linux variants (UOS, Galaxy Kylin, openEuler, Anolis OS). It supports custom Nginx and PHP compile options, multiple PHP versions, Let’s Encrypt/ZeroSSL certificates, and provides auxiliary tools such as virtual‑host management, FTP user management, component upgrades, Redis/XCache installation, MySQL root password reset, automatic 502 restart, log rotation, SSH protection, backups, and more.
Added support for Rocky Linux and AlmaLinux; Added PHP 8.1 support; Added PHP extensions exif, fileinfo, ldap, bz2, sodium, imap, swoole and SourceGuardian Loader (enable in lnmp.conf before installation or install later with ./addons.sh ); Added ngx_fancyindex module (enable in lnmp.conf ); Added Nginx --with-stream_ssl_preread_module for stream SSL; Added support for UOS desktop and server editions, Galaxy Kylin, openEuler, Anolis OS, CentOS Stream 9, AlmaLinux 9; Added binary installation and upgrade options for MySQL 5.7 and 8.0; Added PHP 7.4+ WebP support; lnmp management script now includes HTTP 301 to HTTPS redirection and IPv6 enable options; Removed MariaDB 10.1, 10.2; added MariaDB 10.5, 10.6; ZeroSSL support for wildcard SSL; Optimizations for Alibaba Cloud, SSL code, FTP user addition, offline installation, EOL Linux distributions, OpenSSL, RHEL 9 uw‑imap support; adjusted MariaDB download URLs; updated many software versions; other functional optimizations.
LNMP status management commands:
lnmp {start|stop|reload|restart|kill|status}
Program‑specific commands (nginx, mysql, mariadb, php‑fpm, pureftpd):
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|show}
SSL for existing virtual hosts:
lnmp ssl add
Generate certificates and create virtual hosts via DNS API:
lnmp dns {ali|dp|cf|he|namesilo|namecom|namecheap|porkbun|...}
Generate certificates only via DNS API:
lnmp onlyssl {ali|dp|cf|he|namesilo|namecom|namecheap|porkbun|...}
Upgrade notes: the 1.9 version differs little from 1.8 in compile parameters and management scripts; if new features are not needed, upgrading is optional. The ./upgrade1.x-1.9.sh script upgrades only the management scripts and necessary dependencies, not the whole environment, allowing selective component upgrades.
For non‑1.9 versions, required PHP extensions (exif, fileinfo, ldap, bz2, sodium, imap, swoole) can be installed by downloading the 1.9 package and running ./addons.sh . Database upgrades are generally discouraged due to potential compatibility risks. Free SSL certificates from Let’s Encrypt and ZeroSSL are valid for 90 days and support wildcard generation via DNS API; BuyPass offers 180‑day certificates without wildcard support.
Laravel Tech Community
Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.