Archive | ubuntu RSS feed for this section

2 September 2008 4 Comments

Installing Zend Framework on Ubuntu (Hardy)

As of the 8.04 Hardy release of Ubuntu, Zend Framework has been added to the repositories, so you can install it by simply running:

sudo apt-get install zend-framework

The package installs 17M of files into /usr/share/php/libzend-framework-php/.
Once that has finished, you then need to ensure that the framework is in your PHP include path. The best way [...]

28 July 2008 12 Comments

Installing the Brother MFC-9840CDW on Ubuntu

To install a Brother MFC 9840 CDW printer on Ubuntu, you must:

Download the LPR driver from here
Download the CUPS wrapper driver from here.
Install them.

You can use these commands:

wget http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc9840cdwlpr-1.0.0-7.i386.deb&lang=English_lpr
wget http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/mfc9840cdwcups-1.0.0-7.i386.deb
sudo mkdir /var/spool/lpd
sudo mkdir /usr/share/cups/model
sudo chmod 777 /usr/share/cups/model
sudo dpkg -i –force-all –force-architecture mfc9840cdwlpr-1.0.0-7.i386.deb
sudo dpkg -i –force-all –force-architecture mfc9840cdwcups-1.0.0-7.i386.deb
sudo aa-complain cupsd

UPDATE – 22ND NOVEMBER 2008 – ALTERNATIVE [...]

5 July 2008 0 Comments

rtorrent: Error in option file

My bit torrent client of choice is rtorrent, which runs from the command line. I have been using it without problems for months, but today it stopped working and gave an error instead:
rtorrent: Error in option file: ~/.rtorrent.rc:4: Not a value
It seems that the rtorrent developers have made some changes to the way it handles [...]

1 May 2008 18 Comments

Setting up asterisk-gui on Ubuntu

Tonight I had a go at installing Digium’s asterisk-gui. I followed some instructions from Asterisk Guru, but then had to apply a fix at the end because the static-http folder was in the wrong place.
Installation Instructions
Download the asterisk-gui source code from SVN:

mkdir -p ~/downloads/asterisk-gui
cd ~/downloads/asterisk-gui
svn checkout http://svn.digium.com/svn/asterisk-gui/trunk .

Compile the source code:

./configure
./make
./make install

Backup your asterisk config:

cp [...]

1 May 2008 0 Comments

Missing asterisk config files in Ubuntu / Debian

If you install Asterisk on Ubuntu via apt-get, and then remove it and re-install again, you may find that you are missing the all the config files in /etc/asterisk.
This is a bug in the debian asterisk package that means that the config files are deleted when you remove the asterisk package even though they are [...]

30 April 2008 9 Comments

Installing phpMyAdmin Advanced Features on Ubuntu

phpMyAdmin
To install the advanced features of phpMyAdmin you have to create a special control database that PMA uses to store bookmarks and relationships etc… PMA comes with a script called create_tables.sql that contains the relevant sql statements to set these tables up. Normally, when you install phpMyAdmin directly from source, this create_tables.sql script can [...]

15 April 2008 9 Comments

Encoding mp3 audio with ffmpeg on Ubuntu Hardy

If you already have ffmpeg installed (without mp3 support), then firstly uninstall it.
MP3 support isn’t included with ffmpeg in the default Ubuntu repositories so to get it you have to enable the Medibuntu repos (assuming this is legal in your area).

sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O – | sudo apt-key add – && [...]

6 December 2007 0 Comments

Real media to Xvid (divx) and cropping with Ubuntu

If you liked my last post on how to save real player streams and convert them to mpeg 4 avi files, then you might find this post useful.
Today I needed to save a real player stream of last night’s 10 o’clock news from the BBC and then convert it into an xvid file. I [...]

25 November 2007 5 Comments

Converting RealPlayer .rm files to MPEG (mp4) .avi with Ubuntu

You will need mplayer and mencoder, as well as the win32 codecs in order to convert .rm files to their mpeg equivalent. So if you haven’t already got them installed you can get them with:

sudo apt-get install mplayer mencoder
wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2
tar jxfv essential-20071007.tar.bz2
sudo mkdir -p /usr/lib/win32
sudo mv -i essential-20071007/* /usr/lib/win32/

Next you need to download the realplayer [...]

26 August 2007 1 Comment

How to disable touchpad tapping (clicking) with Ubuntu

Update
My original post described how to install the qsynaptic utility to fix this problem, but it turns out that the settings are lost every time you restart your computer, so I have found a much quicker fix to disable touchpad tapping. Just add this line to your /etc/X11/xorg.conf:

Option “TapButton1″ “0″

If I get some time I [...]