VPS- och dedikerade servrar (värdtjänstkontrollcentret) Hjälp

How to install Varnish on Ubuntu 14.04

Varnish is a caching engine used to speed up the delivery of your website. A speedy website is key to a great user experience. This article will show you how to install varnish using apt-get on Ubuntu 14.04

DIFFICULTY
strong>

Basic - 1 | Medium - 2 | Advanced -
3

TIME REQUIRED
strong>

30 min

RELATED PRODUCTS
strong>

CentOS-based VPS or dedicated servers

Installing Varnish on Ubuntu is simple, we can achieve this by using the built in package manager and pulling the package directly from varnish-cache.org. You will need to be logged in as root to complete this setup. First, we will install the necessary dependencies that Varnish requires:

apt-get install apt-transport-https

Now we need to retrieve the GPG Key from varnish-cache.org. We will be using the cURL command to achieve this, if you don't have cURL installed already you can run: