English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

One-click Package for Configuring Web Site Environment in Linux VPS (LNMP)/LAMP/LNMPA)

If we are senior Linux users, we may not be interested in installing free Linux Web one-click packages or management panels online, and then compiling or setting up a free environment. However, for most users, Mai personally suggests choosing a more mature WEB one-click package or panel installation environment.

In a previous article "Common Free Linux VPS Management Panel/In the article "Introduction and Installation Method of One-click Package" and "Common Free Linux VPS Management Panel", Mai has sorted out the current mainstream visual panels and one-click package configuration environments. Compared to others, the more commonly used one-click package is Junge's LNMP, which has been1.3version, which is upgraded and updated every year. Personally, I think its stability and functionality are quite satisfactory for the needs of regular projects.
We can use the LNMP one-click package to install LNMP/LAMP/LNMPA combination environment. A combination of Nginx, Apache, MYSQL, PHP, and support for various components required.

First, the LNMP one-click installation package script

screen -S lnmp
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

We can replace lnmp with lnmpa or lamp as needed, which allows the installation of Apache or Nginx, or a combination of both. Generally, Nginx is used by default.
Second, LNMP One-click Installation Package Settings
1Enter MYSQL password

We need to set the MYSQL administrator password.
2Whether to install InnoDB

3Choose MYSQL database version

We can also choose to install MariaDB database.
4Whether to install memory optimization components

You can choose not to install, or install Jemalloc or TCMalloc
Finally, we press any key to automatically install.
Third, LNMP Installation Successful

Here, when we successfully install, we will prompt the above interface. If there are red markings or error prompts, it means that the installation was not successful, and the cause needs to be investigated.

Fourth, Common LNMP Script Usage

After the environment deployment, we need to add sites, databases, and build the website, which also uses scripts. There is no visual interface of the WEB panel, but it is also simple.

1Add site

lnmp vhost add

We set up the website domain, directory, pseudo-static rules, and whether to add a database according to the prompts.

2Delete site

lnmp vhost del

If you need to delete a site, you can see the list of all sites through this command, and then delete the corresponding one.

3Install memcached

./addons.sh install memcached

By default, memcached is not installed, so we need to install it separately. Generally, WORDPRESS needs to be installed to accelerate.

Statement: The content of this article is from the Internet, the copyright belongs to the original author. The content is contributed and uploaded by Internet users spontaneously. This website does not own the copyright, does not edit the content manually, and does not assume any relevant legal liability. If you find any content suspected of copyright infringement, please send an email to: notice#oldtoolbag.com (Please replace # with @ when sending an email to report abuse, and provide relevant evidence. Once verified, this site will immediately delete the suspected infringing content.)

You May Also Like