SuSE Linux: Versión later 6.4
IBM DB/2: Versión V7.1
db2inst1: ibmdb2 db2as: ibmdb2 db2fenc1: ibmdb2- cree un .profile en los siguientes directorios home para usuarios db2inst1 / db2as, con el siguiente contenido:
---- snip ----
. $HOME/sqllib/db2profile
# The following three lines have been added by UDB DB2.
if [ -f sqllib/db2profile ]; then
. sqllib/db2profile
fi
export JAVA_HOME=/usr/lib/jre1.1.8/
db2jstrt
---- snip ----
# Entries for IBM DB2 Database # db2cdb2inst1 50000/tcp # Connection port for DB2 instance db2inst1 db2idb2inst1 50001/tcp # Interrupt port for DB2 instance db2inst1Éstas serán insertadas por db2setup. Si ya existiesen durante la instalación,
mount -o exec /cdrom
[ Customize... ] Optional:
[*] Java Support
: : DFS Client Enabler
: : Information Catalog for the Web
: : ISV Toolkit
: : Light-weight Directory Access Protocol
: : Stored Procedure Builder
[*] Control Center
[*] DB2 Sample Applications
[*] Create Links for DB2 Libraries
-> ok
[ Customize... ] DB2 Product Library (HTML): [*] de_DE
Control Center Help (HTML): [*] de_DE
- +--- Warning -------------------------------------+ | | | (X) This is your last chance to stop. | | | | Select OK to start, or Cancel to abort. | | | | [ OK ] [ Cancel ] | +-------------------------------------------------+
#db2cdb2inst1 50000/tcp # Connection port for DB2 instance db2inst1
#db2idb2inst1 50001/tcp # Interrupt port for DB2 instance db2inst1
nestel:~ # rm /tmp/db2setup*
-rw-r--r-- 1 root root 10745 Dec 21 16:48 /tmp/db2setup.log
-rw-r--r-- 1 root root 619885 Dec 21 16:54 /tmp/db2setup.trc
rm -vrf /var/db2/
# end of /etc/inittab
db:234:once:/etc/rc.db2 > /dev/console 2>&1 # Autostart DB2 Services
> ps auxw | grep db2 db2as 8351 0.0 17.5 40656 11044 p1 S < 16:32 0:00 db2sysc db2as 8353 0.0 17.6 40656 11104 p1 S < 16:32 0:00 db2ipccm db2as 8355 0.0 17.6 40656 11136 p1 S < 16:32 0:00 db2tcpcm db2as 8356 0.0 17.7 40656 11148 p1 S < 16:32 0:00 db2tcpdm root 8350 0.0 17.4 40652 10964 p1 S < 16:32 0:00 db2wdog root 8352 0.0 17.4 40652 10976 p1 S < 16:32 0:00 db2gdskill -9 8351 8353 ...
------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x00000000 0 wwwrun 600 46084 6 dest 0x7403b020 257 db2as 767 524288 7 0x6103b020 258 db2as 701 3555328 7 ------ Semaphore Arrays -------- key semid owner perms nsems status 0x7403b020 256 db2as 767 1 0x00000000 257 db2as 761 1 0x7303b020 258 db2as 767 1 0x00000000 259 db2as 761 1 0x5a03b020 260 db2as 666 1 0x00000000 261 db2as 761 1 0x00000000 262 db2as 761 1 ------ Message Queues -------- key msqid owner perms used-bytes messages 0x00000000 3203 db2as 701 0 0 0x00000000 3204 db2as 701 0 0 0x7103b020 3205 db2as 763 0 0 0x7203b020 3206 db2as 763 0 0 0x7703b020 3207 db2as 765 0 0
------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x00000000 0 wwwrun 600 46084 6 dest ------ Semaphore Arrays -------- key semid owner perms nsems status ------ Message Queues -------- key msqid owner perms used-bytes messages
+------------------------------- DB2 Installer --------------------------------+ | | | +--- Warning ------------------------------------------------------------+ | | | | | | | DBI1767W DB2 registry may contain corrupted information. | | | | | | | | Explanation: The registry may contain invalid instance | | | | information. This is probably due to the fact that an instance or | | | | the Administration Server is not deleted properly before removing | | | | the DB2 product. If you are re-installing the product and want to | | | | keep the existing instance information in the registry, press | | | | Cancel. Otherwise, press OK to re-create the registry. Do you | | | | want to re-create the registry? | | | | | | | | User Response: | | | | | | | | o Press OK to re-create the registry, or | | | | | | | | o Press Cancel to keep the current registry information. | | | | | | | | [ OK ] [ Cancel ] | | | +------------------------------------------------------------------------+ | +------------------------------------------------------------------------------+- seleccione OK
SDB-dl_DB2_V71_en)