Software Developer. Computer Geek. INTJ.

Month March 2013

Installing PHP 5.4 on Debian 6 (Squeeze)

Debian 7 (Wheezy) is due to come out soon, but I didn’t want to wait to upgrade to PHP 5.4, nor to install the release candidate. I tried using the Wheezy repository, but got dependency errors. Fortunately Dotdeb provides packages for…

List the number of open HTTP connections per IP in Linux

This was useful when fighting a DDoS attack on one of our web servers.

Installing Dnsmasq for wildcard local domains on Debian

I use this to point all subdomains of a domain to my local development server.

Automatic updates for Debian

Originally I was using apticron to email me whenever new security updates were available and then manually applying them, but with 3 Debian servers and frequent updates this was getting annoying. So I decided to automate it.

Automatic upgrades for phpMyAdmin

In order to ensure phpMyAdmin is kept up to date without having to manually upgrade it, I decided to find a way to script it. I found the instructions here, but here’s a more detailed version.

© 2021 Dave James Miller — Powered by WordPress

Theme by Anders NorenUp ↑