Posts tagged: debian

Upgrading MySQL 5.0 to 5.1 on Debian 5.0

By Rob, May 16, 2009 5:00 PM

I have a small low-power x86 machine at home running Debian 5.0. I regularly check for updates to any of the packages I have installed on it, and for a while its been offering an upgrade to MySQL. I dont use MySQL much at home, so I havent been too bothered about keeping that up to date. However, I got fed up of it nagging me, so I decided to proceed with the update. The following is what happened:

Preparing to replace mysql-server 5.0.51a-24 (using .../mysql-server_5.1.34-0.dotdeb.1_all.deb) ...
 Unpacking replacement mysql-server ...
 (Reading database ... 120744 files and directories currently installed.)
 Removing mysql-server-5.0 ...
 Stopping MySQL database server: mysqld.
 Removing mysql-client-5.0 ...
 Processing triggers for man-db ...
 Selecting previously deselected package mysql-client-5.1.
 (Reading database ... 118764 files and directories currently installed.)
 Unpacking mysql-client-5.1 (from .../mysql-client-5.1_5.1.34-0.dotdeb.1_i386.deb) ...
 Selecting previously deselected package mysql-server-5.1.
 Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.34-0.dotdeb.1_i386.deb) ...
 Processing triggers for man-db ...
 Processing triggers for menu ...
 Setting up mysql-client-5.1 (5.1.34-0.dotdeb.1) ...
 Setting up mysql-server-5.1 (5.1.34-0.dotdeb.1) ...
 Installing new version of config file /etc/init.d/mysql ...
 Stopping MySQL database server: mysqld.
 Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!

Continue reading 'Upgrading MySQL 5.0 to 5.1 on Debian 5.0'»

Lighttpd PHP FastCGI Configuration – Debian 5.0 Lenny

By Rob, February 19, 2009 4:47 PM

After installing a fresh copy of Debian 5.0 on my mini x86 server (howto for that still being worked on), I needed to get PHP with FastCGI, MySQL and Lighttpd installed.

Here’s an excellent, short and to-the-point guide on getting FastCGI configured for Lighttpd:

http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html

Of course, this is assuming PHP, MySQL (if required) and Lighttpd are already installed:

  apt-get install php5-cli php5-cgi lighttpd mysql-server

I also needed to reconfigure MySQL for a low memory machine (112MB). Continue reading 'Lighttpd PHP FastCGI Configuration – Debian 5.0 Lenny'»

Upgrading Debian Etch to Lenny (on NSLU2)

By Rob, February 17, 2009 5:49 PM

On 14th February 2009, Debian 5.0 (lenny) was officially released.

For a few years now, I’ve been running Debian GNU/Linux on my Linksys NSLU2 (commonly known as a ‘slug’). I use it to run various services on my home network, but primarily it’s used as an FTP interface to my ‘Toppy’, otherwise known as a Topfield TF5800 Freeview/DVB-T Hard Disk Recorder (PVR), and to populate its MyStuff EPG TAP with daily TV listings from the Radio Times.

Linksys NSLU2 (Slug)The NSLU2 is a great little device. Its small (really small), low power, silent, relatively inexpensive and just works. Ive modified it to run at 266MHz, from the stock 133MHz. Note: This isnt overclocking it. The ARM CPU in use is designed to run at 266MHz, but its limited in the NSLU2 to run at 133MHz. A simple modification allows it to run at its full speed.

When I heard that lenny had been released, I thought I’d go ahead and update my slug, as I like to stay current. The great thing about Debian, is that it’s so easy to maintain. I logged in, and did the usual ‘apt-get update‘ followed by an ‘apt-get dist-upgrade‘, expecting a huge amount of updates to appear. What I actually saw was only a handful of packages offering themselves for the taking, and there was no sight of a full distribution upgrade.

Continue reading 'Upgrading Debian Etch to Lenny (on NSLU2)'»

Panorama Theme by Themocracy