How to change the hostname of your Linux machine without needing to restart

Image of a terminal prompt

hostnamectl method Since Ubuntu 16.04 (and most recent Linux distros) use Systemd you can simply use the hostnamectl command to change hostname. To see current setting, run your Terminal just type the following command: $ […]

Quick and dirty hacks: one line HTTP Server

SimpleHTTPServer with Python

Some times you just want to prove a concept by running a web server on a server, or even your desktop somewhere. The problem is, it seems a bit overkill to install a whole web […]

How to get to a service/server which is on an inaccessible network (using SSH tunnels)

shell prompt image

In the latest of our ‘just the examples’, imagine you are in a scenario where you want to ssh to a server (or even browse a web page etc) on a server you cannot directly get […]

How to setup a KVM server the fast way

The Linux Kernel Virtual Machine Logo

This is a very short quick setup on how to get KVM (The Linux Kernel Virtual Machine hypervisor) server up and running. Why KVM? KVM is a hypervisor, just like VmWare ESX, Microsoft’s Hyper-V and […]