Skip to content
Mehdi Kababfrontend / author
⁠All posts

#sysadmin

System administration: servers, logs, swap and Ruby versions (4 posts).

2026

1 post

  1. Increase the size of the swap file

    Ubuntu swaps into a single file, so doubling it takes five minutes: no repartitioning, no reboot, and a swappiness tweak keeps the kernel from using it too eagerly.

2011

1 post

2010

2 posts

  1. PHP : installer APC sous Mac OS X Leopard

    Sous Mac OS X Leopard, installer APC via PECL est en carton : voici comment compiler l’extension pour qu’Apache la charge aussi.

  2. Rotation des logs Apache

    Une seule ligne dans CustomLog suffit pour faire tourner vos logs Apache chaque semaine avec rotatelogs, sans cron ni script à maintenir.