varnish安裝配置

2021-06-12 22:15:14 字數 1887 閱讀 4086

1.安裝需要用到的包,歷史教訓告訴我一定要裝穩定版本,要不有些東西不能用

automake

autoconf

libtool

ncurses-devel

libxslt

groff

pcre-devel

pkgconfig

yum -y install automake autoconf libtool  ncurses-devel libxslt groff pcre-devel pkgconfig

2.安裝varnish

cd varnish-cache

sh autogen.sh

sh configure

make

make install

3.配置檔案

varnish3 0的安裝配置

1 varnish的安裝 rpm nosignature i 其中 nosignature 想要略過數字證書的檢查時,可以使用這個引數。i install的意思。rpm uvh 其中 uvh 後面接的軟體如果沒有安裝過,則系統將予以直接安裝 若後面的軟體有安裝過且是舊版本的,則系統自動更新到新版。y...

varnish相關配置 varnish

backend web1 配置乙個backendhost 可以是網域名稱也可以是ip主要是回源取資料 new sm web1 saintmode.saintmode web1,60 new web1 rr directors.round robin web1 rr.add backend sm we...

varnish的安裝與簡單配置

yum install varnish libs 3.0 5 1.el6.x86 64.rpm varnish 3.0 5 1.el6.x86 64.rpm y vim etc varnish default.vcl 配置乙個後端伺服器 backend web1 檢視快取命中情況 sub vcl d...