Dave James Miller

Developer. Computer Geek. INTJ.

Tag

Debian

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… Read More

Installing Dnsmasq for wildcard local domains on Debian

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

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. Read More

Sites Manager

github.com/davejamesmiller

Script to manage virtual hosts in Apache and Exim on my Debian servers.

Installing PHP FastCGI with suEXEC on Debian

Most of the time I’m happy with mod_php. It’s certainly the most efficient way to run PHP. But there is one major downside – all scripts are run as the Apache user (www-data). We can get around this by using… Read More

Automatically mounting a Samba share at boot on Debian

First you’ll need somewhere safe to put the username & password. We’ll store them in /etc/sambapasswords, and make that only readable by root. Read More

Installing PHP 5.2 FastCGI on Debian 6 (Squeeze)

Debian Squeeze comes with PHP 5.3. This is good, because PHP 5.2 is no longer maintained, but causes problems for old applications that can’t support it (e.g. ViArt 3, because it uses Zend Encoder). Rather than permanently downgrade PHP for the whole server,… Read More

Setting up Wake-on-LAN (with a Debian server)

Today I set up Wake-on-LAN (WOL) on all the PCs at work. It was pretty easy actually. Read More

How I set up my Debian web server

Recently I moved my websites to a virtual private server (VPS) from Memset. Rather than pay an extra £7.50/month for cPanel, I decided to configure it myself. This is my notes about what I did. It’s not designed to be a… Read More

Debian vs Ubuntu

For a while now I’ve been using Ubuntu as my Linux distro of choice. On Monday I have to reinstall one of the Ubuntu servers at work, so I thought I’d have a look at Debian this weekend, to see if it would be… Read More

© 2017 Dave James Miller — Powered by WordPress

Theme by Anders NorenUp ↑