Installing IBM Director for Linux Installing on the Linux operating system Installing mdm for Linux

You can use these procedures to install IBM Director.

Steps

Perform the following steps to install IBM Director:

  1. Insert the IBM Director 4.12 CD into the CD-ROM drive.
  2. If the CD does not mount automatically, go to step 3. If the CD does mount automatically, type the following command:
    umount /mnt/cdrom
    where /mnt/cdrom is the mount point of the CD-ROM drive.
  3. If the CD does not mount automatically, type the following command:
    mount -t iso9660 -o map=off /dev/cdrom /mnt/cdrom
    where /dev/cdrom is the specific device file for the CD-ROM block device and /mnt/cdrom is the mount point of the CD-ROM drive.
  4. Type the following command to change to the directory where the installation script is located:
    cd /mnt/cdrom/director/server/linux/i386/
    where /mnt/cdrom is the mount point of the CD-ROM drive.
  5. If you want to customize the installation (not recommended), go to the next step. If you want to accept the default settings for the installation, type the following command:
    ./dirinstall
  6. If you chose the default settings for the installation, go to the next step. If you want to customize the installation, complete these steps:
    1. Copy the installation script to a local directory.
    2. Type the following command:
      cp dirinstall /directory/dirinstall
      where /directory is the local directory.
    3. Open an ASCII text editor and modify the "User configuration" section of the dirinstall script. This file is fully commented.

      You can specify the location of the Red Hat Package Manager files, select the IBM Director extensions and features that you want to install, and select the log file options.

    4. Save the modified installation script.
    5. To install IBM Director, type the following command:
      /directory/dirinstall
      where /directory is the local directory to which you copied the installation script.
  7. To unmount the CD-ROM drive, complete the following steps:
    1. Type cd / .
    2. Type the following command:
      umount /mnt/cdrom
      where /mnt/cdrom is the mount point of the CD-ROM drive.
  8. Remove the IBM Director 4.12 CD from the CD-ROM drive.
Post-processing requirements

Perform the following steps after you install IBM Director to configure IBM Director to use DB2:

  1. Create a file named: /etc/TWGserver/setup_env

    Add the following line to the /etc/TWGserver/setup_env file:

    .  /home/db2inst1/swllib/db2profile

    where /home/db2inst1 is the directory where DB2 is installed.

    This line enables IBM Director to communicate with DB2.

  2. Type the following command to set the setup_env file attributes to read-execute:
    chmod 755 /etc/TWGserver/setup_env
  3. Create a file named: /opt/IBM/director/log/TWGDbInstall.output
  4. Type the following command to give everyone write permissions to /opt/IBM/director/log/TWGDbInstall.output:
    chmod 666 /opt/IBM/director/log/TWGDbInstall.output
  5. Create a file named /opt/IBM/director/data/TWGServer.prop if it does not exist.
  6. Type the following command to give everyone write permissions to /opt/IBM/director/data/TWGServer.prop:
    chmod 666 /opt/IBM/director/data/TWGServer.prop
  7. Type the following command to change the permissions on the cfgdb file:
    chmod 755 /opt/IBM/director/bin/cfgdb
    This is necessary because cfgdb must be run as the database user, not the root user, in order to configure the database for Director.
  8. Log in as the database user, for example, db2inst1. You might not be able to simply type, for example, su - db2inst1, because you need X11 permissions to display the database configuration interface for IBM Director.
  9. Type the following command to create the IBM Directory database:
    db2 create db ibmdir
  10. Type the following command to catalog a tcpip node:
    db2 catalog tcpip node loopback remote 127.0.0.1 server db2c_db2inst1
  11. Type the following command to catalog the database ibmdir:
    db2 catalog database ibmdir as ibmdir_r at node loopback
  12. Perform the following steps to stop and restart the DB2 server:
    1. Type the following command to stop the DB2 server:
      db2stop
    2. Type the following command to restart the DB2 server:
      db2start
  13. Type the following command to configure IBM Director to work with the databases that have been cataloged:
    /opt/IBM/director/bin/cfgdb
    1. Select IBM DB2 Universal Database and click Next.
    2. Type ibmdir_r as the database to be used by IBM Director and input the database user name and password which IBM Director will use for database access. Click Next.
    3. Select a DB2 node name. Because DB2 is installed locally, select LOCAL. Click OK.
    4. A warning message is displayed, such as the following:
      The database name specified already exists. 
      Do you want to use it for this configuration?
      Click Yes.
    5. Click OK to close the IBM Director DB2 Universal Database Configuration window.
  14. If you want to enable encryption or change security settings, type the following command:
    /opt/IBM/director/bin/cfgsecurity
Result

IBM Director is installed.

Related topics Installing on the Linux operating system Installing mdm for Linux

(C) Copyright International Business Machines Corporation 2004