How to Install Varnish HTTP Accelerator on Ubuntu

How to Install Varnish HTTP Accelerator on Ubuntu

Install ‘Varnish’

On Debian and Ubuntu

aptitude update && aptitude install varnish

On RHEL, CentOS and Fedora

yum update && yum install varnish

Enter the following command to display the version of Varnish you are running

varnishd -V

Enable it to start on boot

On Debian, Ubuntu
service varnish start
service varnish status
chkconfig --level 345 varnish on
On CentOS/RHEL 7.x and Fedora 21
systemctl start varnish
systemctl status varnish
system enable varnish

Source
Install Varnish
Configure and use Varnish
How to Install ‘Varnish’ (HTTP Accelerator) and Perform Load Testing Using Apache Benchmark

Al Mahbub Khan
Written by Al Mahbub Khan Full-Stack Developer & Adobe Certified Magento Developer

Full-stack developer at Scylla Technologies (USA), working remotely from Bangladesh. Adobe Certified Magento Developer.