Ubuntu Static IP
Ubuntu Static IP KB ID 0001892 Problem Like most OSs out of the box the system is set to get it’s IP address from a DHCP server (i.e. dynamically). On the rare occasions I’m deploying Linux its to perform a specific task, so in nearly all cases I want it to have a static IP. Here is how to achieve that. Solution : Ubuntu Static IP Disable Cloud-Init Since Ubuntu version 18.04, it has shipped with this enabled, you can proceed with it...
KVM Bridge Network
Bridge Network KB ID 0001891 Problem Not sure why KVM does not come preconfigured for this out of the box, and it took me a very long time to work out how to do this. But if you want your KVM VMs to behave as if they are on your production LAN (rather than the default of setting up DHCP and NAT). The default is fine but if you want to access your VMs from outside the host you need to setup bridged networking. In my example I want my...
Install Ubuntu KVM
Ubuntu KVM KB ID 0001890 Problem I’ve been looking at KVM for a couple of reasons, firstly people are looking at VMware alternatives, now there’s no ‘free version’, and secondly the firm I work for have potentially a large KVM to VMware migration on the horizon, so I thought I’d build it on the test bench and see how best to address that migration scenario. Note: This was written with Ubuntu version 24.04,...
SSH: Host Identification Has Changed
Host Identification Has Changed KB ID 0001889 Problem I’ve been doing a lot of building and destroying Linux boxes lately, and came across this problem, (while attempting to SSH into one). WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The...
Convert Certificates CER/CRT/PEM
Convert Certificates KB ID 0001847 Problem This post was written because of a follow up question in this article. How do you go about convert certificates? Sometimes you get a certificate issued or sent toy you that is in a format you cannot import, so you need to convert it. Regardless of whether you are a mac/Linux user or a Windows user, the tool that I find best to use is OpenSSL. OpenSSL is built into macOS to use OpenSSL on...
TinyCore Linux: Build a ‘Persistent’ Web Server
KB ID 0001697 Problem Recently I was building a lab for testing load balancing, and needed some web servers, I could have built three Windows servers, but I wanted to run them in EVE-NG, so they had to be as light as I could make them. I chose TinyCore Linux, (I know there are smaller options, but it’s light enough for me to run, and work with). The problem occurs when you reboot the TinyCore host, it (by default) reverts back...