Want to subscribe to topics you're interested in?
Become a Member

Varnish Cache 5.1 install

Discussion in 'Other Centmin Mod Installed software' started by ahmed, Mar 30, 2017.

  1. ahmed

    ahmed Member

    201
    15
    18
    Feb 21, 2017
    Ratings:
    +21
    Local Time:
    11:14 PM
  2. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,750
    Local Time:
    7:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    haven't tried myself but official rpm install guide on rpm tab is at varnishcache/varnish5 - Installation | packagecloud
    Code (Text):
    curl -s https://packagecloud.io/install/repositories/varnishcache/varnish5/script.rpm.sh | bash

    that installs the varnish 5 yum repo, then just install the varnish cache yum package

    The varnish cache 5 yum repo file at /etc/yum.repos.d/varnishcache_varnish5.repo
    Code (Text):
    [varnishcache_varnish5]
    name=varnishcache_varnish5
    baseurl=https://packagecloud.io/varnishcache/varnish5/el/7/$basearch
    repo_gpgcheck=1
    gpgcheck=0
    enabled=1
    gpgkey=https://packagecloud.io/varnishcache/varnish5/gpgkey
    sslverify=1
    sslcacert=/etc/pki/tls/certs/ca-bundle.crt
    metadata_expire=300
    
    [varnishcache_varnish5-source]
    name=varnishcache_varnish5-source
    baseurl=https://packagecloud.io/varnishcache/varnish5/el/7/SRPMS
    repo_gpgcheck=1
    gpgcheck=0
    enabled=1
    gpgkey=https://packagecloud.io/varnishcache/varnish5/gpgkey
    sslverify=1
    sslcacert=/etc/pki/tls/certs/ca-bundle.crt
    metadata_expire=300
    


    need to enable the repo and disable yum priorities as varnish-4.1 yum repo has higher priority than varnish 5 yum repo

    list
    Code (Text):
    yum list varnish --disableplugin=priorities
    

    Code (Text):
    yum list varnish --disableplugin=priorities
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: repo1.ash.innoscale.net
     * epel: mirror.cogentco.com
     * extras: repo1.ash.innoscale.net
     * updates: repo1.ash.innoscale.net
    Available Packages
    varnish.x86_64                                                                                                      5.1.1-1.el7                                                                                                      varnishcache_varnish5


    install
    Code (Text):
    yum install varnish --disableplugin=priorities
    

    Code (Text):
     yum install varnish --disableplugin=priorities  
    Loaded plugins: fastestmirror
    varnishcache_varnish5/x86_64/signature                                                                                                                                                                                             |  836 B  00:00:00  
    varnishcache_varnish5/x86_64/signature                                                                                                                                                                                             | 1.0 kB  00:00:00 !!!
    varnishcache_varnish5-source/signature                                                                                                                                                                                             |  836 B  00:00:00  
    varnishcache_varnish5-source/signature                                                                                                                                                                                             | 1.0 kB  00:00:00 !!!
    Loading mirror speeds from cached hostfile
     * base: repo1.ash.innoscale.net
     * epel: mirror.cogentco.com
     * extras: repo1.ash.innoscale.net
     * updates: repo1.ash.innoscale.net
    Resolving Dependencies
    --> Running transaction check
    ---> Package varnish.x86_64 0:5.1.1-1.el7 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ==========================================================================================================================================================================================================================================================
     Package                                                 Arch                                                   Version                                                       Repository                                                             Size
    ==========================================================================================================================================================================================================================================================
    Installing:
     varnish                                                 x86_64                                                 5.1.1-1.el7                                                   varnishcache_varnish5                                                 2.5 M
    
    Transaction Summary
    ==========================================================================================================================================================================================================================================================
    Install  1 Package
    
    Total download size: 2.5 M
    Installed size: 9.1 M
    Is this ok [y/d/N]: y
    Downloading packages:
    varnish-5.1.1-1.el7.x86_64.rpm                                                                                                                                                                                                     | 2.5 MB  00:00:01  
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
    Warning: RPMDB altered outside of yum.
      Installing : varnish-5.1.1-1.el7.x86_64                                                                                                                                                                                                             1/1
      Verifying  : varnish-5.1.1-1.el7.x86_64                                                                                                                                                                                                             1/1
    
    Installed:
      varnish.x86_64 0:5.1.1-1.el7                                                                                                                                                                                                                          
    Complete!
    

    varnish cache 5.1.1-1 installed files
    Code (Text):
    rpm -ql varnish
    /etc/ld.so.conf.d/varnish-x86_64.conf
    /etc/logrotate.d/varnish
    /etc/varnish
    /etc/varnish/default.vcl
    /etc/varnish/varnish.params
    /usr/bin/varnishadm
    /usr/bin/varnishhist
    /usr/bin/varnishlog
    /usr/bin/varnishncsa
    /usr/bin/varnishstat
    /usr/bin/varnishtest
    /usr/bin/varnishtop
    /usr/lib/systemd/system/varnish.service
    /usr/lib/systemd/system/varnishncsa.service
    /usr/lib64/libvarnishapi.so.1
    /usr/lib64/libvarnishapi.so.1.0.6
    /usr/lib64/varnish
    /usr/lib64/varnish/vmods
    /usr/lib64/varnish/vmods/libvmod_directors.so
    /usr/lib64/varnish/vmods/libvmod_std.so
    /usr/sbin/varnish_reload_vcl
    /usr/sbin/varnishd
    /usr/share/doc/varnish
    /usr/share/doc/varnish-5.1.1
    /usr/share/doc/varnish-5.1.1/LICENSE
    /usr/share/doc/varnish-5.1.1/changes.html
    /usr/share/doc/varnish-5.1.1/html
    /usr/share/doc/varnish-5.1.1/html/_images
    /usr/share/doc/varnish-5.1.1/html/_images/bjarne.jpeg
    /usr/share/doc/varnish-5.1.1/html/_images/brinch_hansens_arrows_1.svg
    /usr/share/doc/varnish-5.1.1/html/_images/cache_fetch.svg
    /usr/share/doc/varnish-5.1.1/html/_images/cache_req_fsm.svg
    /usr/share/doc/varnish-5.1.1/html/_static
    /usr/share/doc/varnish-5.1.1/html/_static/ajax-loader.gif
    /usr/share/doc/varnish-5.1.1/html/_static/basic.css
    /usr/share/doc/varnish-5.1.1/html/_static/comment-bright.png
    /usr/share/doc/varnish-5.1.1/html/_static/comment-close.png
    /usr/share/doc/varnish-5.1.1/html/_static/comment.png
    /usr/share/doc/varnish-5.1.1/html/_static/default.css
    /usr/share/doc/varnish-5.1.1/html/_static/doctools.js
    /usr/share/doc/varnish-5.1.1/html/_static/down-pressed.png
    /usr/share/doc/varnish-5.1.1/html/_static/down.png
    /usr/share/doc/varnish-5.1.1/html/_static/file.png
    /usr/share/doc/varnish-5.1.1/html/_static/jquery.js
    /usr/share/doc/varnish-5.1.1/html/_static/minus.png
    /usr/share/doc/varnish-5.1.1/html/_static/plus.png
    /usr/share/doc/varnish-5.1.1/html/_static/pygments.css
    /usr/share/doc/varnish-5.1.1/html/_static/searchtools.js
    /usr/share/doc/varnish-5.1.1/html/_static/sidebar.js
    /usr/share/doc/varnish-5.1.1/html/_static/underscore.js
    /usr/share/doc/varnish-5.1.1/html/_static/up-pressed.png
    /usr/share/doc/varnish-5.1.1/html/_static/up.png
    /usr/share/doc/varnish-5.1.1/html/_static/websupport.js
    /usr/share/doc/varnish-5.1.1/html/dev-guide
    /usr/share/doc/varnish-5.1.1/html/dev-guide/index.html
    /usr/share/doc/varnish-5.1.1/html/genindex.html
    /usr/share/doc/varnish-5.1.1/html/glossary
    /usr/share/doc/varnish-5.1.1/html/glossary/index.html
    /usr/share/doc/varnish-5.1.1/html/index.html
    /usr/share/doc/varnish-5.1.1/html/installation
    /usr/share/doc/varnish-5.1.1/html/installation/bugs.html
    /usr/share/doc/varnish-5.1.1/html/installation/help.html
    /usr/share/doc/varnish-5.1.1/html/installation/index.html
    /usr/share/doc/varnish-5.1.1/html/installation/install.html
    /usr/share/doc/varnish-5.1.1/html/installation/platformnotes.html
    /usr/share/doc/varnish-5.1.1/html/installation/prerequisites.html
    /usr/share/doc/varnish-5.1.1/html/phk
    /usr/share/doc/varnish-5.1.1/html/phk/10goingon50.html
    /usr/share/doc/varnish-5.1.1/html/phk/autocrap.html
    /usr/share/doc/varnish-5.1.1/html/phk/backends.html
    /usr/share/doc/varnish-5.1.1/html/phk/barriers.html
    /usr/share/doc/varnish-5.1.1/html/phk/brinch-hansens-arrows.html
    /usr/share/doc/varnish-5.1.1/html/phk/dough.html
    /usr/share/doc/varnish-5.1.1/html/phk/farfaraway.html
    /usr/share/doc/varnish-5.1.1/html/phk/firstdesign.html
    /usr/share/doc/varnish-5.1.1/html/phk/gzip.html
    /usr/share/doc/varnish-5.1.1/html/phk/http20.html
    /usr/share/doc/varnish-5.1.1/html/phk/index.html
    /usr/share/doc/varnish-5.1.1/html/phk/ipv6suckage.html
    /usr/share/doc/varnish-5.1.1/html/phk/notes.html
    /usr/share/doc/varnish-5.1.1/html/phk/persistent.html
    /usr/share/doc/varnish-5.1.1/html/phk/platforms.html
    /usr/share/doc/varnish-5.1.1/html/phk/spdy.html
    /usr/share/doc/varnish-5.1.1/html/phk/sphinx.html
    /usr/share/doc/varnish-5.1.1/html/phk/ssl.html
    /usr/share/doc/varnish-5.1.1/html/phk/ssl_again.html
    /usr/share/doc/varnish-5.1.1/html/phk/thatslow.html
    /usr/share/doc/varnish-5.1.1/html/phk/thetoolsweworkwith.html
    /usr/share/doc/varnish-5.1.1/html/phk/thoughts.html
    /usr/share/doc/varnish-5.1.1/html/phk/three-zero.html
    /usr/share/doc/varnish-5.1.1/html/phk/trialerror.html
    /usr/share/doc/varnish-5.1.1/html/phk/varnish_does_not_hash.html
    /usr/share/doc/varnish-5.1.1/html/phk/vcl_expr.html
    /usr/share/doc/varnish-5.1.1/html/phk/wanton_destruction.html
    /usr/share/doc/varnish-5.1.1/html/reference
    /usr/share/doc/varnish-5.1.1/html/reference/directors.html
    /usr/share/doc/varnish-5.1.1/html/reference/index.html
    /usr/share/doc/varnish-5.1.1/html/reference/states.html
    /usr/share/doc/varnish-5.1.1/html/reference/varnish-cli.html
    /usr/share/doc/varnish-5.1.1/html/reference/varnish-counters.html
    /usr/share/doc/varnish-5.1.1/html/reference/varnishadm.html
    /usr/share/doc/varnish-5.1.1/html/reference/varnishd.html
    /usr/share/doc/varnish-5.1.1/html/reference/varnishhist.html
    /usr/share/doc/varnish-5.1.1/html/reference/varnishlog.html
    /usr/share/doc/varnish-5.1.1/html/reference/varnishncsa.html
    /usr/share/doc/varnish-5.1.1/html/reference/varnishstat.html
    /usr/share/doc/varnish-5.1.1/html/reference/varnishtest.html
    /usr/share/doc/varnish-5.1.1/html/reference/varnishtop.html
    /usr/share/doc/varnish-5.1.1/html/reference/vcl.html
    /usr/share/doc/varnish-5.1.1/html/reference/vmod.html
    /usr/share/doc/varnish-5.1.1/html/reference/vmod_directors.generated.html
    /usr/share/doc/varnish-5.1.1/html/reference/vmod_std.generated.html
    /usr/share/doc/varnish-5.1.1/html/reference/vsl-query.html
    /usr/share/doc/varnish-5.1.1/html/reference/vsl.html
    /usr/share/doc/varnish-5.1.1/html/reference/vsm.html
    /usr/share/doc/varnish-5.1.1/html/reference/vtc.html
    /usr/share/doc/varnish-5.1.1/html/search.html
    /usr/share/doc/varnish-5.1.1/html/searchindex.js
    /usr/share/doc/varnish-5.1.1/html/tutorial
    /usr/share/doc/varnish-5.1.1/html/tutorial/backend_servers.html
    /usr/share/doc/varnish-5.1.1/html/tutorial/index.html
    /usr/share/doc/varnish-5.1.1/html/tutorial/introduction.html
    /usr/share/doc/varnish-5.1.1/html/tutorial/now_what.html
    /usr/share/doc/varnish-5.1.1/html/tutorial/peculiarities.html
    /usr/share/doc/varnish-5.1.1/html/tutorial/putting_varnish_on_port_80.html
    /usr/share/doc/varnish-5.1.1/html/tutorial/starting_varnish.html
    /usr/share/doc/varnish-5.1.1/html/users-guide
    /usr/share/doc/varnish-5.1.1/html/users-guide/command-line.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/compression.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/devicedetection.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/esi.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/increasing-your-hitrate.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/index.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/intro.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/operation-logging.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/operation-statistics.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/params.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/performance.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/purging.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/report.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/run_cli.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/run_security.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/running.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/sizing-your-cache.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/storage-backends.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/troubleshooting.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/vcl-actions.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/vcl-backends.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/vcl-built-in-subs.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/vcl-example-acls.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/vcl-example-manipulating-headers.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/vcl-example-manipulating-responses.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/vcl-example-websockets.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/vcl-examples.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/vcl-grace.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/vcl-hashing.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/vcl-inline-c.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/vcl-separate.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/vcl-syntax.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/vcl-variables.html
    /usr/share/doc/varnish-5.1.1/html/users-guide/vcl.html
    /usr/share/doc/varnish-5.1.1/html/whats-new
    /usr/share/doc/varnish-5.1.1/html/whats-new/changes-4.1.html
    /usr/share/doc/varnish-5.1.1/html/whats-new/changes-5.0.html
    /usr/share/doc/varnish-5.1.1/html/whats-new/changes-5.1.html
    /usr/share/doc/varnish-5.1.1/html/whats-new/index.html
    /usr/share/doc/varnish-5.1.1/html/whats-new/relnote-5.0.html
    /usr/share/doc/varnish-5.1.1/html/whats-new/upgrading-4.0.html
    /usr/share/doc/varnish-5.1.1/html/whats-new/upgrading-4.1.html
    /usr/share/doc/varnish-5.1.1/html/whats-new/upgrading-5.0.html
    /usr/share/doc/varnish-5.1.1/html/whats-new/upgrading-5.1.html
    /usr/share/doc/varnish/builtin.vcl
    /usr/share/doc/varnish/example.vcl
    /usr/share/man/man1/varnishadm.1.gz
    /usr/share/man/man1/varnishd.1.gz
    /usr/share/man/man1/varnishhist.1.gz
    /usr/share/man/man1/varnishlog.1.gz
    /usr/share/man/man1/varnishncsa.1.gz
    /usr/share/man/man1/varnishstat.1.gz
    /usr/share/man/man1/varnishtest.1.gz
    /usr/share/man/man1/varnishtop.1.gz
    /usr/share/man/man3/vmod_directors.3.gz
    /usr/share/man/man3/vmod_std.3.gz
    /usr/share/man/man7/varnish-cli.7.gz
    /usr/share/man/man7/varnish-counters.7.gz
    /usr/share/man/man7/vcl.7.gz
    /usr/share/man/man7/vsl-query.7.gz
    /usr/share/man/man7/vsl.7.gz
    /usr/share/man/man7/vtc.7.gz
    /usr/share/varnish
    /usr/share/varnish/vcl
    /usr/share/varnish/vcl/devicedetect.vcl
    /var/lib/varnish
    /var/log/varnish
    



    configuring varnish cache is left to end user though so that's up to you
     
    Last edited: Mar 30, 2017
  3. ahmed

    ahmed Member

    201
    15
    18
    Feb 21, 2017
    Ratings:
    +21
    Local Time:
    11:14 PM
    thanks but
    the

    Code:
    yum install varnish5
    yum install varnishcache
    
    Is not working

    However,

    Code:
    yum install varnish
    
    it installs version 4.

    do I need to edit the sources?
     
  4. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,750
    Local Time:
    7:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    see updated instructions above and what yum priorities is at Third Party YUM Repos with Centmin Mod - CentminMod.com LEMP Nginx web stack for CentOS

    after varnish 5 yum repo installed you can use yum repolist all command to view all yum repo names for the --enablerepo='repo id' line which for varnish cache 5 setup repo is --enablerepo=varnishcache_varnish5
    Code (Text):
     yum repolist all
    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
     * base: repo1.ash.innoscale.net
     * epel: mirror.cogentco.com
     * extras: repo1.ash.innoscale.net
     * updates: repo1.ash.innoscale.net
    301 packages excluded due to repository priority protections
    repo id                                                                                       repo name                                                                                                                                status
    C7.0.1406-base/x86_64                                                                         CentOS-7.0.1406 - Base                                                                                                                   disabled
    C7.0.1406-centosplus/x86_64                                                                   CentOS-7.0.1406 - CentOSPlus                                                                                                             disabled
    C7.0.1406-extras/x86_64                                                                       CentOS-7.0.1406 - Extras                                                                                                                 disabled
    C7.0.1406-fasttrack/x86_64                                                                    CentOS-7.0.1406 - CentOSPlus                                                                                                             disabled
    C7.0.1406-updates/x86_64                                                                      CentOS-7.0.1406 - Updates                                                                                                                disabled
    C7.1.1503-base/x86_64                                                                         CentOS-7.1.1503 - Base                                                                                                                   disabled
    C7.1.1503-centosplus/x86_64                                                                   CentOS-7.1.1503 - CentOSPlus                                                                                                             disabled
    C7.1.1503-extras/x86_64                                                                       CentOS-7.1.1503 - Extras                                                                                                                 disabled
    C7.1.1503-fasttrack/x86_64                                                                    CentOS-7.1.1503 - CentOSPlus                                                                                                             disabled
    C7.1.1503-updates/x86_64                                                                      CentOS-7.1.1503 - Updates                                                                                                                disabled
    base/7/x86_64                                                                                 CentOS-7 - Base                                                                                                                          enabled:  7261+2102
    base-debuginfo/x86_64                                                                         CentOS-7 - Debuginfo                                                                                                                     disabled
    base-source/7                                                                                 CentOS-7 - Base Sources                                                                                                                  disabled
    c7-media                                                                                      CentOS-7 - Media                                                                                                                         disabled
    centosplus/7/x86_64                                                                           CentOS-7 - Plus                                                                                                                          disabled
    centosplus-source/7                                                                           CentOS-7 - Plus Sources                                                                                                                  disabled
    cr/7/x86_64                                                                                   CentOS-7 - cr                                                                                                                            disabled
    dnf-centos/x86_64                                                                             Copr repo for dnf-centos owned by @rpm-software-management                                                                               enabled:      12+35
    epel/x86_64                                                                                   Extra Packages for Enterprise Linux 7 - x86_64                                                                                           enabled: 10393+1043
    epel-debuginfo/x86_64                                                                         Extra Packages for Enterprise Linux 7 - x86_64 - Debug                                                                                   disabled
    epel-source/x86_64                                                                            Extra Packages for Enterprise Linux 7 - x86_64 - Source                                                                                  disabled
    epel-testing/x86_64                                                                           Extra Packages for Enterprise Linux 7 - Testing - x86_64                                                                                 disabled
    epel-testing-debuginfo/x86_64                                                                 Extra Packages for Enterprise Linux 7 - Testing - x86_64 - Debug                                                                         disabled
    epel-testing-source/x86_64                                                                    Extra Packages for Enterprise Linux 7 - Testing - x86_64 - Source                                                                        disabled
    extras/7/x86_64                                                                               CentOS-7 - Extras                                                                                                                        enabled:      309+2
    extras-source/7                                                                               CentOS-7 - Extras Sources                                                                                                                disabled
    fasttrack/7/x86_64                                                                            CentOS-7 - fasttrack                                                                                                                     disabled
    mariadb                                                                                       MariaDB                                                                                                                                  enabled:       13+2
    percona-experimental-noarch/7                                                                 Percona-Experimental YUM repository - noarch                                                                                             disabled
    percona-experimental-source/7                                                                 Percona-Experimental YUM repository - Source packages                                                                                    disabled
    percona-experimental-x86_64/7/x86_64                                                          Percona-Experimental YUM repository - x86_64                                                                                             disabled
    percona-release-noarch/7                                                                      Percona-Release YUM repository - noarch                                                                                                  disabled
    percona-release-source/7                                                                      Percona-Release YUM repository - Source packages                                                                                         disabled
    percona-release-x86_64/7/x86_64                                                               Percona-Release YUM repository - x86_64                                                                                                  disabled
    percona-testing-noarch/7                                                                      Percona-Testing YUM repository - noarch                                                                                                  disabled
    percona-testing-source/7                                                                      Percona-Testing YUM repository - Source packages                                                                                         disabled
    percona-testing-x86_64/7/x86_64                                                               Percona-Testing YUM repository - x86_64                                                                                                  disabled
    remi                                                                                          Remi's RPM repository for Enterprise Linux 7 - x86_64                                                                                    disabled
    remi-debuginfo/x86_64                                                                         Remi's RPM repository for Enterprise Linux 7 - x86_64 - debuginfo                                                                        disabled
    remi-php55                                                                                    Remi's PHP 5.5 RPM repository for Enterprise Linux 7 - x86_64                                                                            disabled
    remi-php55-debuginfo/x86_64                                                                   Remi's PHP 5.5 RPM repository for Enterprise Linux 7 - x86_64 - debuginfo                                                                disabled
    remi-php56                                                                                    Remi's PHP 5.6 RPM repository for Enterprise Linux 7 - x86_64                                                                            disabled
    remi-php56-debuginfo/x86_64                                                                   Remi's PHP 5.6 RPM repository for Enterprise Linux 7 - x86_64 - debuginfo                                                                disabled
    remi-php70                                                                                    Remi's PHP 7.0 RPM repository for Enterprise Linux 7 - x86_64                                                                            disabled
    remi-php70-debuginfo/x86_64                                                                   Remi's PHP 7.0 RPM repository for Enterprise Linux 7 - x86_64 - debuginfo                                                                disabled
    remi-php70-test                                                                               Remi's PHP 7.0 test RPM repository for Enterprise Linux 7 - x86_64                                                                       disabled
    remi-php70-test-debuginfo/x86_64                                                              Remi's PHP 7.0 test RPM repository for Enterprise Linux 7 - x86_64 - debuginfo                                                           disabled
    remi-safe                                                                                     Safe Remi's RPM repository for Enterprise Linux 7 - x86_64                                                                               disabled
    remi-test                                                                                     Remi's test RPM repository for Enterprise Linux 7 - x86_64                                                                               disabled
    remi-test-debuginfo/x86_64                                                                    Remi's test RPM repository for Enterprise Linux 7 - x86_64 - debuginfo                                                                   disabled
    rpmforge                                                                                      RHEL 7 - RPMforge.net - dag                                                                                                              disabled
    rpmforge-extras                                                                               RHEL 7 - RPMforge.net - extras                                                                                                           disabled
    rpmforge-testing                                                                              RHEL 7 - RPMforge.net - testing                                                                                                          disabled
    updates/7/x86_64                                                                              CentOS-7 - Updates                                                                                                                       enabled:    922+204
    updates-source/7                                                                              CentOS-7 - Updates Sources                                                                                                               disabled
    varnish-4.1/x86_64                                                                            Varnish Cache 4.1 for Enterprise Linux                                                                                                   enabled:         33
    varnishcache_varnish5/x86_64                                                                  varnishcache_varnish5                                                                                                                    enabled:        0+6
    varnishcache_varnish5-source                                                                  varnishcache_varnish5-source                                                                                                             enabled:          0
    
     
    • Winner Winner x 1
  5. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,750
    Local Time:
    7:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    if you install varnish cache 5, you can disable varnish cache 4 repo then in /etc/yum.repos.d/varnish-4.1.repo edit enable=0
    Code (Text):
    [varnish-4.1]
    name=Varnish Cache 4.1 for Enterprise Linux
    baseurl=https://repo.varnish-cache.org/redhat/varnish-4.1/el7/$basearch
    enabled=0
    gpgcheck=1
    priority=2
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-VARNISH
     
    • Winner Winner x 1
  6. ahmed

    ahmed Member

    201
    15
    18
    Feb 21, 2017
    Ratings:
    +21
    Local Time:
    11:14 PM
    thanks a lot for help,
    mission accomplished :)