Varnish Proxy Server notes

Source: Internet
Author: User
Tags varnish

Varnish Proxy Server notes

Varnish is an open source proxy server software. The difference between Squid and Squid is that data is cached in memory. It is fast and not easy to crash. However, after the crash, all data disappears, causing all requests to be sent to the backend server, which is a disadvantage of Squid.

Installing varnish requires support from the pcre Library. There are two ways to add your own Library:

1: Use the ldconfig tool to write the path of the library file to the/etc/ld. so. conf file, and then use the ldconfig tool to load the file.

The library loading path is implemented through a cache file ld. so. cache, And the ldconfig tool reads the content of the ld. so. conf file and integrates it into the saved files. Therefore, it is not enough to add it to the ld. so. conf file.

2: load data using the pkg-config tool. After installing the software package, there is usually a lib/pkg-config/* under the installation directory /*. pc file, copy the file to the/usr/lib/pkg-config/folder ,*. the pc file contains the path of the user library.

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: 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.