The second question is the default install directory (/opt/ibm/db2/Vrr.mm) which is wise to keep (future products and examples on the internet might refer to it). In this article, we will use this one.įirst, the install asks to accept the license agreement. db2_install which is the console-based procedure.We advise you using this command only in a desktop environment. MobaXterm) the setup process does not start or hangs in the middle of the install. Often when you forward the X11 output to an SSH Client with a built-in X-Server (e.g.
If you intend to use Tivoli System Automation (TSA) then install this software before installing Db2. Many users have reported that no problems exist with latest Ubuntu release and an older Db2 release.Īfter you installed the missing software repeat the db2prereqcheck command again to make sure you are not missing anything Install the Db2 software In general, you can ignore these messages. 10.5 in order to do some testing) it is possible the db2prereqcheck reports that only older Ubuntu releases are supported. If you have downloaded an older release of Db2 (e.g.
But it is wise to have the JRE maintained by regular patch process so install it also: sudo apt-get install default-jre This is why db2prereqcheck does not report it as missing. The install process will check if the Java Runtime Engine (JRE) is installed and if not it will install a local copy for Db2.
Here is the common list for Ubuntu: sudo apt-get install libx32stdc++6 Very likely you need to install some missing modules. They are needed only to compile the IBM General Parallel File System (GPFS) Portability Layer (GPL) module which is used by the Db2 Purescale feature. You can safely ignore any reference to gcc, binutils, cpp, gcc-c++, and kernel-source. This will produce a report on missing software. To verify is all software needed by Db2 is installed on the server issue: sudo. In the examples we prefix each command with sudo but it is also possible to continue the install as root using sudo su – Install the missing server components needed by Db2 So in order to install you need to be a sudo user. Untar the download fileįirst, untar the file (it is a lot so it can take a while): tar -xzf vRR.MfpX_linux圆4_server_t.tar.gzĪfter the untar of the software go into the server_t directory cd server_tĪlthough it is possible to install Db2 as a non-root user we strongly recommend using root in order to install to prevent problems with future upgrades. Transfer the downloaded file, which has a name like vfp_linux圆4_server_t.tar.gz, to your home directory. In all cases, you need to log in with your ibm-id (which you can create for free).
Make sure you download the Linux 64-bit DB2 Universal Fix Pack for x86-64, AMD64 or Intel EM64T.