Page 1 / 2 (14 Posts)

Getting Started with Raspberry Pi (2017)

The above is my first boot up of my Raspberry Pi 3, as purchased in January 2017. I am writing this because so much of the information you can find on Google about the Raspberry Pi is actually outdated with regards to what you get when you order one in…...

January 23, 2017 · 3 min · François Planque

How to find files recursively on Linux (or OS X terminal)

Sometimes you need an emergency reminder about how to find all files of a certain name in a directory structure… like say: find all .htaccess files hidden in my web site. Well, here’s the magic command:...

October 6, 2012 · 1 min · François Planque

How to check when Linux was installed

If you have several servers to maintain like I do, at some point you'll want to know how old exactly an installation of Debian (or another flavor or Linux) has gotten since you last wiped it clean... So how do you check the install date? I found t…...

September 27, 2012 · 1 min · François Planque

Why echo is slow in PHP and how to make it really fast

You may have noticed that PHP scripts that echo a lot of content appear to be running with poor performance... Well, the operative word here is "appear". It is a common misconception that "echo is the slowest PHP command"! The problem is actually…...

December 3, 2009 · 4 min · François Planque

How to log request processing times in Apache

If you have an apache (2) web server, you probably have an access.log file showing you all kinds of data using the "combined" log format. Let's see how to include processing time into that log file. By default a line in the combined log looks like this…...

December 3, 2009 · 2 min · François Planque

How to install the APC PHP Cache on Debian (Lenny or Squeeze)

The APC cache can significantly improve your PHP script performance, just by installing it, whoch basically takes 5 minutes! Here's what I did on my Debian Lenny box... First you may want to have a reference benchmark to see if it actually improves:…...

November 29, 2009 · 2 min · François Planque

How to fix apt-get missing keys (Debian)

Lately, my Debian servers have been bugging me with stuff like this everytime I tried to apt-get update:W: There are no public key available for the following key IDs:XYZ123W: You may want to run apt-get update to correct these problems...

May 28, 2009 · 2 min · François Planque

How to manage MySQL binary log space (Debian)

So it turns out that what is filling up my root partition is my MySQL binary logs.A collection of fat files in /var/log/mysql ...So I had several options: Move the logs to a different partition Increase the size of the root partition D…...

October 15, 2007 · 2 min · François Planque

Why is my Linux root partition full?

Oh my... nothing puts a server down on its knees more than a root partition with 0% free space. Oh well, ok, maybe being dugg beats it. But still, when you have a full partition, you're in trouble... First thing is to find what is using that much spac…...

October 15, 2007 · 2 min · François Planque

TLS IMAP with Courier on Debian

Welcome back to the daily emailing setup on Debian... The default private key for the courier IMAP server is for localhost, whiwh will issue warnings in the mail client. To generate a new (self signed) private key, you need to do this: rm…...

July 20, 2006 · 1 min · François Planque