HowTo: Install Flumotion Streaming Server on Ubuntu 14.04

Tutorials
Flumotion Streaming Server is a great open-source application that is available in the Ubuntu repositories that can easily allow you to broadcast a live stream from a video camera, or broadcast pre-recorded media. The end-user can view this media in any capable HTML5 web browser such as Google Chrome. Unfortunately Flumotion (version 0.10.0-1 at the time of writing) relies on some deprecated Twisted Python network functions that prevent the software from working properly on any release of Ubuntu from 13.04 and upwards. The obvious solution is to simply install Flumotion under Ubuntu 12.04 but then you will find that Flumotion in the 12.04 repository is buggy and out of date anyway, requiring you to update Flumotion from the official developer PPA to the stable release that is already in Ubuntu 14.04. There is…
Read More

HowTo: Install the XScreensaver packages on Ubuntu

Tutorials
The XScreensaver packages are a series of fancy alternate screensavers that have a popular history. They are much more enjoyable than the boring default Ubuntu screensaver which is just... a black screen. Unfortunately the XScreensavers package hasn't really been updated in awhile and doesn't integrate very nicely into the current flavours of Ubuntu without some manual tweaking, so that's exactly what I'm going to cover right here. (more…)
Read More

HowTo: Setup Darik’s Boot and Nuke (DBAN) to automatically erase storage devices via PXE boot

Tutorials
Darik's Boot and Nuke (abbreviated as DBAN) is a popular tool used by many organisations and individuals to securely erase hard-drives prior to disposal, or perhaps just to fix Windows problems ;) . It typically comprises a small 15MB ISO image that you can burn to CD or make a bootable USB stick from so you can boot up a PC on it and set about erasing all detected storage devices. When you're doing a lot of machines, however, booting a CD is tedious, especially when you accidentally scratch the disc and need to burn a new one. Using a USB stick and either misplacing it, or forgetting to remove it before erasing starts means you lose the content of the boot stick too. Wouldn't it be nice to be able…
Read More

HowTo: Install the IBM Notes 9.0 client on Ubuntu 64-bit

Tutorials
IBM Notes (formerly Lotus Notes) is a corporate email and database collaboration tool. It's still popular and widely used, and at the time of writing is now up to version 9.0. Unfortunately IBM have a bad habit of assuming no-one uses 64-bit operating systems (yes, even in 2014), so with the exception of the Apple OS X version which doesn't have a 32-bit version at all, IBM continues to compile the Linux and Windows versions as 32-bit only applications. Installing the 32-bit Linux version does not work on 64-bit Ubuntu/Debian systems "out of the box" because of some hard-coded 32-bit only pre-requisites. This article will describe how to modify the installer so that it will work on 64-bit systems. (more…)
Read More

HowTo: Fix Apt-Get failing with a “Method did not start correctly” error

Tutorials
So, you decide to install a new package on your system, or perhaps update your system with some outstanding updates. You either use the Software Centre or the Apt-Get command from a terminal to do this and you are suddenly greeted with the following error: Failed to exec method /usr/lib/apt/methods/ E: Method  has died unexpectedly! E: Sub-process  returned an error code (100) E: Method /usr/lib/apt/methods/ did not start correctly And everything stops. Repeating the command produces the same error over and over. What just happened and how do you fix this? (more…)
Read More

HowTo: Fix Postgrey not working after upgrading from an older version of Ubuntu to a newer version.

Tutorials
Scenario: You've got some Postfix mail servers running with Postgrey for anti-spam greylisting. They're all using older versions of Ubuntu such as 10.04 LTS. You've decided that it's time to upgrade them to the next LTS, Ubuntu 12.04. You do the upgrade and it goes without a hitch. You restart the server, everything looks good, until you start seeing this message in your server's mail log:   Jan 23 21:17:58 mymailserver postfix/smtpd[7976]: connect from somecompany.com[100.200.300.400] Jan 23 21:17:59 mymailserver postfix/smtpd[7976]: warning: connect to 127.0.0.1:10023: Connection refused Jan 23 21:17:59 mymailserver postfix/smtpd[7976]: warning: problem talking to server 127.0.0.1:10023: Connection refused Jan 23 21:18:00 mymailserver postfix/smtpd[7976]: warning: connect to 127.0.0.1:10023: Connection refused Jan 23 21:18:00 mymailserver postfix/smtpd[7976]: warning: problem talking to server 127.0.0.1:10023: Connection refused Jan 23 21:18:00 mymailserver postfix/smtpd[7976]: NOQUEUE: reject:…
Read More

HowTo: Automatically determine your public IP address and email it periodically

Tutorials
Let's say you are running a poor man's website where you are just testing stuff but have no real intention of buying a domain name or paying your ISP to give you a static IP address. If you want to access your test site remotely, you need to know your public IP address, however your home ISP gives you a dynamic public IP address and every time you have a power failure, or reboot your router, you are assigned a brand new public IP address. This makes it very annoying if you are testing your site remotely. Sure, you could use a Dynamic DNS service to keep track of when your public IP address changes, but what if you have a paranoid client who does not want to use even…
Read More

HowTo: Monitor the progress of dd.

Tutorials
The dd command is a tool used to pipe data in from a source to a destination. It has a multitude of uses ranging from creating large dummy files of a specific size to duplicating hard-drives sector by sector to another disk or to a backup file. It's also useful for fixing problems with hard-drives that Windows refuses to deal with. But we're not looking at the virtues of dd here. We're looking at its annoyances and dd has one particularly glaring annoyance - a lack of display of progress. You could tell dd to start imaging your multi-terabyte hard-drive and not have any indication of how far it has gone - you just have to wait until it finishes. The dd command only outputs some information right at the…
Read More