Install LNMP1.4 wget -c http://soft.vpser.net/lnmp/lnmp1.4.tar.gz && tar zxf lnmp1.4.tar.gz && cd lnmp1.4 && ./install.sh lnmp The default installation of lnmp does not need to be written. If you need to install LNMPA or LAMP, replace the parameters after ./install.sh with lnmpa or lamp. LNMP 1.4 official version was released on June 1, 2017. It adds the installation of multiple PHP versions in LNMP mode. Run ./install.sh mphp in the installation package directory to install. Add a separate nginx installation, run in the installation package directory: ./install.sh nginx to install; Add a separate database installation, run in the installation package directory: ./install.sh db to install; Added support for Let's Encrypt to automatically generate certificates and provide your own SSL certificates; Added option of not installing database; Added support for extension installation under multiple PHP versions; Added support for ioncube php7; Add apcu php extension; Added support for PHP7.1; Add the lnmp management script upgrade script and run it in the installation package directory: ./upgrade1.x-1.4.sh; Increase identification of Chinese users and use domestic sources; Added support for Amazon Linux and Linux Mint; Added calculation to display LNMP installation and usage time; Added the function of judging whether LNMP has been installed to prevent repeated installation and overwriting of data; Added backup before installing the database in an existing directory; Add a script to remove the anti-cross-directory configuration file. Run ./remove_open_basedir_restriction.sh in the tools directory in the installation package directory. The lnmp management script adds SSL options, you can choose Let's Encrypt or custom certificate and key files, Letsencrypt automatically tries to renew every 7 days; The lnmp management script adds ftp account information display; The lnmp management script adds multiple PHP version selection options when adding virtual hosts in LNMP mode; The lnmp management script removes the add more domain name prompt. To add a domain name, just enter it. If you don't want to add a domain name, just press Enter. lnmp management script adds optimization on virtual host processing flow; The lnmp management script adds support for multiple PHP status management; The lnmp management script adds lnmp ftp show to display ftp account information; If the lnmp management script already has a virtual host SSL, you can directly add it using lnmp ssl add; By default, nginx is installed with openssl 1.0.2 to better support http2. Fix and improve the domestic composer installation problem, so that it can be installed smoothly in China; Fixed https issue in lnmpa/lamp mode; Fixed the problem that libcurl dependency package does not exist in centos under arm; Adjust the format of some software source packages to tar.bz2; Adjust Apache log LogLevel to crit; Adjust the import method of PHP module and use with-config-file-scan-dir to import; Adjust the default PHP version to PHP 5.5; Adjust the order of domestic and foreign nodes, 1, 3, 5 are domestic nodes (soft1.vpser.net can adjust the numbers), 2, 4, 6, 8 are foreign nodes (soft2.vpser.net can adjust the numbers); Adjust the default virtual host to no longer use the www.lnmp.org domain name, use _ instead; Added the option of whether nginx uses the new version of openssl to compile and install in the lnmp.conf configuration file; Added example code for uploading directories in LNMP mode or prohibiting PHP from accessing directories that do not require PHP parsing. Remove comments, modify the directories, and restart nginx to use it. Add the https example configuration file in LNMP mode: /usr/local/nginx/conf/enable-ssl-example.conf; Add the https instance configuration file in LNMPA mode: /usr/local/nginx/conf/enable-lnmpa-ssl-vhost-example.conf; Add the https instance configuration file in LAMP mode: /usr/local/apache/conf/enable-apache-ssl-vhost-example.conf; Added automatic recognition of PHP modules zts and non-zts; Added Ubuntu 17.04 support; PHP probe is optimized under PHP7; Added secondary settings to prevent cross-directory in fastcgi.conf, and removed reference: https://lnmp.org/faq/lnmp-vhost-add-howto.html#user.ini; Imagemagick added support for webp format; Remove the anonymous user upload permission in the anonymous mode of the pureftp configuration file; To prevent accidental uninstallation, the uninstallation script adds a backup database directory; Optimize the pureftpd installation script so that it can be installed on the server alone; Optimize the nginx virtual host configuration file and add permission rules for the Let'sEncrypt directory; Optimize uninstall script; Optimize component module installation script; Optimize some startup scripts; Adjust the location of my.cnf and startup scripts to the MySQL/MariaDB backup directory when upgrading MySQL/MariaDB; Adjust and optimize the fail2ban and denyhosts installation scripts; |