R: support to install varnish on a VPS (Plesk on Centos)

John Doe jdmls at yahoo.com
Mon Mar 10 17:09:22 CET 2014


From: Alessio (Personale) <manca.alessio at tiscali.it>

> conto di John Doe
>> Which rpm did it install (if it did)...?
>>   # rpm -qa | grep varnish
>> The howto you used is based on (the old) CentOS 5.
>> Are you on CentOS 6 or still on CentOS 5...?
>> If you are on 6, you should install the corresponding varnish repository:
>> http://repo.varnish-cache.org/redhat/varnish-3.0/el6/noarch/varnish-release/varnish-release-3.0-1.el6.noarch.rpm
>
> Thanks "John". 
> Using "rpm -qa | grep varnish"
> I find "varnish-release-3.0-1.noarch" this sould confirm it's 
> installed.
> I confirm you I'm running on CentOS 6.

Yes and no... it confirms a varnish repository is installed, but not which one (el5 or el6?)...
If you found only "varnish-release", it means varnish (the application) is not installed.
The "yum install varnish" from the howto did not work.
That's why you cannot find the files in etc...
Remove the varnish repository:
  # rpm -e varnish-release
Install the correct one:
  # rpm --nosignature -i http://repo.varnish-cache.org/redhat/varnish-3.0/el6/noarch/varnish-release/varnish-release-3.0-1.el6.noarch.rpm
Install the varnish application:
  # yum install varnish

JD



More information about the varnish-misc mailing list