Varnish 基础概览1

2022-06-30 00:09:38 浏览数 (3)

安装 varnish

代码语言:javascript复制
[root@h101 varnish]# yum -y install  varnish 
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Repository base is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * epel: mirror01.idc.hinet.net
 * extras: centos.ustc.edu.cn
 * updates: centos.ustc.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package varnish.x86_64 0:4.0.3-1.el6 will be installed
--> Processing Dependency: varnish-libs = 4.0.3-1.el6 for package: varnish-4.0.3-1.el6.x86_64
--> Processing Dependency: libvarnishapi.so.1(LIBVARNISHAPI_1.1)(64bit) for package: varnish-4.0.3-1.el6.x86_64
--> Processing Dependency: jemalloc for package: varnish-4.0.3-1.el6.x86_64
--> Processing Dependency: libvarnishapi.so.1(LIBVARNISHAPI_1.3)(64bit) for package: varnish-4.0.3-1.el6.x86_64
--> Processing Dependency: libvarnishapi.so.1(LIBVARNISHAPI_1.2)(64bit) for package: varnish-4.0.3-1.el6.x86_64
--> Processing Dependency: gcc for package: varnish-4.0.3-1.el6.x86_64
--> Processing Dependency: libvarnishapi.so.1(LIBVARNISHAPI_1.0)(64bit) for package: varnish-4.0.3-1.el6.x86_64
--> Processing Dependency: libjemalloc.so.1()(64bit) for package: varnish-4.0.3-1.el6.x86_64
--> Processing Dependency: libvgz.so()(64bit) for package: varnish-4.0.3-1.el6.x86_64
--> Processing Dependency: libvarnish.so()(64bit) for package: varnish-4.0.3-1.el6.x86_64
--> Processing Dependency: libvarnishcompat.so()(64bit) for package: varnish-4.0.3-1.el6.x86_64
--> Processing Dependency: libvarnishapi.so.1()(64bit) for package: varnish-4.0.3-1.el6.x86_64
--> Processing Dependency: libvcc.so()(64bit) for package: varnish-4.0.3-1.el6.x86_64
--> Running transaction check
---> Package gcc.x86_64 0:4.4.7-11.el6 will be installed
--> Processing Dependency: cpp = 4.4.7-11.el6 for package: gcc-4.4.7-11.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-11.el6.x86_64
---> Package jemalloc.x86_64 0:3.6.0-1.el6 will be installed
---> Package varnish-libs.x86_64 0:4.0.3-1.el6 will be installed
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.7-11.el6 will be installed
--> Processing Dependency: libmpfr.so.1()(64bit) for package: cpp-4.4.7-11.el6.x86_64
--> Running transaction check
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                          Arch                       Version                            Repository                       Size
======================================================================================================================================
Installing:
 varnish                          x86_64                     4.0.3-1.el6                        varnish-4.0                     371 k
Installing for dependencies:
 cloog-ppl                        x86_64                     0.15.7-1.2.el6                     base                             93 k
 cpp                              x86_64                     4.4.7-11.el6                       base                            3.7 M
 gcc                              x86_64                     4.4.7-11.el6                       base                             10 M
 jemalloc                         x86_64                     3.6.0-1.el6                        epel                            100 k
 mpfr                             x86_64                     2.4.1-6.el6                        base                            157 k
 ppl                              x86_64                     0.10.2-11.el6                      base                            1.3 M
 varnish-libs                     x86_64                     4.0.3-1.el6                        varnish-4.0                     184 k

Transaction Summary
======================================================================================================================================
Install       8 Package(s)

Total download size: 16 M
Installed size: 35 M
Downloading Packages:
(1/8): jemalloc-3.6.0-1.el6.x86_64.rpm                                                                         | 100 kB     00:00     
(2/8): varnish-4.0.3-1.el6.x86_64.rpm                                                                          | 371 kB     00:14     
(3/8): varnish-libs-4.0.3-1.el6.x86_64.rpm                                                                     | 184 kB     00:14     
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                 469 kB/s |  16 MB     00:34     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : ppl-0.10.2-11.el6.x86_64                                                                                           1/8 
  Installing : cloog-ppl-0.15.7-1.2.el6.x86_64                                                                                    2/8 
  Installing : jemalloc-3.6.0-1.el6.x86_64                                                                                        3/8 
  Installing : mpfr-2.4.1-6.el6.x86_64                                                                                            4/8 
  Installing : cpp-4.4.7-11.el6.x86_64                                                                                            5/8 
  Installing : gcc-4.4.7-11.el6.x86_64                                                                                            6/8 
  Installing : varnish-libs-4.0.3-1.el6.x86_64                                                                                    7/8 
  Installing : varnish-4.0.3-1.el6.x86_64                                                                                         8/8 
  Verifying  : varnish-libs-4.0.3-1.el6.x86_64                                                                                    1/8 
  Verifying  : gcc-4.4.7-11.el6.x86_64                                                                                            2/8 
  Verifying  : varnish-4.0.3-1.el6.x86_64                                                                                         3/8 
  Verifying  : mpfr-2.4.1-6.el6.x86_64                                                                                            4/8 
  Verifying  : jemalloc-3.6.0-1.el6.x86_64                                                                                        5/8 
  Verifying  : cpp-4.4.7-11.el6.x86_64                                                                                            6/8 
  Verifying  : ppl-0.10.2-11.el6.x86_64                                                                                           7/8 
  Verifying  : cloog-ppl-0.15.7-1.2.el6.x86_64                                                                                    8/8 

Installed:
  varnish.x86_64 0:4.0.3-1.el6                                                                                                        

Dependency Installed:
  cloog-ppl.x86_64 0:0.15.7-1.2.el6   cpp.x86_64 0:4.4.7-11.el6    gcc.x86_64 0:4.4.7-11.el6           jemalloc.x86_64 0:3.6.0-1.el6  
  mpfr.x86_64 0:2.4.1-6.el6           ppl.x86_64 0:0.10.2-11.el6   varnish-libs.x86_64 0:4.0.3-1.el6  

Complete!
[root@h101 varnish]# 

1 人点赞