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

888u

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

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

Official website address: http://lnmp.org/ According to the official website, it was released on 6.1 this year. After reading the same thing, the new version adds a lot of optional features, which is good. For example, the php and mysql versions have been improved a lot. At the same time, lnmpa is also integrated, which is very convenient for novices to use.

Attached is the official website installation tutorial:

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 you are prompted screen: command not found and the command does not exist, you can execute: yum install screen or apt-get install screen installation, detailed screen tutorial.

2. Download and install LNMPOne-click installation package:

You can choose to use the download version (recommended overseas or US 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.2-full.tar.gz && tar zxf lnmp1.2-full.tar.gz && cd lnmp1.2-full && ./install.sh lnmp If you need to install LNMPA or LAMP, replace the parameters after ./install.sh with lnmpa or lamp.

There are also several foreign image download nodes, and the specific replacement method 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). Enter it and press Enter to go to the next step, as shown in the figure below: Here you need to confirm whether MySQL InnoDB is enabled. If you are not sure whether it is enabled, you can enter y. Enter y to enable it and enter n to disable it. The default is y enabled, enter and press Enter to enter the next step, select the MySQL version: Enter the serial number of the MySQL or MariaDB version, press Enter to proceed to the next step, and select the PHP version: Enter the serial number of the PHP version, press Enter to proceed 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 it is LNMPA or LAMP, you also need to set up the administrator's email address Then select the Apache version

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 Install lnmp V1.2 completed! enjoy it., it means the installation has been successful. Next, click on the tutorial to add a virtual host, add a virtual host, upload the website through sftp or ftp server, resolve the domain name to the IP of the VPS or server, and the resolution will take effect and you can use it.

Recommended site searches: Ministry of Industry and Information Technology domain name registration, registration-free cdn in mainland China, php website space, domain name query network, registration-free virtual space, icp website registration, Hengchuang host, free proxy server, free virtual host application, Shanghai virtual host ,

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

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