Previously shared with everyone#WebsiteBuilding# Beginner-friendly Baota Panel Website Building TutorialToday, we continue to share another website environment installation script, the LNMP One-Click Package.
Naibabiji has used this LNMP One-Click Package to set up website environments since first using VPS. It is quite stable and uses fewer resources compared to Baota Panel. Opinions on which is more convenient or secure vary from person to person.
What is the LNMP One-Click Package?
There are online reports stating that the LNMP One-Click Package has been sold to another company, and there are rumors of official tampering. It is not recommended to continue using it. You can considerinstall Baota Panelormanually installing the LNMP environment.。
Risk Warning Regarding LNMP Supply Chain Tampering Incident (qq.com)
LNMP One-Click Installation Graphic Tutorial
LNMP One-Click Installation Steps:
SSH into your VPS,then copy and paste the following code string.
wget http://soft.vpser.net/lnmp/lnmp1.5.tar.gz -cO lnmp1.5.tar.gz && tar zxf lnmp1.5.tar.gz && cd lnmp1.5 && ./install.sh lnmp
The meaning of this command is to download the LNMP installation package, extract it, and then proceed with the installation.
If prompted 'wget: command not found', CentOS systems should use `yum install wget -y` or Debian/Ubuntu systems should use `apt-get install wget -y` to install wget.
After running the above command, the following interface will appear.

Here, you are asked to choose the version of MySQL or MariaDB to install. If your machine has 1GB of RAM or more, you can choose to install MySQL 5.6 by entering 3 and pressing Enter. If you have less than 1GB of RAM, installing the default 5.5 is fine (however, later on,WordPressMySQL 5.5 might not be supported, so it is recommended to purchase a machine with 1GB of RAM and directly install 5.6).
Next, the following image will appear, asking you to set a database password.

Set the MySQL root password (for security, pressing Enter without input will set it to lnmp.org#randomnumber). If you make a mistake and need to delete, you can hold Ctrl and press Backspace to delete (in some cases, only the Backspace key is needed). After entering, press Enter to proceed to the next step, as shown in the image below:


For the database's InnoDB engine, simply press Enter to install (typing y and pressing Enter yields the same result). Then the following image appears, asking you to choose the PHP version.
If you have a newly purchased server and plan to build a WordPress site, it is recommended to choose 7.2.6. If you are not using WordPress, please first confirm whether it supports PHP 7 or higher versions.

The above image asks whether you want to install Jemalloc or TCmalloc. Enter the corresponding number and press Enter, or simply press Enter to skip installation (default). Just press Enter.
Then wait. Depending on your machine's performance and network speed, this could take from 30 minutes to several hours.
When the following image appears, it means the installation was successful.

If you don't see the interface above and instead see red error messages, then the installation failed. Don't waste time troubleshooting; just go to your VPS management backend, reinstall the OS, and start over.
Post-Installation Steps After Installing LNMP
After LNMP is installed, the next steps are adding domain binding and creating a website.For the method, refer to the article below:

Comments are closed
The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.