646 lines
10 KiB
HTML
646 lines
10 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Prerequisites</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="HOME"
|
|
TITLE="IBM DB2 Express-C for Linux HOWTO"
|
|
HREF="index.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="What's included in DB2 Express-C 9"
|
|
HREF="whatsinexpc9.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Installation considerations and planning"
|
|
HREF="planning.html"></HEAD
|
|
><BODY
|
|
CLASS="sect1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
SUMMARY="Header navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>IBM DB2 Express-C for Linux HOWTO</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="whatsinexpc9.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
></TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="planning.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="sect1"
|
|
><H1
|
|
CLASS="sect1"
|
|
><A
|
|
NAME="prerequisites"
|
|
></A
|
|
>4. Prerequisites</H1
|
|
><P
|
|
>Prerequisites are the hardware and software elements needed on your
|
|
system before you can install and use DB2 Express-C 9. This section covers:
|
|
</P
|
|
><P
|
|
></P
|
|
><UL
|
|
><LI
|
|
>Hardware requirements:
|
|
<P
|
|
></P
|
|
><UL
|
|
><LI
|
|
>Supported processors</LI
|
|
><LI
|
|
>Disk space requirements</LI
|
|
><LI
|
|
>Memory requirements</LI
|
|
></UL
|
|
></LI
|
|
><LI
|
|
>Software requirements:
|
|
<P
|
|
></P
|
|
><UL
|
|
><LI
|
|
>Linux distributions</LI
|
|
><LI
|
|
>Kernel levels and libraries requirements</LI
|
|
><LI
|
|
>Additional software requirements</LI
|
|
></UL
|
|
></LI
|
|
></UL
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN69"
|
|
></A
|
|
>4.1. Hardware requirements</H2
|
|
><DIV
|
|
CLASS="sect3"
|
|
><H3
|
|
CLASS="sect3"
|
|
><A
|
|
NAME="AEN71"
|
|
></A
|
|
>4.1.1. Supported processor architectures</H3
|
|
><P
|
|
></P
|
|
><UL
|
|
><LI
|
|
>x86 (32-bit processor)</LI
|
|
><LI
|
|
>x86–64 (64-bit processor)</LI
|
|
><LI
|
|
>POWER™ (any iSeries™ or pSeries® that
|
|
supports Linux)</LI
|
|
></UL
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect3"
|
|
><H3
|
|
CLASS="sect3"
|
|
><A
|
|
NAME="AEN77"
|
|
></A
|
|
>4.1.2. Disk space requirements</H3
|
|
><P
|
|
>Take into account the disk space requirements before you install and
|
|
configure DB2 on your distribution:
|
|
<DIV
|
|
CLASS="table"
|
|
><A
|
|
NAME="AEN80"
|
|
></A
|
|
><P
|
|
><B
|
|
>Table 1. Disk space requirements</B
|
|
></P
|
|
><TABLE
|
|
BORDER="1"
|
|
CLASS="CALSTABLE"
|
|
><THEAD
|
|
><TR
|
|
><TH
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
><P
|
|
>Install type</P
|
|
></TH
|
|
><TH
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
><P
|
|
>Description</P
|
|
></TH
|
|
><TH
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
><P
|
|
>Required disk
|
|
space</P
|
|
></TH
|
|
></TR
|
|
></THEAD
|
|
><TBODY
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
><P
|
|
>Typical</P
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
><P
|
|
>DB2 is installed with most features
|
|
and functionality, including graphical tools such as the Control
|
|
Center.</P
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
><P
|
|
>460 to 560 MB</P
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
><P
|
|
>Compact</P
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
><P
|
|
>DB2 is installed with basic features
|
|
and functionality, but without the graphical tools.</P
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
><P
|
|
>380 to 460 MB</P
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
><P
|
|
>Custom</P
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
><P
|
|
>This option allows you to select the
|
|
features and functionality that you want to install.</P
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
><P
|
|
>320 to 820 MB</P
|
|
></TD
|
|
></TR
|
|
></TBODY
|
|
></TABLE
|
|
></DIV
|
|
>
|
|
</P
|
|
><P
|
|
>It's important to allocate enough disk space for the software, along
|
|
with the product documentation (if desired) and the databases you create.
|
|
</P
|
|
><P
|
|
> In DB2 9, product documentation is accessed through the DB2 Information
|
|
Center, either via the web, or as a local system installation. To install
|
|
this locally requires at least 100 MB when installing the core English
|
|
language files. Additional space is required for other additional languages. If
|
|
disk space is an issue, you can configure DB2 to access the Information
|
|
Center from the Web. More detail about this is provided in
|
|
<A
|
|
HREF="help.html"
|
|
><I
|
|
>Installing the DB2 Information Center</I
|
|
></A
|
|
>.
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect3"
|
|
><H3
|
|
CLASS="sect3"
|
|
><A
|
|
NAME="AEN119"
|
|
></A
|
|
>4.1.3. Memory requirements</H3
|
|
><P
|
|
>We recommend that you should allocate a minimum of 512 MB of RAM for
|
|
DB2 Express-C 9, and additional memory should be allocated for other
|
|
software and communication processes. When determining memory
|
|
requirements, consider the following points:
|
|
<P
|
|
></P
|
|
><UL
|
|
><LI
|
|
>Your SWAP space should be at least twice as much as your RAM.
|
|
</LI
|
|
><LI
|
|
>Additional memory should be allocated for any non-DB2 software
|
|
that may be running on your system.
|
|
</LI
|
|
><LI
|
|
>Additional memory is necessary to support database clients and
|
|
database activity.
|
|
</LI
|
|
><LI
|
|
>These memory requirements will be affected by the size and
|
|
complexity of your database system, as well as specific performance
|
|
requirements.
|
|
</LI
|
|
><LI
|
|
>The maximum RAM allowed for a DB2 Express-C installation is 4 GB.
|
|
</LI
|
|
></UL
|
|
>
|
|
</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN128"
|
|
></A
|
|
>4.2. Software requirements</H2
|
|
><DIV
|
|
CLASS="sect3"
|
|
><H3
|
|
CLASS="sect3"
|
|
><A
|
|
NAME="AEN130"
|
|
></A
|
|
>4.2.1. Distribution levels that are supported by DB2 Express-C 9</H3
|
|
><P
|
|
>For a list of all the distributions that are officially
|
|
supported, as well as the latest information about kernels, libraries,
|
|
integrated cluster environments, and papers, visit the <A
|
|
HREF="http://www.ibm.com/software/data/db2/linux/validate/"
|
|
TARGET="_top"
|
|
>DB2 for Linux
|
|
validation</A
|
|
> web site listed in <A
|
|
HREF="resources.html"
|
|
><I
|
|
>Resources</I
|
|
></A
|
|
>.
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect3"
|
|
><H3
|
|
CLASS="sect3"
|
|
><A
|
|
NAME="AEN135"
|
|
></A
|
|
>4.2.2. Additional software requirements</H3
|
|
><P
|
|
>Depending on your DB2 requirements, you may be required to install
|
|
additional software packages for DB2 to function properly. Make sure that
|
|
these software packages are installed prior to using DB2.
|
|
<P
|
|
></P
|
|
><UL
|
|
><LI
|
|
><P
|
|
>X Window System software, capable of rendering a graphical
|
|
window manager (KDE, Gnome, etc.). You will need this if you want to
|
|
use the DB2 graphical installer, or any of the DB2 graphical
|
|
tools.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>A web browser, to view topics in the DB2 Information
|
|
Center.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>If you are using NIS or NIS+ for security
|
|
authentication on your system, you must create DB2 user accounts
|
|
before installing DB2.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Additional packages, as outlined in the following table:
|
|
<DIV
|
|
CLASS="table"
|
|
><A
|
|
NAME="AEN147"
|
|
></A
|
|
><P
|
|
><B
|
|
>Table 2. Package requirements</B
|
|
></P
|
|
><TABLE
|
|
BORDER="1"
|
|
CLASS="CALSTABLE"
|
|
><THEAD
|
|
><TR
|
|
><TH
|
|
WIDTH="16%"
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
><P
|
|
>Package name</P
|
|
></TH
|
|
><TH
|
|
WIDTH="25%"
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
><P
|
|
>RPM name</P
|
|
></TH
|
|
><TH
|
|
WIDTH="58%"
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
><P
|
|
>Description</P
|
|
></TH
|
|
></TR
|
|
></THEAD
|
|
><TBODY
|
|
><TR
|
|
><TD
|
|
WIDTH="16%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
><P
|
|
>compat-libstdc++</P
|
|
></TD
|
|
><TD
|
|
WIDTH="25%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
><P
|
|
>compat-libstdc++</P
|
|
></TD
|
|
><TD
|
|
WIDTH="58%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
><P
|
|
>Required by 64-bit
|
|
architectures only. Required for backwards compatibility
|
|
with standard C++ libraries used by DB2.</P
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="16%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
><P
|
|
>nfs-utils</P
|
|
></TD
|
|
><TD
|
|
WIDTH="25%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
><P
|
|
>nfs-utils (version 1.0 or later)</P
|
|
></TD
|
|
><TD
|
|
WIDTH="58%"
|
|
ALIGN="LEFT"
|
|
VALIGN="MIDDLE"
|
|
><P
|
|
>Network File System support
|
|
package. It allows access for local files to remote
|
|
machines. Required for systems utilizing NFS mounted
|
|
drives.</P
|
|
></TD
|
|
></TR
|
|
></TBODY
|
|
></TABLE
|
|
></DIV
|
|
>
|
|
To check whether you have these packages installed, use the
|
|
<B
|
|
CLASS="command"
|
|
>rpm -q</B
|
|
> commands:
|
|
<TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="screen"
|
|
>rpm -qa compat-libstdc++*</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
>
|
|
</P
|
|
><P
|
|
>To install these packages on Red Hat Linux, use the Red Hat
|
|
Linux installation CDs and the <B
|
|
CLASS="command"
|
|
>rpm</B
|
|
> command, or
|
|
the <B
|
|
CLASS="command"
|
|
>up2date</B
|
|
> utility. For example, to install
|
|
the compat-libstdc++ package from the Red Hat Linux CD, mount the
|
|
Red Hat Linux CD #4, and enter this command as root:
|
|
<TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="screen"
|
|
>rpm -ivh /mnt/cdrom/RedHat/RPMS/compat-libstdc++-296-2.96-132.7.2.i386.rpm</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
>
|
|
To install using the up2date package, run this command as root:
|
|
<TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="screen"
|
|
>up2date compat-libstdc++</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
>
|
|
</P
|
|
><P
|
|
>To install these packages on SUSE Linux, you can also use
|
|
<B
|
|
CLASS="command"
|
|
>rpm</B
|
|
> or use the handy YaST (Yet another Setup
|
|
Tool) utility. For example, to install nfs-utils on SLES 9
|
|
using YaST:
|
|
<P
|
|
></P
|
|
><OL
|
|
TYPE="1"
|
|
><LI
|
|
><P
|
|
>Log on as root</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>From the YaST Control Center, select Software ->
|
|
Software Management, then use the search "nfs-utils" to find the
|
|
appropriate packages.</P
|
|
></LI
|
|
></OL
|
|
>
|
|
</P
|
|
></LI
|
|
></UL
|
|
>
|
|
</P
|
|
></DIV
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="whatsinexpc9.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="H"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="planning.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>What's included in DB2 Express-C 9</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Installation considerations and planning</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |