L
L
lagudal2018-04-19 09:18:25
linux
lagudal, 2018-04-19 09:18:25

How to install the desired version of Varnish (4 is desirable) on Centos 6?

There is a VPS on which Centos 6. Installed and configured php-fpm+mysql+nginx+magento2.
Especially for the latter, I also want to set up Varnish + Redis.
For a server with the same needs, but under Ubuntu, everything is smooth, the acceleration is noticeable even to the naked eye. (I took the basic setup, for example, from this article ).
On Centos 6, the version of Varnish 2 c epel is pulled by default, I would very much like to install version 4.
According to the official manual , I create a repo, turn off all the turnips except for the newly created one, and it still lasts 2 with epel.
If I hardcode enabled=0 in epel.repo, then yum install varnish - No package varnish available...
What's wrong? How to decide? You can also try to install from the source, but maybe I'm missing something very simple?
Centos has very superficial knowledge, maybe everything is simple ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CityCat4, 2018-04-19
@CityCat4

There are very old turnips in EL6. That is, in turnips, software is of a very respectable age. Therefore, either look for a turnip, where someone has already assembled a package of the desired version for EL6, or build it yourself.
But assembling it yourself is such a dance ... In 2014 - 2015, my workstation was just on EL6. And I decided to build something (I don't remember what) from the sources....
Oh, I wish I hadn't done this...
Software 1 says that I have an ugly old package1. You collect package1 - it says that I have an ugly old package2. You collect package2 - well, you understand ...
What I wanted to collect - in the end I collected it, but I was exhausted and spent a hell of a lot of time. And self-assembly can result in a broken system - if you don’t have much idea what happens (during installation, in the sense).
I would think about changing the distribution. Or is there only EL6 without options?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question