Quickly remove PHP 5.3 deprecated warnings in web applications

It's easy enough to do (although you shouldn't fix your issues that way, obviously), but I found it difficult to find information about it on the web. To change your PHP settings in order to avoid these warnings, one quick way is to edit your php.ini file (in /etc/php5/apache2/php.ini) and find the line that says
error_reporting = E_ALL
Possibly it will include other options.

Using Intel ATOM as OpenSolaris NAS engine

I  recently started searching for a power- and price-efficient engine for modest-sized NAS, running OpenSolaris (Nexenta) of course. The idea to go to Intel ATOM first comes from their high power efficiency (1-13W TDP). To really benefit from it, do not only take into account the power used by the CPU, but also the whole motherboard (you know, chipset and GPU [Graphic Processing Unit]). ATOM is supposed to dissipate so little heat that a fan might not be necessary, so most motherboards for ATOM ship with passive/fanless cooling.

Installing Squid on ZFS

The recommended filesystem for Squid on OpenSolaris is ZFS: http://wiki.squid-cache.org/BestOsForSquid It is also recommended to disable the atime property on the filesystem holding the cache, and you may want to avoid using any type of RAID. To achieve this on Nexenta (or OpenSolaris, whatever), first create the ZFS filesystem: # zfs create -o atime=off -o mountpoint=/var/spool/squid3 syspool/squidcache Then install Squid (here for version 3.x, as you might have noticed from the com

Howto reset network device after swapping disks from one PC to another

I had a problem with a very old Compaq PC not detecting the keyboard anymore. I used the PC as a local server, not a real problem, except that the BIOS didn't allow the PC to boot when the keyboard was not plugged in. One solution there might have been to use some USB keyboard (I didn't get a chance to try that - didn't have any USB keyboard lying around). Luckily enough, I happened to have a clone of this computer, so I just swapped the disks from one PC to the other, and booted.