Focus on cloud service provider activities
Notes on website operation and maintenance

Linux VPS CentOS Installation LNMP System Environment Tutorial

Used by our people VPS The most likely installed system environment is LNMP Lao Zuo is also learning to install and use VPS recently. He has also seen that there are many system environments to choose from, including installation panel management. I don't choose to install the panel for the time being. For one thing, the panel has no technical content, and for another, I learn from difficulties. I feel very proud to use SSH directly to operate VPS. From multiple systems, I can't compare good and bad for the time being, lefty Each one is installed and tested once, and relevant information is recorded for comparison in the future.

Today comes first in CentOS Installation in LNMP For the system, the minimum system requirement is 128M memory. I believe your VPS should also have 256M memory at the minimum. The machine I tested is 512M memory, and the line machine in HE machine room.

First, log in to our VPS using SSH.

 Linux VPS CentOS Installation LNMP System Environment Tutorial

Step 2: download the LNMP one button installation package remotely;

wget - chttp://soft.vpser.net/lnmp/lnmp1.1-full.tar.gz

The latest official version 0.9 above.

Step 3: decompress after downloading;

tar zxf lnmp1.1-full.tar.gz

Step 4: After decompression, we enter the lnmp0.9 file directory;

cd lnmp1.1-full

Step 5: Since our system is CentOS, we will install it here/ centos.sh

We were asked to enter the main domain name. Laozuo suggested not to use our own domain name, but to enter a domain name at random or other test domain names that are not used very much. Because the root directory is usually not used to build a website. I just want to show you here as a demonstration, so enter my domain name.

Step 6: Enter our ROOT permission MYSQL password, which must be set and remembered. It is better to be more complex; The following page asks if we need to install the InnoDB database engine. Generally, we do not install it. We will press Enter. If we need to install the InnoDB database engine, we will press Y.

Finally, we are prompted to press any key to start the installation of LNMP. The installation time for different VPS performance varies.

Through the above seven steps, we can easily install the CentOS based LNMP environment in our Linux VPS. Lao Zuo shared today's installation tutorial here. Although there are similar tutorials on the Internet, he did not install them himself after all, which must be proved by practice.

Now the installation is still going on. I will continue to wait for the installation to be completed. I will share the following article about how to add a domain name to establish a website and database management. This is the end of the article.

If we need to install LNMP in the DEBIAN or Ubuntu environment, we need to refer to the following script:

Execute: wget - c in Debian system http://soft.vpser.net/lnmp/lnmp1.1-full.tar.gz && tar zxf lnmp1.1-full.tar.gz && cd lnmp1.1-full && ./ debian.sh

Execute: wget - c under Ubuntu system http://soft.vpser.net/lnmp/lnmp1.1-full.tar.gz && tar zxf lnmp1.1-full.tar.gz && cd lnmp1.1-full && ./ ubuntu.sh

Domain name host preferential information push QQ group: six hundred and twenty-seven million seven hundred and seventy-five thousand four hundred and seventy-seven Get preferential promotion from merchants.
Like( zero )
Do not reprint without permission: Lao Zuo's Notes » Linux VPS CentOS Installation LNMP System Environment Tutorial


Scan the code to follow the official account

Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge