Skip to content Skip to navigation

Linux

Installing Linux on 64-bit Mac that has the old 32-bit EFI firmware

If you have and older Mac that has a 64-bit processor but the 32-bit 1,1 or 2,1 EFI firmware (eg. a 2009 Mac Mini Core 2 Duo) and you want to install a recent 64-bit version of Linux on it, the 32-bit EFI firmware will leave you stuck at a prompt like this:


----------
1.

2.

3.

Select CD-ROM Boot Type :
-----------

with an unresponsive keyboard and no way to proceed.


BASH script for removing JPEG sidecar files

When shooting for the nightclub photo booth areas I run, I have to shoot JPEG because my printer will not deal with camera raw files, however, for reasons that should be obvious to any serious digital photographer, I prefer to have to raw files to work with after the fact. This necessitates shooting RAW+JPG, but I have no use for the JPEGs in post-processing.


Screen Resultions Higher than 1024x768 for Linux under Parallels 4

By default Parallels allocates a very small amount of video memory for Linux installs. Simply increase the amount of available video memory to allow for the largest desired resolution. With the Parallels Tools installed you will now be able to scale the window to resolutions higher than 1024x768.


Escape Code Stripping in libxml2

There is a problem with the Drupal aggregator module stripping out HTML escape codes (i.e. &lt; &gt; & etc.) from RSS feeds when using PHP <= 5.2.6 with libxml2 >= 2.6.32.

This is due to an intentional change in the behaviour of libxml2 after version 2.6.32. Some sites suggest reverting to libxml2-2.6.30 - while this works as a temporary solution, it is no longer necessary or advisable.


Why I Like LAMP - Upgrading a Webserver

It was time to do an OS upgrade on a webserver I maintain that hosts a couple of reasonably active sites. The two most active sites on the server bring in about 12,000 unique visitors a month, with the two serving up about 4 million hits. Of course this is small potatoes compared to the really big boys, but between the two of them it is pretty much given that there is somebody hitting the server at any given moment and the demographics are such that there is really no reasonable time for the server to be down for any length of time.


Subscribe to RSS - Linux