Installing DB2 Express V9

Last update on June 25, 2009 11:44 AM by jak58
Published by jak58

Installing DB2 Express V9






Here below is a guide for the installation of DB2 Express V9.5 available from IBM.

Prerequisites

  • First of all download the version to install from the following link: DB2 Express
  • Have access rights to the root user.

Installation


To install a DB2 product using the script db2_install:
Log in as root.
Move to the root directory of installation resulting from decompression of the file downloaded.
Enter the command db2_install in a shell prompt to start the script db2_install. The script db2_install prompts you to enter one of the following keywords

(depending on the product that you DB2 version). In our case the only choice will be:

DB2.EXP 	for DB2 Express Edition or DB2 Express Edition 


Enter the keyword of the product you want to install.

The installation directory for the DB2 software is: /opt/ibm/db2/V9.5

Configuration


Now that DB2 is installed, create groups, users, administrator account and the DB2 database instance for the database.
The table below summarizes the groups and users to create:

]

Follow these steps:
  • Login as root
    • Create groups

groupadd -g 999 db2iadm1
groupadd -g 998 db2fadm1
groupadd -g 997 dasad



*
    • Create users


useradd -u 1004 -g db2iadm1 -m -d /home/db2inst1 db2inst1 
useradd -u 1003 -g db2fadm1 -m -d /home/db2fenc1 db2fenc1 
useradd -u 1002 -g dasadm1 -m -d /home/dasusr1 dasusr1 
  • Create the administration server


/opt/IBM/db2/V8.1/instance/dascrt -u dasusr1
  • Creating the database instance


/opt/IBM/db2/V8.1/instance/db2icrt -a server -u db2fenc1 db2inst1
  • Enabling remote connections


To enable remote connections to the database:
Set the communication port that DB2 should use. You must use a user "db2inst1" and execute the command (/ opt/ibm/db2/V9.5/bin):

db2 update dbm cfg using svcename 50055 


Establish the communication protocol that DB2 should use. You must use a user "db2inst1" and execute the command (/ opt/ibm/db2/V9.5/adm):

db2set DB2COMM=tcpip


Restart the database (/ opt/ibm/db2/V9.5/adm)

db2stop
	db2start

Start the database server (/ opt/ibm/db2/V9.5/das/bin)

db2admin start
[http://static.commentcamarche.net/en.kioskea.net/faq/images/3036 sdfg.png
Best answers for « Installing DB2 Express V9 » in :
Graphics cards - Video cards Show 2D Accelerator Cards A graphics card, sometimes called a graphics adapter, video card or graphics accelerator, is a computer component which converts digital data into a graphical form which can be displayed on a monitor. The initial role of a...
Download Express Talk VoIP Softphone Show Express Talk VoIP Softphone is a VoIP client which allows you to phone from your computer to another computer. Communicate freely with your close relationships via internet, but the software must be installed on the respective computers. Express...
Why Windows is not detecting the 4 GB of RAM installed? ShowWhy Windows is not detecting the 4 GB of RAM installed? What can be done? Conclusion Windows XP or Vista 32-bit edition can not use 4 GB, there is nothing to do, it is a mathematical limit. 32-bit system can address: 2 to the...
Installing Windows XP on a SATA hard drive ShowInstalling Windows XP on a SATA hard drive Motherboard Model Downloading SATA drivers Windows Installation With floppy Without floppy Another way You can install Windows XP on a SATA hard drive… It may not be easy as the system...
Installation of game on Samsung mobile phone ShowInstallation of game on Samsung mobile phone Introduction Standard installation functioning on almost all Samsung models Alternative installation for specified models Introduction Games installed on Mobile are not usually recognised...
Download Windows Installer ShowMicrosoft WindowsIinstaller is a service of installation and application configuration, allowing to manage the applications containing the MSI extension MSI. Windows Installer 3.1 is a secondary update of Windows Installer 3.0 published in...
Installing a network adapter ShowPurpose The purpose of this article is to set up a network to enable data exchanges between computers, resource sharing and network games. Is it therefore necessary to install a network card in each computer that may be part of the local area...
PCI Express Bus (PCI-E) ShowThe PCI Express Bus The PCI Express bus (Peripheral Component Interconnect Express, written PCI-E or 3GIO for "Third Generation I/O"), is an interconnect bus that allows you to add expansion boards to a computer. The PCI Express bus was developed...
Installing a network card ShowGoal The goal is to set up a network in order to exchange data or play games on the network. Thus, it is necessary to install a network card on every computer that may become part of the LAN. The purpose of this tutorial is to help you to install a...