These installation notes are based on a single-partition installation
using the 2.6.20-16-generic kernel.
Note that IBM does not yet officially support this distribution for DB2
9. Any problems you encounter using this distribution must be replicated on a
supported distribution before IBM Support can help you resolve the
issue.
Also be aware that the PowerPC architecture is no longer supported in
Ubuntu 7.04 and later.
16.1. Installation notes
Since you cannot log in as root directly with an Ubuntu system, this
DB2 installation is run as the default user created during Ubuntu
setup (i.e. the regular user account with 'sudo' capability).
There are two ways of installing DB2 Express-C 9 on Ubuntu. The harder
of the two methods is to use the default DB2 db2setup,
and then make adjustments to the Ubuntu system afterwards to handle the
slight differences of Ubuntu's Debian-based packaging system. For
reasons of clarity and brevity, I will omit the instructions for doing it
this more difficult way; however, if you would like to see these
instructions, please send me an email (db2howto@gmail.com) and I will
pass them along.
The easy way to install DB2 Express-C on Ubuntu 7.04 is to download
the DB2 Express-C Debian package file and then use the Ubuntu package
installer. This way, almost everything is done for you, from installation to
configuration. Here's how to do it:
- Use any FTP client software and connect to:
ftp.software.ibm.com/software/data/db2/express/latest_debs
- Download db2exc_9.1.2-1_i386.deb(or the
latest equivalent .deb file)
- Once the download is complete, run this command:
sudo gdebi-gtk db2exc_9.1.2-1_i386.deb |
- Click "Install Package"
- Click "Close" once the package has been
installed
After hitting the "
Install Package" button, the Ubuntu
package installer will unpack and install the package and configure the DB2
users and default instance. Click the "
Close" button
once the installation is complete.