ubuntu kubernetes Kubernetes setup on ubuntu 16.04 Master: Install dependencies apt update && apt upgrade -y curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - cat < /etc/apt/sources.list.d/kubernetes.list deb http://apt.kubernetes.io/ kubernetes-xenial main EOF apt-get update apt install linux-image-extra-virtual c... Read more 6th Mar 2019
ubuntu let's encrypt nginx Nginx let's encrypt with A+ SSL on ubuntu There are two modes when you don't want Certbot to edit your configuration: Standalone: replaces the webserver to respond to ACME challenges Webroot: needs your webserver to serve challenges from a known folder. Webroot is better because it doesn't need to replace Nginx (to bind to port... Read more 6th Mar 2019
ubuntu lighttpd mediawiki MediaWiki with Lighttpd on Ubuntu Introduction In this guide, we will be setting up the latest version of MediaWiki on an Ubuntu server. We will use the lighttpd web server to make the actual content available, php-fpm to handle dynamic processing, and mysql to store our wiki's data. This guide walks you through installin... Read more 26th Feb 2019
curl monitor Monitor website failure with curl curl -sSf --max-time 120 'https://websitetomonitor.url' --compressed || echo "do something with alarm on failure" -s means silent -S show error -f Fail silently (no output at all) on server errors --max-time maximum time allowed for request Cronjob every 2 minutes */2 * * * * /usr/local/bin/ch... Read more 31st Jan 2019