In Ubuntu 16.04 you might receive the following error when creating an encrypted volume: error creating luks device error spawning command-line cryptsetup luksformat To resolve this issue, you simply need…
Error when creating encrypted disk Ubuntu 16.04
Stop and remove all docker containers
Docker containers need to be stopped prior to being removed. As such the following commands should be run sequentially: docker stop $(docker ps -a -q) docker rm $(docker ps -a…
Start all docker containers with one command
To start all docker containers you can run the following command: docker restart $(docker ps -a -q)
Create docker registry with Letsencrypt
Firstly you will need to get letsencrypt working and get a certificate for the domain which you are planning on accessing your registry with. Issue the following commands: git clone…
Disable/Enable MySQL Password Validation
If you are having issues with MySQL password validation, you can run the following commands to disable it: mysql -u root -p uninstall plugin validate_password; Should you want to enable…
KVM virsh console error: operation failed: Active console session exists for this domain
If you're trying to start a console session for a KVM guest you might receive the following error: KVM virsh console error: operation failed: Active console session exists for this…
Install Ghost Ubuntu 17.04
The vast majority of blogs online are powered by wordpress, though a sneaky little competitor is gaining steady traction: Ghost 🙂 To install Ghost on Ubuntu 17.04 follow these steps:…
Install Rancher NFS storage driver
Rancher is great for spinning up a number of services in docker containers, from Tomcat web applications to WordPress and Ghost installations. This is all good and well, but if…
Solve "remote host identification has changed"
You might have come across this error when using SSH. This is as a result of the IP address of the remote host you're trying to SSH into having changed…
Mount qcow2 image Ubuntu
The first step to mounting your qcow2 image is to enable nbd (network block device) on your machine: sudo modprobe nbd max_part=8 The next step is to connect your qcow2…









