LEMP (Linux/Nginx/MySQL/PHP) one-key package installation

Source: Internet
Author: User
Tags ftp file sftp site

LEMP (Linux/Nginx/MySQL/PHP) one-key package installation

We build a website on the VPS host, whether it is using a one-click installation package, manual compilation, or even WEB panel, most of them adopt the APACHE or NGINX mechanism, NGINX we are familiar with the LNMP one-key installation package of June.

Recently, I have noticed an overseas NGINX script on the left, which is simple and resource-saving for website construction and other conveniences. NGINX is often called Engine X = E in foreign countries, therefore, Linux/Nginx/MySQL/PHP environments are often called LEMP. Therefore, this script is also called LEMP on the left side, so it is not confused with the famous LNMP, second, if LEMP can be continuously improved, it can still have its own name number.

1. LEMP one-click package installation environment

Currently supports CENTOS 5 and CENTOS 6 32-bit and 64-bit

Second, LEMP one-click package installation steps

Wgethttp: // soft.laozuo.org/lemp/centos-5-6-lemp.shshcentos-5-6-lemp.sh

Log on to the ROOT account of the VPS host, and execute the above SSH script. It may take about 1 minute to complete the installation.

If you see the above interface, it indicates that the operation is successful.

MySql root password represents the MYSQL Database ROOT User password SFTP UsernameSFTP login username SFTP PasswordSFTP User password Website document root is/www/Website storage path phpMyAdmin database path address third, LEMP using SFTP site creation method

In this installation article, the old left first briefly introduces the basic application process. After successful installation, we can use an IP address to access the root directory to view the probe information. If you need to create a site, you can create a domain name folder under the www/directory, for example, you need to build the laozuo.org site in the environment, then we only need to create the laozuo.org folder under the www directory. Then we resolve the domain name to the IP address of the VPS, and the newly created folder can be directly parsed by storing the website program file.

PS: I prefer WINSCP for SFTP software. If you have other different requirements, refer to "3 Linux VPS host FTP file management software ".

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.