This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

How to install Varnish centos/Ubuntu
#1
How to install Varnish centos/Ubuntu
Hi,

[Centos]

The easiest way

yum install varnish

You will get a stable varnish release BUT not the latest to get the latest you should use another repos like the official one:

Varnish 4.0:

Code:
rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-4.0.el6.rpm
yum install varnish

Varnish 3.0:

Code:
rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-3.0.el6.rpm
yum install varnish

[Ubuntu]

apt-get install varnish

From official repos:

Code:
apt-get install apt-transport-https
curl https://repo.varnish-cache.org/ubuntu/GPG-key.txt | apt-key add -
echo "deb https://repo.varnish-cache.org/ubuntu/ precise varnish-4.0" >> /etc/apt/sources.list.d/varnish-cache.list
apt-get update
apt-get install varnish

Varnish can be used mainly to cache web pages/ressources or as a basic load balancer/caching.

No SSL Support but can far beat Nginx on static pages & very reliable for 370k prog!

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#2
RE: How to install Varnish centos/Ubuntu
Big Grin Big Grin Big Grin
Reply
Thanks given by:
#3
RE: How to install Varnish centos/Ubuntu
Not really related to the guide...
Varnish or Cloudflare?
Or both?
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:
#4
RE: How to install Varnish centos/Ubuntu
Cloudflare are nginx based and offer more features like CDN wich is a distributed cache while if you use your own varnish it's only one frontend.

I would not use both.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by: apinto
#5
RE: How to install Varnish centos/Ubuntu
This is not a guide.. also where is the configuration of this?
Reply
Thanks given by:
#6
RE: How to install Varnish centos/Ubuntu
Account_Own this guide is about Installing Varnish, and its correct Smile

If you want a full guide about Hoe to Install and setup Varnish with Sentora, please read my guide at http://forums.sentora.org/showthread.php?tid=1601
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:
#7
RE: How to install Varnish centos/Ubuntu
Can you do a Centos one?
Reply
Thanks given by:
#8
RE: How to install Varnish centos/Ubuntu
(08-09-2015, 03:15 AM)Account_Own Wrote: Can you do a Centos one?

I will not do a CentOS one, However the stepts are not much different, check Varnish links on my guide and just adapt. It should not pose any crucial differences Smile
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Upgrade to Ubuntu 16.04 from 14.04 HogensHero 8 27 ,151 07-18-2020, 03:13 AM
Last Post: dycott78
Ubuntu: How to Enable tls/ssl in proftpd Diablo925 2 11 ,714 04-21-2020, 03:35 AM
Last Post: iraqiboy90
Ubuntu 18.04 or 20.04 Kangarooo 1 6 ,100 03-20-2020, 11:39 AM
Last Post: Jettaman

Forum Jump:


Users browsing this thread: 1 Guest(s)