Upgrade a Debian web server to the next version

Upgrade a Debian web server to the next version

I’ve tended to shy away from upgrading Debian web servers in place, and I’m not sure why. Here’s how to upgrade to a newer distribution safely. I’m running the LAMP stack. The process will differ slightly with Nginx. My experience is all with Apache.

It takes around 5 minutes to upgrade a Debian LAMP server from an older version to the current version. Plan on running about eight commands; five to upgrade and three to enable the new PHP version.

Read more

Gotek troubleshooting

Gotek troubleshooting

Gotek flashfloppy drive emulators are a popular upgrade for retro computer systems, allowing you to replace finicky and expensive floppy drives and media with flash media. The flashfloppy firmware makes the drives much more capable, allowing them to work in a wider variety of machines, and also making it easier to copy image files from a modern PC directly onto the USB stick. Usually the upgrade goes very smoothly. But sometimes the drive doesn’t work. So let’s talk Gotek troubleshooting.

The first rule of Gotek troubleshooting is cabling. When the drive doesn’t work as expected, there’s a good chance it’s a cabling issue.

Read more

Writeback vs writethrough cache

Writeback vs writethrough cache

I was fixing a PC with a fairly late 486DX2-66 motherboard in it. In checking it out, I found an interesting setting in its BIOS: I can use its L2 cache as either writeback or writethrough. But what’s the difference? What are the pros and cons of writeback vs writethrough cache?

Writeback is faster but was harder to implement than writethrough, so not all systems support it. If it’s available and your software doesn’t malfunction, use write-back.

Read more