Create a “non production grade” Kubernetes cluster playground cheaply

Introduction The best way I have ever found to learn a programming language was always to dive into a project and create with the language I am trying to learn. The same one could say applies to operating systems, and new technologies. Kubernetes as defined on the website itself is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a medium to steep learning curve depending on your background,

Continue Reading

Your first php application inside a Docker container in 15 minutes (Part 3)

How it comes together In Parts 1 and 2 of this blog post, we talked bout docker containers, and actually created an Ubuntu 18 based Lamp stack insider a container. In this third and final post, we will look at how it all came together, without going into too much detail. There are plenty of other write-ups out there which you can refer to, if you are looking at how specific commands work. As already mentioned, the scope of the

Continue Reading

Your first php application inside a Docker container in 15 minutes (Part 2)

Lets create the container In part 1 of this blog post we looked briefly at how the docker technology works. I also promised there won’t be any more blabber and that we will be getting our hands dirty. The first step, unless you have already done so, it to install docker on your local machine. Head over to https://www.docker.com/get-started and install the appropriate version for your operating system. Secondly, go ahead and clone this git repo to a local folder.

Continue Reading

Your first php application inside a Docker container in 15 Minutes (Part 1)

Part 1. Introduction I had been wanting to try dry docker out for quite a while now, and had started working on it and abandoned the idea a few times, mainly because of all the bits and pieces of information out there leading many times to conflicting ideas. Well, last weekend was one of the stormiest weekends we had in years, so I hunkered down and decided to dockerise an existing running project to see how it will work out.

Continue Reading

Mikrotik Fasttrack configuration with L2TP / IPSEC VPN

If you have any experience whatsoever with mikrotik hardware, you have definitely heard about Fasttrack. Fastrack was introduced back in April 2016, in v6.29 of router os, and in very simple terms allows packets for established connections to bypass the kernel, thus improving performance, and decreasing the overall cpu load. However there are known issues which prevent Fasttrack properly to work when using IPSec on the mikrotik. You will find that if you leave the default Fasttrack rule enabled in

Continue Reading

Mikrotik L2TP / IPsec VPN Server Step by Step configuration with Fasttrack enabled!

This tutorial assumes that the WAN interface of the Mikrotik router has a public IP address, and that your ISP does not block ipsec ports. With that out of the way, lets get started. The first step is to create a PPP Profile on the mikrotik. We will use a 192.168.102.1 for the local address (the VPN Gateway), assuming this is not already in use. We also need to add a DNS Server /ppp profile add name=ipsec_vpn local-address=192.168.102.1 dns-server=1.1.1.1 Next

Continue Reading

Install Zabbix 4 on Ubuntu 18.04

Zabbix 4 is out, so I decided to take it for a spin. In this tutorial, we will go through the installation process of Zabbix 4 on a brand new Ubuntu 18.04 installation Prepare the system Login to your Ubuntu server, and sudo to root. Zabbix depends on a number of other components, like apache, php and mysql or postgres database. In this tutorial we will install the mysql version of Zabbix, using MariaDB as database. Lets start with the

Continue Reading

Backing up your vps or shared hosting server on your Home Laptop or PC with Windows 10 (Part 1)

The importance of backups, can never be stressed enough, however backing up websites, and their databases from a hosting server, can be challenging in some cases. Sure you can do periodic sql dumps using  phpmyadmin, and transfer the website files using winscp or any other scp client. However, experience has shown, that manual backups are a boring task, and sooner or later, you will start to slack, and “forget” to do a backup every now and again, and before you

Continue Reading

Backing up your vps or shared hosting server on your Home Laptop or PC with Windows 10 (Part 2)

In the first part of this tutorial, we have setup a private/public key pair, and enabled password-less ssh access to our vps or shared hosting server. In the second part, we will setup a bash script to copy (dump) the contents of our databases on the server, and copy (incrementally) the website files to a local folder on our windows machine. Open the Ubuntu bash on your Windows 10 machine, and change directory to the home directory (or to whichever

Continue Reading

Using Atlassian bitbucket with Intellij-idea

In this tutorial, we will go through the steps necessary to setup and use the Atlassian Bitbucket repository with your favourite Jetbrains IDE. The tutorial is based around Intelli-J Idea, however the steps will also work for PHPStorm, PyCharm, Android Studio and also from the plain old command prompt. The total setup time should be around 15 minutes or less. Let’s get started Download and Install the Bitbucket Connector Plugin Head over to https://bitbucket.org/account/signup/ and create free account Download the Jetbrains bitbucket

Continue Reading