On the architecture of Web server: LAMP lnmp and LLMP

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

With many VPS vendors like Directspace, BUYVM, Yardvps released cheap VPSs, especially the PIPNI launched a free VPS, many webmaster eyes began to notice the VPS. Although these VPS performance is a matter of opinion, but after all, VPS use more freedom than virtual space to a lot of, in particular, independent IPv4 prices are not expensive, so the crowd to the VPS also more and more. But the greater the autonomy also means that the more time to spend, the new purchase of the VPS using SSH connection after a test and toss, as a Web server must also be configured. This article will briefly introduce the collocation of several Linux Web servers, and evaluate the characteristics of various servers under different operating conditions.

Cheap VPS will invariably provide Linux systems, and also provide a variety of Linux reinstall on the control Panel, rather than classic Redhat, Debian, Centos, Fedora, and Ubuntu. Choose what system, or different, many play Linux server veteran will recommend CentOS, because relatively compared to start simple, especially in the domestic Chinese textbooks are more, individuals like Debian,debian occupy less resources, stability is also good, unfortunately the domestic relevant tutorials are not many. As for the Ubuntu originating from Debian, although more convenient to use than Debian, but there are many problems, desktop version of the system is quite comfortable to use, is the use of server systems, individuals do not favor Ubuntu. Theoretically 64-bit system is faster than the 32-bit, but under the limited hardware conditions of the Low-cost VPS, in fact, the difference is very small.

Linux under the construction of the server in the current network use, basically can be based on the following: Apache, Nginx, lighttpd. According to Netcraft in the latest statistics (pictured below)

Apache is no doubt accounted for more than half of the share, compared to the number of Apache use, Nginx and lighttpd are slowly rising occupancy.

This article divides the current Linux Web server into: LAMP, LNMP and LLMP three kinds of architecture.

Lamp (Linux + Apache + MySQL + PHP) lamp from 1998, Michael Kunze for the German computer magazine C ' t writing an article on how free software becomes a commercial software substitute, used to refer to the Linux operating system, A combination of Apache Web servers, MySQL databases, and PHP (perl or Python) scripting languages (consisting of the beginning letters of four technologies). The term was quickly accepted by the market and became a real beacon for the Open-source software industry, and remains the cornerstone of most corporate web sites.

The second-tier Apache, the world's first-ranked Web server software, is one of the most popular Web server-side software because it is widely used across platforms and security. has many years of development history, the expansion of Apache rich, stability is very good, but also there are large size, slow speed shortcomings.

LNMP (Linux + Nginx + MySQL + PHP)

LNMP is gradually developed in recent years, the framework of development is very rapid, the server with its lightweight and fast and get many owners of the favor.

The Nginx is a small and efficient Linux under the High-performance Web and reverse proxy Server software, is by Igor Sysoev for the Russian traffic second rambler.ru site developed, 2.5 uptime, fairly stable. Nginx is characterized by its stable, rich function, simple installation configuration and low system resources.

LLMP (Linux + Lighttpd + MySQL + PHP)

Relatively speaking LLMP frame use crowd without lamp and llmp many people, but LLMP with its high-speed lightweight or win a lot of webmaster's favorite.

The Litespeed is a commercial software, but the free version of the Litespeed function is also very powerful, especially the ability to handle static files is very good. But Litespeed software is not open source, relying on a team of closed development, this is relatively poor.

Comparison Summary:

Lamp, LNMP, llmp these three kinds of architectures for the current network, lamp is undoubtedly the winner, basically occupy more than half of the market.

But in the face of server hardware resources, server load requirements are very high, LNMP is a good choice, especially personal blog or small Web site, LNMP configuration is relatively simple, can meet the requirements. Or in the pursuit of High-performance servers, Nginx server is really worth considering, as for the LLMP framework of the server, looking at the network, now the service is not good support, like toss and learn words can choose.

Attached: Now there is also a lnamp architecture on the network, that is, the advantages of Nginx and Apache, the use of Apache load Php,nginx is responsible for parsing other Web requests, using the Nginx rewrite module, but the Apache port is not open, Many of Apache's modules can not be loaded to reduce resources. This method is good, but the configuration is more troublesome. Although a single key installation package has occurred, it is only intended for CentOS systems.

Personal view small VPS used to build blog station or recommend the use of LNMP (Debian + Nginx + Mysql + Php)

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.