Lighttpd should be used long ago

Source: Internet
Author: User
We should have used lighttpd-the Linux Release Technology-Debian information for a long time. The following is a detailed description. Convenient configuration, fast speed, and memory saving.

On debian, php and mysql are directly installed with apt, while others are installed with source code.

Source code installation is not complex, but it requires apt to install many dev class libraries. In addition, the debian user is www-data, and the automatic startup scripts are different. It is best to use apt to install lighttpd once and then delete it. This leaves the startup script, which is easy to change.

RMagick can be installed through gem. However, the ImageMagick version 6.3 or later is required, and the default debian version is 6.2. Therefore, you must compile the source code for installation.

Some directories need to be created, and the permission should be changed to www-data. Some logs need to be changed to www-data, so it will be safer without root.

For more information, see lighttpd:
Server. event-handler = "linux-sysepoll"
Server. network-backend = "linux-sendfile"
Server. max-request-size = 10240
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.