The Irish Penguin Watching Open Source unfold across Ireland

28Nov/080

Installing Drupal on Ubuntu (Gutsy) in a few easy steps

Drupal is a great solution if you're looking for a CMS system. In order to sneakily install LAMP with the minimum of fuss, I usually just install mod php and mod mysql (the apache related modules for php and mysql respectively) and that triggers pretty much everything else to be pulled automatically! So, from the command line...

sudo aptitude install libapache2-mod-php5

sudo aptitude install php5-mysql

... should give you Apache, MySQL and PHP in one fell swoop. Just to be sure that all is well run the following install commands

sudo apt-get install mysql-server
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install php5-mysql

Then download and install Drupal (version 6.6 at time of writing) at http://drupal.org and follow their install guide.

One final tip, if there's any problem with your apache installation's configuration, you can install phpMyAdmin in order to plough through these problems as it will supply its own configuration. For example, I got the database configuration error when I was trying to connect to my database for the first time using Drupal

"Your web server does not appear to support any common database types. Check with your hosting provider to see if they offer any databases that Drupal supports."

Turns out my apache config was dodge as when I did a 'sudo apache2ctl restart' I got the following...

"apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName"

Installing phpMyAdmin and choosing apache2 when prompted during this process did the trick. Now go forth and Drupal!

23Nov/080

3 Cheers for OSS Barcamp Dublin!

Another exciting event has just been announced for Dublin next year with an Open Source Software Barcamp planned for Dublin March 28th next year. And you could be one of the speakers! The idea behind a barcamp is to have a casual relaxed atmosphere where the attendees can help drive the schedule - like a conference done in the spirit of Digg. For more info check out Laura Czajkowski's blog post and if you want to keep up to date with further details you can track things on ossbarcamp on twitter.

23Nov/080

File downloads over the command line via CURL

This could be a pretty obvious one to a lot of people but it's just so handy. This will download a file from somewhere.com to your local directory

curl -O http://somewhere.com/somefile.tar.gz

Really handy when you're administering a remote server and need to pull down files.