博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Varnish 安装配置
阅读量:7009 次
发布时间:2019-06-28

本文共 1331 字,大约阅读时间需要 4 分钟。

hot3.png

初次安装

如果在纯净的centos7上安装

yum install epel-releaseyum install varnish

centos6安装过升级到7

yum update jemalloc
 

或者重新来过

rpm --nodeps -e jemallocyum install jemalloc

已经安装过varnish4的,泄了。

rpm --nodeps -e $(rpm -qf /etc/yum.repos.d/varnish*.repo)
yum install varnish

Installation on RedHat

Installing Varnish Cache is as simple as enabling our package repository and installing the packages. Varnish Cache 4.0 is supported on EL6 and EL7, and Varnish Cache 3.0 is supported on EL5 and EL6.

Varnish 4.0:

If you are on RHEL 6 or a compatible distribution, use:

  1. rpm --nosignature -i 

  2. yum install varnish

For RHEL 7 and compatible distributions, use:

  1. rpm --nosignature -i 

  2. yum install varnish

Varnish 3.0:

If you are on RHEL 5 or a compatible distribution, use:

  1. rpm --nosignature -i 

  2. yum install varnish

For RHEL 6 and compatible distributions, use:

  1. rpm --nosignature -i 

  2. yum install varnish

The --no-signature is only needed on initial installation, since the Varnish GPG key is not yet in the yum keyring.

Varnish is also distributed in the EPEL (Extra Packages for Enterprise Linux) package repositories. However, while EPEL allows new versions to be distributed, it does not allow for backwards-incompatible changes. Therefore, new major versions will not hit EPEL and it is not necessarily up to date.

转载于:https://my.oschina.net/smartsales/blog/511461

你可能感兴趣的文章
OpenJudge/Poj 1163 The Triangle
查看>>
POJ 3130 半平面交+模版改进
查看>>
Python基础二
查看>>
AndroidStudio -- AndroidStuido中找不到cache.properties文件
查看>>
nginx 无法访问root权限的文件内容
查看>>
进程和线程有什么区别?
查看>>
关于text-align无法居中的问题
查看>>
Here We Go(relians) Again
查看>>
Signal函数
查看>>
[Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
查看>>
chrono
查看>>
hdu2586 lca模板(在线路径倍增)
查看>>
AscII表
查看>>
BASE64图片转字符串
查看>>
springboot-国际化
查看>>
C11中替代gets()的函数
查看>>
[转]水晶报表自动补空行及格线(无分组版)
查看>>
PHP里用户密码的回复和管理
查看>>
jqprint导入jqgrid表格时,内容溢出的原因以及解决方法
查看>>
IOS self.使用
查看>>