Category Archives: Ubuntu

35,000 Core Ubuntu Server Farm at Weta Digital

I just read an article over at Dustin Kirkland’s blog regarding the enormous server farm that Weta Digital has setup to render blockbuster movies. Apparently the latest Blockbuster, Avatar, had scenes rendered using a 35,000 core Ubuntu-based server farm. 35,000! That is hard to imagine! They’ve also rendered a few other films you may have heard of:

  • Avatar
  • District 9
  • The Day the Earth Stood Still
  • King Kong
  • Jumper
  • Lord of the Rings
  • Fantastic Four
  • i-Robot
  • X-Men
  • Eragon

It is amazing to think that in just a few short years Ubuntu has gained such a reputation that it would be used for such high-end commercial services.

A few years ago I did a talk at a local conference regarding Ubuntu in the Enterprise. Sadly, at the time, it was very hard to find any real solid documentation regarding large businesses using Ubuntu day-to-day. Sure it had crept onto some corporate desktops, but it was very hard to find it elsewhere. Now, we have stories like this and I’m sure this is just the tip of the iceberg!

What other companies do you know that run Ubuntu in production? I’m sure many of us would be interested to find out where else it is being used.

(Note: more details and links regarding Weta Digital and the source of this data at Dustin’s blog.)

Continued Blog Improvements

I’m working this morning on some additional blog improvements. I’m focusing on speed and efficiency, as well as reader interaction. If you notice anything odd on the site, this is likely the reason.

If you have any must-have WP plugin suggestions that I may be missing, I’d be glad to hear about them!

Apt-Cacher and Apt-Mirror : Revisited

I’ve written a detailed article on the topic of creating your own Ubuntu repository mirror using the Apt-Mirror utility. This article also includes leveraging an Apt-Cacher, for consolidating and saving bandwidth between multiple machines. We regularly make use of both of these utilities to maintain our Ubuntu and Debian installations in my workplace. We have maintained an internal repository to support our developers (all running Ubuntu!) for over a year. I also make use of an Apt-Cacher at home, which is a great boost to my limited bandwidth.

If you’d like to read my latest writeup on leveraging these two tools, see my article at Packt Publishing.

Install Adobe PDF Reader 9 on Ubuntu 9.10 “Karmic Koala”

UPDATE: This article has been update for Ubuntu 10.04 LTS. Please see Install Adobe Reader 9.3.2 on Ubuntu 10.04 “Lucid Lynx”.

Adobe Reader 9 allows you to easily view, print, and collaborate on PDF files! Adobe Reader is the standard for electronic document sharing. It is the only PDF file viewer that can open and interact with all PDF documents. Use Adobe Reader 9 to view, search, digitally sign, verify, print, and collaborate on Adobe PDF files. In this article I will outline how to install the latest Adobe Reader release on Ubuntu 9.10 “Karmic Koala”.

Requirements

Installation of Adobe Reader 9 requires the activation of the Canonical Partner repository. You can add the Partner repository by following the steps outlined below.

  1. Navigate to System > Administration > Software Sources
  2. Select “Third Party” or “Other Software”
  3. Select “Add” and enter: deb http://archive.canonical.com/ karmic partner

Installation

Once the Partner repository is configured and active you are ready to install Adobe Reader 9. This can be done by running the following command within your terminal, or clicking the linked package name.

sudo aptitude install acroread

Use

You should now be able to launch Adobe Reader 9 from your Applications menu. You can find it in Applications > Office > Adobe Reader 9, or in KDE: Office > Adobe Reader 9. This installation also prompts to set Adobe Reader 9 as the default PDF reader.

Announcing Ubuntu Developer Week!

I wanted to pass on an announcement today that I think many of our readers will be interested in. If you want to get more involved in Ubuntu, or simply want a better understanding of how the participation and development process works, this is an event for you! I have participated in a number of these Ubuntu Developer Week events, and they are full of very good presentations. The only difficult thing is trying to keep up!

From the Fridge:

Welcome to the Ubuntu Developer Week! We will have one week of action-packed sessions from Jan 25th 2010 to Jan 29th2010!

Ubuntu Developer Week is a series of online workshops where you can:

  • learn about different packaging techniques
  • find out more about different development teams
  • check out the efforts of the world-wide Development Community
  • participate in open Q&A sessions with Ubuntu developers
  • much more…

All sessions will happen on IRC, and the best way to join is to use Lernid. (There are other ways too. :-) )

If you’re not comfortable yet asking all your questions in English, we will have a couple of people helping to translate your questions and translating back the answers. Have a look at the Ubuntu Developer Week page to see how it works.

Like the sound of it? DIGG IT!

Visit The Fridge for more information.

Open Office 3.2 Release Candidate

For those that are fans of the Free Software Office Suite, Open Office, a release candidate has been made available for version 3.2. This version improves a number of features in all areas of the tool. Some of the highlights are:

  • Faster startup times: both Calc and Writer have cold-boot start times improved by 46%!
  • Improved ODF standards support
  • Improved proprietary file support including MS Excel, MS Word, MS Powerpoint, OLE Objects, Encryption support, and much more
  • Support for Postscript based OpenType fonts
  • Improved autocorrect word completion
  • Mediawiki support moved to extension
  • A number of Calc improvements including: improved sort, better merged cell handling, complex copy/paste,
  • much more!

If you’d like to see the complete list, visit: http://www.openoffice.org/dev_docs/features/3.2/rc1.html

For those wanting to upgrade to the Release Candidate (Final release is scheduled for January), you can download the latest packages at the link below. It should be noted that 3.2 final release should be included in the next Ubuntu release, 10.04, due this April.

http://download.openoffice.org/all_rc.html

You’ll want to select the .deb package from your preferred language. Enjoy.

Ubuntu 9.10 “Karmic Koala” Torrents Available Here

As you’re probably aware, Ubuntu 9.10 was released on Oct 29th, 2009. The best way to download these new images is by way of bittorrent.
Whether you are looking for the latest LiveCD, Server installation or Netbook Remix, we’ve got your torrents here. See the list below to find
your preferred image and start downloading! Please remember to seed once you’re finished, at least 2:1.

Ubuntu

Ubuntu 9.10 Alternate (text-based) 32bit Torrent

Ubuntu 9.10 Alternate (text-based) 64bit Torrent

Ubuntu 9.10 Desktop (LiveCD) 32bit Torrent

Ubuntu 9.10 Desktop (LiveCD) 64bit Torrent

Ubuntu 9.10 Netbook Remix 32bit Torrent

Ubuntu 9.10 Moblin Remix 32bit Torrent

Kubuntu

Kubuntu 9.10 Alternate (text-based) 32bit Torrent

Kubuntu 9.10 Alternate (text-based) 64bit Torrent

Kubuntu 9.10 Desktop (LiveCD) 32bit Torrent

Kubuntu 9.10 Desktop (LiveCD) 64bit Torrent

Kubuntu 9.10 Netbook Remix 32bit Torrent

Xubuntu

Xubuntu 9.10 Alternate (text-based) 32bit Torrent

Xubuntu 9.10 Alternate (text-based) 64bit Torrent

Xubuntu 9.10 Desktop (LiveCD) 32bit Torrent

Xubuntu 9.10 Desktop (LiveCD) 64bit Torrent

Ubuntu Studio

Ubuntu Studio 9.10 Alternate (text-based) 32bit Torrent

Ubuntu Studio 9.10 Alternate (text-based) 64bit Torrent

Ubuntu Server

Ubuntu 9.10 Server 32bit Torrent

Ubuntu 9.10 Server 64bit Torrent

Mythbuntu

Mythbuntu 9.10 Desktop 32bit Torrent

Mythbuntu 9.10 Desktop 64bit Torrent

Edubuntu

Edubuntu 9.10 DVD 32bit Torrent

Edubuntu 9.10 DVD 64bit Torrent

If I missed any, please let me know and I’ll add them. I’d like this list to be a definitive list of all available 9.10 torrents!

Install Flash and Multimedia Support on Ubuntu 9.10 “Karmic Koala”

Ubuntu’s latest release is here, version 9.10 “Karmic Koala”, and with it a batch of new users. It seems like each new release brings a pool of new adopters, and with it a pool of new questions. With this post I thought I would outline the simple process of adding all of the “extra” goodies to your installation.

Ubuntu Restricted Extras

Ubuntu has simplified the method for installing codecs and other plugins by capturing the most popular within a single meta-package. This package, ubuntu-restricted-extras, provides a list of packages that will complete most of your multimedia requirements. From the package description:

Installing this package will pull in support for MP3 playback and decoding, support for various other audio formats (GStreamer plugins), Microsoft fonts, Java runtime environment, Flash plugin, LAME (to create compressed audio files), and DVD playback.

To install this package, enter the following command in the Terminal (Applications > Accessories > Terminal) or simply click on the link below:

sudo aptitude install ubuntu-restricted-extras

Additional Codecs

If you want more codecs and additional support for encrypted DVD playback you’ll need to go one step further. You’ll need to take advantage of the Medibuntu repository, which is a fully functional, community maintained repository specializing in Multimedia, Entertainment and Distractions in Ubuntu.

Adding Medibuntu

The following few commands will simplify the process of adding the Medibuntu repository and importing its signing key:

cd /etc/apt/sources.list.d/
sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list
sudo apt-get -q update
sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring
sudo apt-get -q update

Installing Medibuntu Packages

After this is finished you’ll be able to install additional packages. The most popular packages from Medibuntu are the w32codecs (w64codecs for 64bit installations) and libdvdcss2 for encrypted DVD playback support. To install these simply use the commands below in your terminal, or click the link.

DVD Playback

sudo aptitude install libdvdcss2

Windows Media Codecs – 32bit

sudo aptitude install w32codecs

Windows Media Codecs – 64bit

sudo aptitude install w64codecs

I hope these packages are able to provide the multimedia functionality that you’re looking for. You might also want to check out the VLC package for additional media playback support. Enjoy!

Use zsync to update existing .iso images (alpha, beta or RC -> final)

Happy Ubuntu release day! The latest and greatest that the Ubuntu team has to offer is now available for download. Good luck getting it from the main site though. The only chance of getting a reasonable download speed is getting it from an alternate location, or updating what you currently have! In this short article I will outline how to update your existing alpha, beta or RC images to the final image in a fraction of the time it takes to download the full CD!

zsync

The download mirrors for this release have started to include .zsync files. zsync is similar to rsync, but it puts the load on the client vs the server, and it allows you to update your existing images in a fraction of the time it would take to re-download the full image.

I just finished using zsync to update my existing RC image, and I had the final version in just under three minutes. Not bad considering the amount of people trying to download!

To get started using zsync you’ll need to run the following command (or click the link):

sudo aptitude install zsync

Once that is installed you’ll need to rename your existing image, whether it be the alpha, beta or RC image, to the final image. As an example, I did:

mv ubuntu-9.10-rc-desktop-i386.iso ubuntu-9.10-desktop-i386.iso

After you’ve renamed your image to match the final, you can run zsync using one of the commands below. Find your version (Desktop, Alternate, Netbook Remix or Server) and architecture:

32bit Desktop

zsync http://mirrors.cat.pdx.edu/ubuntu-releases/9.10/ubuntu-9.10-desktop-i386.iso.zsync
zsync http://ftp.usf.edu/pub/ubuntu-releases/9.10/ubuntu-9.10-desktop-i386.iso.zsync
zsync http://mirror.as29550.net/releases.ubuntu.com/9.10/ubuntu-9.10-desktop-i386.iso.zsync
zsync http://mirror.anl.gov/pub/ubuntu-iso/CDs-Ubuntu/9.10/ubuntu-9.10-desktop-i386.iso.zsync
zsync http://mirrors.xmission.com/ubuntu-cd/9.10/ubuntu-9.10-desktop-i386.iso.zsync
zsync http://ubuntu.osuosl.org/releases/9.10/ubuntu-9.10-desktop-i386.iso.zsync
zsync http://ubuntu.inode.at/cdimage/karmic/ubuntu-9.10-desktop-i386.iso.zsync

64bit Desktop

zsync http://mirrors.cat.pdx.edu/ubuntu-releases/9.10/ubuntu-9.10-desktop-amd64.iso.zsync
zsync http://ftp.usf.edu/pub/ubuntu-releases/9.10/ubuntu-9.10-desktop-amd64.iso.zsync
zsync http://mirror.as29550.net/releases.ubuntu.com/9.10/ubuntu-9.10-desktop-amd64.iso.zsync
zsync http://mirror.anl.gov/pub/ubuntu-iso/CDs-Ubuntu/9.10/ubuntu-9.10-desktop-amd64.iso.zsync
zsync http://ubuntu.osuosl.org/releases/9.10/ubuntu-9.10-desktop-amd64.iso.zsync
zsync http://mirrors.xmission.com/ubuntu-cd/9.10/ubuntu-9.10-desktop-amd64.iso.zsync
zsync http://ubuntu.inode.at/cdimage/karmic/ubuntu-9.10-desktop-amd64.iso.zsync

32bit Alternate

zsync http://mirrors.cat.pdx.edu/ubuntu-releases/9.10/ubuntu-9.10-alternate-i386.iso.zsync
zsync http://ftp.usf.edu/pub/ubuntu-releases/9.10/ubuntu-9.10-alternate-i386.iso.zsync
zsync http://mirror.as29550.net/releases.ubuntu.com/9.10/ubuntu-9.10-alternate-i386.iso.zsync
zsync http://mirror.anl.gov/pub/ubuntu-iso/CDs-Ubuntu/9.10/ubuntu-9.10-alternate-i386.iso.zsync
zsync http://ubuntu.osuosl.org/releases/9.10/ubuntu-9.10-alternate-i386.iso.zsync
zsync http://mirrors.xmission.com/ubuntu-cd/9.10/ubuntu-9.10-alternate-i386.iso.zsync
zsync http://ubuntu.inode.at/cdimage/karmic/ubuntu-9.10-alternate-i386.iso.zsync

64bit Alternate

zsync http://mirrors.cat.pdx.edu/ubuntu-releases/9.10/ubuntu-9.10-alternate-amd64.iso.zsync
zsync http://ftp.usf.edu/pub/ubuntu-releases/9.10/ubuntu-9.10-alternate-amd64.iso.zsync
zsync http://mirror.as29550.net/releases.ubuntu.com/9.10/ubuntu-9.10-alternate-amd64.iso.zsync
zsync http://mirror.anl.gov/pub/ubuntu-iso/CDs-Ubuntu/9.10/ubuntu-9.10-alternate-amd64.iso.zsync
zsync http://ubuntu.osuosl.org/releases/9.10/ubuntu-9.10-alternate-amd64.iso.zsync
zsync http://mirrors.xmission.com/ubuntu-cd/9.10/ubuntu-9.10-alternate-amd64.iso.zsync
zsync http://ubuntu.inode.at/cdimage/karmic/ubuntu-9.10-alternate-amd64.iso.zsync

32bit Netbook Remix

zsync http://mirrors.cat.pdx.edu/ubuntu-releases/9.10/ubuntu-9.10-netbook-remix-i386.iso.zsync
zsync http://ftp.usf.edu/pub/ubuntu-releases/9.10/ubuntu-9.10-netbook-remix-i386.iso.zsync
zsync http://mirror.as29550.net/releases.ubuntu.com/9.10/ubuntu-9.10-netbook-remix-i386.iso.zsync
zsync http://mirror.anl.gov/pub/ubuntu-iso/CDs-Ubuntu/9.10/ubuntu-9.10-netbook-remix-i386.iso.zsync
zsync http://ubuntu.osuosl.org/releases/9.10/ubuntu-9.10-netbook-remix-i386.iso.zsync
zsync http://mirrors.xmission.com/ubuntu-cd/9.10/ubuntu-9.10-netbook-remix-i386.iso.zsync
zsync http://ubuntu.inode.at/cdimage/karmic/ubuntu-9.10-netbook-remix-i386.iso.zsync

32bit Server

zsync http://mirrors.cat.pdx.edu/ubuntu-releases/9.10/ubuntu-9.10-server-i386.iso.zsync
zsync http://ftp.usf.edu/pub/ubuntu-releases/9.10/ubuntu-9.10-server-i386.iso.zsync
zsync http://mirror.as29550.net/releases.ubuntu.com/9.10/ubuntu-9.10-server-i386.iso.zsync
zsync http://mirror.anl.gov/pub/ubuntu-iso/CDs-Ubuntu/9.10/ubuntu-9.10-server-i386.iso.zsync
zsync http://ubuntu.osuosl.org/releases/9.10/ubuntu-9.10-server-i386.iso.zsync
zsync http://mirrors.xmission.com/ubuntu-cd/9.10/ubuntu-9.10-server-i386.iso.zsync
zsync http://ubuntu.inode.at/cdimage/karmic/ubuntu-9.10-server-i386.iso.zsync

64bit Server

zsync http://mirrors.cat.pdx.edu/ubuntu-releases/9.10/ubuntu-9.10-server-amd64.iso.zsync
zsync http://ftp.usf.edu/pub/ubuntu-releases/9.10/ubuntu-9.10-server-amd64.iso.zsync
zsync http://mirror.as29550.net/releases.ubuntu.com/9.10/ubuntu-9.10-server-amd64.iso.zsync
zsync http://mirror.anl.gov/pub/ubuntu-iso/CDs-Ubuntu/9.10/ubuntu-9.10-server-amd64.iso.zsync
zsync http://ubuntu.osuosl.org/releases/9.10/ubuntu-9.10-server-amd64.iso.zsync
zsync http://mirrors.xmission.com/ubuntu-cd/9.10/ubuntu-9.10-server-amd64.iso.zsync
zsync http://ubuntu.inode.at/cdimage/karmic/ubuntu-9.10-server-amd64.iso.zsync

zsync will automate the rest of the process by scanning your image, comparing it to the list of files on the final image, and then synchronizing the two. Your download speed may vary, but mine was finished in just a few minutes.

Once you have the final image please seed it by downloading the .torrent file and allow it to share the updated .iso!

How To Upgrade To Ubuntu 9.10 “Karmic Koala”

So the new Ubuntu is here and you’re just dying to upgrade and have a look at all the new features! With just a few simple steps you’ll be up and running the new system in no time! Before you dive right in there are a few things you should know, and a few ways to (hopefully) make your upgrade process more pleasant.

Upgrade vs Fresh Install

You may wonder if its a better idea to do a fresh install vs upgrade your current installation. There are benefits to doing a fresh installation, but there are also benefits to upgrading your system in place. First, you don’t need to deal with finding and backing up all of your data. Ever done that before and forget something? It’s easy to do. Doing a fresh installation will require that you backup anything you want to keep, because a fresh install will clobber your drive and start fresh. An upgrade on the other hand can be done in place, and you can generally keep working while it churns along in the background. Keep working on the web, or write emails. Do whatever it is that you normally do while your machine upgrades quietly in the background. This is not a problem with the upgrade process.

Another reason that I might suggest doing an in-place upgrade is that it is supposed to be a supported method to move from one release to another, and we should ensure that is the case by using and testing it. The last thing we want to do is provide new and exciting releases every six months, yet require everyone to start fresh each time. This goes particularly for those running Ubuntu that are not tech enthusiasts. Ubuntu should be easy to install, once, and then easy to upgrade as needed after that. I would suggest doing an in-place upgrade and ensure that process continues to mature.

Preparation

Before you get started there are a few things you should know.

First, this upgrade only works from Ubuntu 9.04 to 9.10. If you’re on a previous version (8.10 or earlier) you will not be able to directly upgrade to 9.10. In that situation you’ll either want to do a fresh installation OR do incremental upgrades leading up to 9.10. Incremental upgrades are beyond the scope of this article, but there is plenty of documentation regarding the process here.

Second, I suggest that you apply all available updates to your current system before you move to the new version. You can do this in two ways. One involves the command line and another includes the graphical interface. I’ll outline each below.

Command Line Updates (Pre-Upgrade)

On the command-line (Applications > Accessories > Terminal) you can run the following command to check for and apply any updates pending for your current installation.

sudo aptitude update && sudo aptitude safe-upgrade && sudo aptitude full-upgrade

Apply any updates that are pending from the command above before you move onto the next step, Upgrading. Follow any suggestions to reboot before moving on as well.

Graphical Updates (Pre-Upgrade)

If you prefer the graphical environment you can check for and apply updates by way of the Update Manager tool (System > Administration > Update Manager). This tool will automatically scan for and list any pending updates. Again, be sure to apply these before moving to the next step. This includes applying and rebooting for kernel updates before proceeding.

Selecting a Mirror

The steps outlined below describe how to do a network-based in-place upgrade. This will require an internet connection as well as a repository to connect to. I can’t stress this next point enough. Please. Please configure your system to use an alternate Ubuntu mirror other than the default. The default mirror(s) will be so overwhelmed with traffic that it’ll take forever to update your system. I might suggest using something like mirrors.kernel.org or another public mirror with a healthy pipe. You can also look for regional mirrors here. The list of regional mirrors also communicates how up to date the mirror is. You will, of course, need to select and up to date mirror.

To configure your system to use an alternate mirror you can follow the following steps:

  1. Open “Update Manager” (System > Administration > Update Manager)
  2. Click “Settings”
  3. On the “Ubuntu Software” tab there is a drop-down box labeled “Download From”
  4. Select “Other”
  5. Manually select a regional mirror OR click the button “Select Best Server”

Choose a Download Server

Upgrading to Ubuntu 9.10

So you’ve applied all of the pending updates for Ubuntu 9.04 and now you’re ready to move on to Ubuntu 9.10. As above, this can be done via the command line or graphical interface. In this case, I might suggest the graphical interface.

Navigate to System > Administration > Update Manager and let it scan for available updates.

Update-Manager

If you are reading this after the release of Ubuntu 9.10 (Oct 29th), this tool will automatically suggest that there is a new version available and offer to let you upgrade. This process will be automated for the most part, and quietly work in the background while you continue with your day. When it is finished it will suggest that you reboot your machine for the changes to take effect. When your machine comes back up you’ll be ready with Ubuntu 9.10.

Enjoy!