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

200$ free to start your VPS 60 days credit
Reply
#2
RE: How to install Varnish centos/Ubuntu
Big Grin Big Grin Big Grin
 By: Cantalupo
Reply
#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
#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

200$ free to start your VPS 60 days credit
Reply
#5
RE: How to install Varnish centos/Ubuntu
This is not a guide.. also where is the configuration of this?
Reply
#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
#7
RE: How to install Varnish centos/Ubuntu
Can you do a Centos one?
Reply
#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


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

Forum Jump:


Users browsing this thread: 1 Guest(s)