Author Archives: Vitalijus Ryzakovas

varnish systemd 80 port

mkdir /etc/systemd/system/varnish.service.d
vim /etc/systemd/system/varnish.service.d/varnishd.conf

ExecStart=/usr/sbin/varnishd -j unix,user=vcache -F -a :80 -T -f /etc/varnish/default.vcl -S /etc/varnish/secret -s malloc,256m

systemctl daemon-reload && systemctl start varnish

install keepalive 2 ubuntu

add-apt-repository ppa:hnakamur/keepalived
upstream repository:
deb source repository:
More info:
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmprfmnb5nq/secring.gpg' created
gpg: keyring `/tmp/tmprfmnb5nq/pubring.gpg' created
gpg: requesting key 1017341E from hkp server
gpg: /tmp/tmprfmnb5nq/trustdb.gpg: trustdb created
gpg: key 1017341E: public key "Launchpad PPA for Hiroaki Nakamura" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

mv -v /usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt /tmp/
'/usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt' -> '/tmp/DST_Root_CA_X3.crt'

Updating certificates in /etc/ssl/certs...
W: /usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt not found, but listed in /etc/ca-certificates.conf.
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...

apt update