Posts By: jonny

PHP 5.2.0 Upgrade and Issues

In the official yum repositories for Red Hat/CentOS for RHEL5 / CentOS 5.1 the current version of PHP is (at time of writing) 5.1.6 however when trying to install the Magento e-commerce application required PHP version 5.2.0 or higher. To upgrade PHP to 5.2.5 I followed some instructions here on using the Remi repository i.e…. Read more »

Nagios and Checking Squid

After installing Nagios I created three files to define all the services I wanted to monitor: hosts.cfg hostgroups.cfg services.cfg SquidI used the check_squid code from the relevant details to each of my 3 config files for Nagios.I encountered a problem though as the check_squid perl script makes use of a Perl module LWP::UserAgent which… Read more »

Infra Recorder – Free Nero Alternative for Windows

InfraRecorder is a CD burning software application for Windows. It is a free alternative to using the expensive trial-limited Nero software. This software is best used for burning a Ubuntu ISO image to remove Windows from your life and replace it with free software.

Picasa Web Albums on Linux

PICASA 2.5 web-album Im using Ubuntu Edgy on i386 and this is what I did to get it working: 1. I installed Picasa as usual (v2.2 for linux)2. I started it up and scanned some folder containing photos3. Shut down picasa AND the media detector4. Instlled wine (apt-get install wine)5. Downloaded picasa 2.5 for windows… Read more »

Ubuntu Feisty Fawn Install with ATI Radeon x1600

I had difficulty trying to install Ubuntu 7.04 Fiesty Fawn on a new Novatech Laptop. The laptop uses an ATI Radeon x1600 graphics processor. When starting the LiveCD Ubuntu stops as it is unable to start x. This problem seems to have been introduced in an Alpha version of Feisty and is not yet resolved…. Read more »

Mount ISO image under Linux

“ISO Master” program is a GUI which may be useful available from the Get Deb website. You can mount ISO images via the loop device. It is possible to specify transfer functions (for encryption/decryption or other purposes) using loop device. But how to mount ISO image under Linux? You need to use mount command as… Read more »

/etc/fstab – Automounting NTFS and ext3

# /etc/fstab: static file system information.## proc /proc proc defaults 0 0# /dev/hda3UUID=d1794253-261e-427c-b952-6e469ff74970 / ext3 defaults,errors=remount-ro 0 1# /dev/hda5UUID=eb900d14-a3d3-4649-a44e-e204667d1619 none swap sw 0 0/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0/dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0/dev/ /media/floppy0 auto rw,user,noauto 0 0/dev/hda2 /media/shared vfat iocharset=utf8,umask=000 0 0/dev/hdb1 /home ext3 nodev,nosuid 0 2/dev/hdb1 /media/home ext3 nodev,nosuid 0 2/dev/hda1 /media/windows… Read more »

Mounting another partition for home

I set up an ext3 partition on another hard drive, then amended /etc/fstab and added the following line: /dev/hdb1 /home ext3 nodev,nosuid 0 2 This allows me to keep my home folder and update my operating system independently.I had to have a folder named jonny at the root of ext3 partition so that /home/jonny would… Read more »

PHP File Uploads in Internet Explorer

Upload JPEG files in Firefox works fine but in Internet Explorer is does not. I needed to change my code as Internet Explorer shows JPEG files as a different mime type. So the code:if($mime==”image/jpeg” || $mime==”image/pjpeg”) {