Use Varnish on your server and increase website speed and performance. So install and use varnish on your server using some simple steps.
How to Install Varnish
- Login in console or terminal.
- use command for install varnish
sudo apt update
sudo apt install varnish - now start varnish using command
sudo systemctl start varnish
sudo systemctl enable varnish - open editor mode on when use sudo nano /etc/default/varnish command.
- find and replace from to DAEMON_OPTS=”-a :80″.
- now restart server using sudo systemctl restart varnish.
- Allow varinsh using command –
sudo ufw allow 80/tcp
sudo ufw reload
sudo systemctl status varnish
Watch Video
Hope you will succefull insall varnish on your server. Thanks for visiting.