Centos6下安装Varnish和安装Nginx类似,我选择RPM安装方式,这里官方给出了先安装repo源,再使用yum安装的方式,这里可以完全参照官方的安装方法。PS:为何我朝不能完美安装?
1、安装repo源
复制代码 代码如下:
rpm --nosignature -i <a href="https://repo.varnish-cache.org/redhat/varnish-4.0.el6.rpm">https://repo.varnish-cache.org/redhat/varnish-4.0.el6.rpm</a>
2、更新yum源
复制代码 代码如下:相关影片资源迅雷下载推荐
CentOS下使用yum安装xen 4.2.2教程
#yum clean all
#yum list all
3、安装varnish
复制代码 代码如下:
yum install varnish
4、网络timeout解决办法
PS:为何我朝不能完美安装?没办法,爬出去下载手动安装吧。
# yum install jemalloc -y
# rpm -ivh varnish-libs-4.0.3-1.el6.x86_64.rpm
# rpm -ivh varnish-4.0.3-1.el6.x86_64.rpm
相关影片资源迅雷下载推荐
CentOS yum添加EPEL源方法
版权声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。