Mailing List Archive

Server requirements for installing Varnish
Hello Guys,

I'm searching for some step by step instructions for the installation of
Varnish, but I'm finding so many variations, it's making my head spin!

I have a VPS running CENTOS 6.8 x86_64 virtuozzo. I found this resource
which looks fairly straightforward as I do have cPanel/WHM -
https://support.qualityunit.com/496090-How-to-install-Varnish-with-CPanel-and-CentOS-to-cache-static-content-on-server

I know I would need to change the "rpm -Uvh
http://repo.varnish-cache.org/redhat/varnish-3.0/el5/noarch/varnish-release-3.0-1.noarch.rpm"
to get the latest version, but not sure what the correct syntax for that
would be?

However, I've now seen this reference -
https://www.saotn.org/install-varnish-cache-on-centos-6-7/ which says
that Varnish relies on Jemalloc and says it should be installed! What
the heck is Jemalloc? I can't see it mentioned anywhere else online in
regards to installing Varnish. I found a mention of it in the Wiki
though -
https://www.varnish-software.com/wiki/search.html?q=Jemalloc&check_keywords=yes&area=default

Looking at the FAQ in Wiki I can see that the following packages are
also required in order for Varnish to work -

autoconf
automake
jemalloc-devel
libedit-devel
libtool
ncurses-devel
pcre-devel
pkgconfig
python-docutils
python-sphinx
graphviz

Navigation on a server is not my strong point. Are the packages likely to be referenced in one location? In other words, how do I find out if I've already got them?

Hope someone can advise.

Myles
Re: Server requirements for installing Varnish [ In reply to ]
Those are for building / compiling Varnish on your server. If you’re installing Varnish from its official repository, you don’t need any extras.
> autoconf
> automake
> jemalloc-devel
> libedit-devel
> libtool
> ncurses-devel
> pcre-devel
> pkgconfig
> python-docutils
> python-sphinx
> graphviz


_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
Re: Server requirements for installing Varnish [ In reply to ]
Doesn't "yum install varnish" just work? The package manager should pull
all the required packages for you.

--
Guillaume Quintard

On Thu, Mar 16, 2017 at 1:05 PM, Magical Wonders <myles@magicalwonders.com>
wrote:

> Hello Guys,
>
> I'm searching for some step by step instructions for the installation of
> Varnish, but I'm finding so many variations, it's making my head spin!
>
> I have a VPS running CENTOS 6.8 x86_64 virtuozzo. I found this resource
> which looks fairly straightforward as I do have cPanel/WHM -
> https://support.qualityunit.com/496090-How-to-install-
> Varnish-with-CPanel-and-CentOS-to-cache-static-content-on-server
>
> I know I would need to change the "rpm -Uvh http://repo.varnish-cache.org/
> redhat/varnish-3.0/el5/noarch/varnish-release-3.0-1.noarch.rpm" to get
> the latest version, but not sure what the correct syntax for that would be?
>
> However, I've now seen this reference - https://www.saotn.org/install-
> varnish-cache-on-centos-6-7/ which says that Varnish relies on Jemalloc
> and says it should be installed! What the heck is Jemalloc? I can't see it
> mentioned anywhere else online in regards to installing Varnish. I found a
> mention of it in the Wiki though - https://www.varnish-software.
> com/wiki/search.html?q=Jemalloc&check_keywords=yes&area=default
>
> Looking at the FAQ in Wiki I can see that the following packages are also
> required in order for Varnish to work -
>
> autoconf
> automake
> jemalloc-devel
> libedit-devel
> libtool
> ncurses-devel
> pcre-devel
> pkgconfig
> python-docutils
> python-sphinx
> graphviz
>
> Navigation on a server is not my strong point. Are the packages likely to be referenced in one location? In other words, how do I find out if I've already got them?
>
> Hope someone can advise.
>
> Myles
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc@varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
Re: Server requirements for installing Varnish [ In reply to ]
On Thu, Mar 16, 2017 at 1:37 PM, Guillaume Quintard
<guillaume@varnish-software.com> wrote:
> Doesn't "yum install varnish" just work? The package manager should pull all
> the required packages for you.

Yes, only after you set up the repo, the rpm command does that but
starting with 5.1 that won't be the case. I'd wait a bit until 5.1 is
officially announced to get the new repos details.

Dridi

_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
Re: Server requirements for installing Varnish [ In reply to ]
Ok, I think I understand. So installing 5.1 when the new details are
available, all the required packages will automatically be installed?

Is this the page that will give the new details? -
https://varnish-cache.org/releases/install_redhat.html#install-redhat

Myles


On 16/03/2017 13:02, Dridi Boukelmoune wrote:
> On Thu, Mar 16, 2017 at 1:37 PM, Guillaume Quintard
> <guillaume@varnish-software.com> wrote:
>> Doesn't "yum install varnish" just work? The package manager should pull all
>> the required packages for you.
> Yes, only after you set up the repo, the rpm command does that but
> starting with 5.1 that won't be the case. I'd wait a bit until 5.1 is
> officially announced to get the new repos details.
>
> Dridi
>
Re: Server requirements for installing Varnish [ In reply to ]
On Thu, Mar 16, 2017 at 2:33 PM, Magical Wonders
<myles@magicalwonders.com> wrote:
> Ok, I think I understand. So installing 5.1 when the new details are
> available, all the required packages will automatically be installed?
>
> Is this the page that will give the new details? -
> https://varnish-cache.org/releases/install_redhat.html#install-redhat

Yes, it is. You can also register to the varnish-announce mailing list
to know as soon as it's available, it's very low traffic.

Cheers

_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
Re: Server requirements for installing Varnish [ In reply to ]
Great, thank you. I've signed up to the varnish-announce mailing list
now. :-)

Best wishes,

Myles


On 16/03/2017 13:47, Dridi Boukelmoune wrote:
> On Thu, Mar 16, 2017 at 2:33 PM, Magical Wonders
> <myles@magicalwonders.com> wrote:
>> Ok, I think I understand. So installing 5.1 when the new details are
>> available, all the required packages will automatically be installed?
>>
>> Is this the page that will give the new details? -
>> https://varnish-cache.org/releases/install_redhat.html#install-redhat
> Yes, it is. You can also register to the varnish-announce mailing list
> to know as soon as it's available, it's very low traffic.
>
> Cheers
>
Re: Server requirements for installing Varnish [ In reply to ]
Hello

And if you want to use another rpm then

yum localinstall rpmfile_or_url

On 16 Mar 2017 14:07, "Magical Wonders" <myles@magicalwonders.com> wrote:

> Great, thank you. I've signed up to the varnish-announce mailing list now.
> :-)
>
> Best wishes,
>
> Myles
>
> On 16/03/2017 13:47, Dridi Boukelmoune wrote:
>
> On Thu, Mar 16, 2017 at 2:33 PM, Magical Wonders<myles@magicalwonders.com> <myles@magicalwonders.com> wrote:
>
> Ok, I think I understand. So installing 5.1 when the new details are
> available, all the required packages will automatically be installed?
>
> Is this the page that will give the new details? -https://varnish-cache.org/releases/install_redhat.html#install-redhat
>
>
> Yes, it is. You can also register to the varnish-announce mailing list
> to know as soon as it's available, it's very low traffic.
>
> Cheers
>
>
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc@varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>