LNMP 1.2 rewrites and optimizes scripts, uses lnmp for most management tasks, upgrade.sh for program upgrades, and addons.sh for component installation and uninstallation. At the same time, many practical scripts have been added.
The LNMP one click installation package is a shell program written in Linux shell that can install LNMP (Nginx/MySQL/PHP), LNMPA (Nginx/MySQL/PHP/Apache), and LAMP (Apache/MySQL/PHP) production environments for CentOS/RadHat/Fedora, Debian/Ubuntu/Raspbian VPS (VDS), or stand-alone hosts. At the same time, it provides some practical auxiliary tools, such as virtual host management, FTP user management, Nginx, MySQL/MariaDB, PHP upgrade, installation of common cache components, resetting MySQL root password, 502 automatic restart, log cutting, SSH protection DenyHosts/Fail2Ban, backup, and many other practical scripts.
Detailed installation tutorial reference: http://lnmp.org/install.html
It is recommended to use screen before installation. After executing screen - S lnmp, execute wget - c http://soft.vpser.net/lnmp/lnmp1.2-full.tar.gz && tar zxf lnmp1.2-full.tar.gz && cd lnmp1.2-full && ./ install.sh {lnmp|lnmpa|lamp}
LNMP status management: lnmp {start | stop | reload | restart | kill | status}
Status management of LNMP programs: 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 | del}
FTP user management: lnmp ftp {add | list | del}
V1.2 Update Record
Completely rewrite most scripts such as optimized installation scripts, upgrade scripts, and component installation scripts;
The state management, virtual host management, FTP management and database management are all replaced by the lnmp command, and the/root/vhost.sh and/root/lnmp scripts are removed;
Upgrade scripts of Nginx, MySQL/MariaDB and PHP are integrated into upgrade.sh;
Addons.sh is used for the installation and uninstallation of cache, acceleration, imageMagick, ionCube, etc;
Add SSH protection tools DenyHosts, Failban installation script and DenyHosts blocked IP deletion script;
Add a new backup script, backup.sh;
Supported Linux distributions: CentOS 5-7, RHEL 6-7, Fedora 20-21, Aliyun, Debian 6-8, Raspbian, Ubuntu 10.10-15.04;
Support ARM platform, Raspberry Pi has been tested;
MySQL installation can select 5.1.73, 5.5.42, 5.6.23, and MariaDB can select 5.5.42, 10.0.17;
During PHP installation, you can select 5.2.17, 5.3.29, 5.4.41, 5.5.25, and 5.6.9;
Add memory to optimize jemalloc or gperftools during installation;
When installing Apache, you can choose 2.2.29 or 2.4.12;
Apache logs are unified to/home/wwwlogs/;
Update Nginx to 1.8.0;
Update Zend Guard Loader to support PHP 5.6;
Nginx configuration file has been adjusted. PHP and pathinfo are enabled in include mode, and ssl instance configuration is added;
more: http://lnmp.org/changelog.html
Add and delete virtual hosts and pseudo static management: http://lnmp.org/faq/lnmp-vhost-add-howto.html
Installation of eAccelerator, xcache, memcached, imageMagic, ionCube, opcache, and redis: http://lnmp.org/faq/addons.html