Linux one-click installation package: LNMP installation/latest stable version LNMP installation method/LNMP one-click installation package installation/Junge LNMP installation/LNMP.ORG LNMPA installation/Centos installation LNMP

888u

Last update at :2024-03-26,Edit by888u

LNMP installation, LNMP installation method, LNMP one-click installation package installation, synchronously update the content of Junge LNMP official website (lnmp.org), please bookmark this page to get the latest installation package of Junge lnmp.org, the website content is in 2016 September 25, 2019【Continuously updating】......

Junge LNMP.ORG official website installation address: http://lnmp.org/install.html

System requirements:

  • CentOS/RHEL/Fedora/Debian/Ubuntu/Raspbian Linux system
  • Requires more than 3GB of hard drive remaining space
  • Requires more than 128MB of memory (if it is a small memory VPS of 128MB, Xen needs to have SWAP, OpenVZ must have at least 128MB of vSWAP or burst memory), please note that small memory is not allowed to use 64-bit systems!
  • More than 1G of memory is required to install MySQL 5.6 or 5.7 and MariaDB 10!.
  • The VPS or server must be connected to the Internet, and the network source must be set not to be a CD source, and the VPS/server DNS must be normal!
  • Linux is case-sensitive, please pay attention when entering commands!
LNMP one-click installation package V1.3 has been installed on PhotonVPS, Vultr, Aoyou Host, OneAsiahost Singapore VPS, Bricklayer, BudgetVM, DigitalOcean, LocVPS, Linode, DiaHosting, Ruihao Open Source, KVMLA, Jingwen Internet, RamNode, Hostigation, BuyVM , 80VPS, XSVPS, HostUS, Kuaiyi Internet and many other VPS, the test passed on 32-bit and 64-bit systems of CentOS 5-7, RHEL 6-7, Fedora 21-23, Debian 7-8, Ubuntu 10.04-16.04.

Installation steps: 1. Use putty or similar SSH tool to log in to the VPS or server;

After logging in, run: screen -S lnmp

If the prompt screen: command not found does not exist, you can execute: yum install screen or apt-get install screen installation. For details, please refer to the screen tutorial.

2. Download and install the LNMP one-click installation package:

You can choose to use the download version (recommended for foreign or American VPS) or the full version (recommended for mainland China VPS). There is no difference between the two, except that the full version puts some required source code files into the installation package in advance.

Install LNMP execution: 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 It is not necessary to write lnmp by default. If you need to install LNMPA or LAMP, just replace the parameters after ./install.sh with lnmpa or lamp.

If the download speed is slow, please change to another download node. Please see the download page for details. Specific replacement methods for LNMP download nodes.

After executing the above command, the following prompt will appear: You need to set the root password for MySQL (press Enter without entering it and it will be set to root). If there is an error in the input and you need to delete it, you can hold down Ctrl and press the Backspace key to delete it. After inputting, press Enter to proceed to the next step, as shown in the figure below: Ask whether you need to enable MySQL InnoDB. The InnoDB engine is enabled by default. It is generally recommended to enable it. Just press Enter or enter y. If you are sure that you do not need the engine, you can enter n. After the input is completed, press Enter to proceed to the next step. Select the MySQL version. Currently, there are many versions of MySQL and MariaDB. It should be noted that MySQL 5.6, 5.7 and MariaDB 10 must be selected with a higher configuration of more than 1G of memory: Enter the serial number in front of the corresponding MySQL or MariaDB version, press Enter to enter the next step, and select the PHP version: Note: When choosing a higher version such as PHP7, you need to confirm whether it is compatible with your program. Enter the serial number of the PHP version you want to choose, press Enter to go to the next step, and choose whether to install memory optimization: You can choose not to install, Jemalloc or TCmalloc, enter the corresponding serial number and press Enter. If you press Enter directly, the default is not to install.

If it is LNMPA or LAMP, it will also prompt "Please enter Administrator Email Address:". You need to set the administrator email address, which will be displayed on the error page when an error is reported. Then select the Apache version Enter the serial number in front of the corresponding version as prompted and press Enter.

After prompting "Press any key to install...or Press Ctrl+c to cancel", press Enter to confirm and start the installation. The LNMP script will automatically install and compile Nginx, MySQL, PHP, phpMyAdmin, and Zend Optimizer software.

The installation time may vary from tens of minutes to several hours, mainly due to factors such as the configured network speed of the machine.

3. Installation completed If it displays Nginx: OK, MySQL: OK, PHP: OK And Nginx, MySQL, and PHP are all running, and ports 80 and 3306 exist. If it prompts Install lnmp V1.3 completed! enjoy it., it means the installation has been successful. Next, click on the tutorial to add a virtual host. After adding the virtual host, upload the website code. You can use sftp or ftp server to upload the website, resolve the domain name to the IP of the VPS or server, and the resolution will take effect and you can use it.

4. Installation failed If a prompt similar to the picture above appears, it means that the installation failed, indicating that the installation was not successful! ! You need to use winscp or other similar tools to download lnmp-install.log under the /root directory, post on the LNMP support forum and indicate your system distribution name and version number, 32-bit or 64-bit, etc., and copy lnmp -The install.log is compressed and uploaded to the forum as an attachment. We will find errors through the logs and provide corresponding solutions. By default, LNMP does not install an FTP server. If an FTP server is required: https://lnmp.org/faq/ftpserver.html

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

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

7. LNMP related software directories and file locations http://lnmp.org/faq/lnmp-software-list.html

8. LNMP status management commands http://lnmp.org/faq/lnmp-status-manager.html

Recommended site searches: virtual host evaluation, registration-free jsp space, registration-free virtual host, Hong Kong host high defense, app server rental, cn domain name, managed host, qq proxy server ip, domain name resolution query, agent registration,

p>

Linux one-click installation package: LNMP installation/latest stable version LNMP installation method/LNMP one-click installation package installation/Junge LNMP installation/LNMP.ORG LNMPA installation/Centos installation LNMP

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