How to install and configure Varnish cache on Ubuntu Linux 16.04 LTS

Here are the steps to install and configure Varnish cache on Ubuntu 16.04 LTS: Install Varnish: sudo apt-get update sudo apt-get install varnish Edit the default Varnish configuration: sudo nano /etc/default/varnish Change the DAEMON_OPTS variable to listen on port 80: DAEMON_OPTS=”-a :80 \ -T localhost:6082 \ -f /etc/varnish/default.vcl \ -S /etc/varnish/secret \ -s malloc,256m” Configure … Read more

How to set rsync speed limit from eating all bandwidth with ‐‐bwlimit option

The –bwlimit option in rsync allows you to limit the bandwidth used by the transfer. You can specify the bandwidth limit in kilobytes per second. For example, to limit the transfer speed to 128 kilobytes per second, use the following command: rsync –bwlimit=128 <source> <destination> where <source> and <destination> are the paths to the source … Read more

How to install GlusterFS with a replicated high availability storage volume on Ubuntu Linux 16.04 LTS

Here’s how you can install GlusterFS with a replicated high availability storage volume on Ubuntu 16.04 LTS: Install GlusterFS: sudo apt-get update sudo apt-get install glusterfs-server Start and enable the GlusterFS service: sudo systemctl start glusterd sudo systemctl enable glusterd Create two new directories on two different servers, which will be used as the bricks … Read more