Tangible Bytes

A Web Developer’s Blog

Windows 11 WSL2 and Docker Desktop

I’m a long time Linux user, and a big fan of Docker, Kubernetes, VMs, and containers.

While I love developing on Linux - I do sometimes find it frustrating that I don’t have the same level of access to the Microsoft suite on Linux.

A while ago I had to use a Windows laptop for a few days and tried out using WSL - so most of the time I’m in Linux - I didn’t entirely hate it so when it was time for an upgrade I decided to try the Windows route this time.

I’ve had my new machine for a little over a week now.

Read more ...

Docker, Firewalls, and Minikube

I’ve had a few problems with docker and firewalls and seem to get a “good enough” solution only to run into trouble again later having forgotten what I’ve done so far.

This is an attempt to make some notes and at least capture where I am up to.

TLDR

  • Disable dockers Iptables
  • Add some firewalld rules
  • Watch out if the Docker interface changes

https://dev.to/soerenmetje/how-to-secure-a-docker-host-using-firewalld-2joo

Read more ...

Getting Started With Kali Linux and Nikto

As web developers we are used to people mostly using teh websites we build in teh way intended.

It can be hard to get into the mindset not just of what can go wrong but how what we have built can be subverted.

There are a lot of tools available to those who want to attack our websites - and I think it is worth web developers having some familiarity with these.

The tools themselves are legal - but should only be used where you have permission.

Read more ...

Ubuntu Installer Blank Screen

I was recently updating a very old laptop for use in some network testing - all it needs to do is connect to wifi.

I couldn’t understand why I was getting a blank screen after grub loaded

I tried various install media, tried editing grub conf.

The best I could get was a screen saying

Booting a command list

Read more ...

Windows10 Installer Linux

I repurposed an old workstation and needed to install Windows with only Linux systems to work from.

This turned out to be painful because the system has an old BIOS and while you can in theory install windows from a USB stick - doing so requires a newer system using UEFI

Linux installs fine from a USB stick so this caught me out.

It turns out the Windows installer works fine from an external DVD drive - but first you may have to buy some double layer DVDs because the image doesn’t quite fit on a normal one.

Read more ...