本人在本记本上装了LINUX8.0想装个DB2学习一下,可无从下手!用在UNIX上安装的方面不行!谢谢!
---------------------------------------------------------------
Install the DB2 server
1. Log in as root.
2. Start a terminal session.
3. Load the IBM DB2 Universal Database V7.2.1, Enterprise Edition for Linux
CD-ROM into the CD-ROM drive and mount the CD.
mount -t iso9660 -r /dev/cdrom /cdrom
4. Start the DB2 installer program:
cd /cdrom
./db2setup
5. In the Install DB2 V7.2.1 window, select only the following option:
– DB2 UDB Enterprise Edition
6. Highlight the DB2 Product Library option and press Enter.
7. In the DB2 Product Library window, highlight the appropriate option for your
locale under the DB2 Product Library (HTML) section, then highlight OK and
press Enter.
8. Highlight OK and press Enter.
9. In the Create DB2 Services window, select the Create a DB2 Instance
option, highlight OK and press Enter.
10.In the DB2 instance authentication window, enter the following:
– User Name:
1<db2_instance_owner>
2– User ID: use default UID
3– Group Name: db2iadm1
4– Group ID: use default GID
5– Home Directory: /home/<db2_instance_owner>
6– Password: <user_password>
7– Verify Password: <user_password>
811.Highlight OK and press Enter.
912.In the Fence User window, enter the following:
10– User Name: db2fenc1
11– User ID: use default UID
12– Group Name: db2fadm1
13– Group ID: use default GID
14– Home Directory: /home/db2fenc1
15– Password: <db2fenc1_password>
16– Verify password: <db2fenc1_password>
1713.Highlight OK, and press Enter.
1814.In the DB2 Warehouse Control Database window, select the Do not set up
19DB2 Warehouse Control Database option, then highlight OK, and press
20Enter.
2115.In the Create DB2 Services window, highlight the Create Administration
22Server option, then enter the following:
23– User Name: db2as
24– User ID: use default UID
25– Group Name: db2asgrp
26– Group ID: use default GID
27– Home Directory: /home/db2asgrp
28– Password: <db2asgrp_password>
29– Verify password: <db2asgrp_password>
3016.Highlight OK and press Enter.
3117.A message window appears indicating that DB2SYSTEM will be set to
32<hostname>. Highlight OK and press Enter.
3318.Back in the Create DB2 Services window, highlight OK and press Enter.
3419.The Summary Report window is displayed, listing the product components to
35be installed. Highlight Continue and press Enter.
3620.A warning window appears indicating this is your last chance to stop.
37Highlight OK and press Enter.
3821.The db2setup program installs the selected components. Depending on the
39speed of your processor, this can take up to 15 minutes.
4022.You may be prompted to register the product. Complete the registration, then
41exit back to the install window.
4223.When the install completes, a notice window informs you whether the
43installation was successful. Highlight OK and press Enter.
4424.Scan the Status Report to ensure that all components were installed
45successfully. Highlight OK and press Enter.
4625.In the DB2 Installer window, highlight Close and press Enter.
4726.A window appears asking Do you want to exit the DB2 Installer?.
48Highlight OK and press Enter.
4927.The DB2 installation is now complete.
5028.Unmount the CD-ROM:
51# cd /
52# umount /cdrom
53
54如果还需要详细的文档,可来信[email protected]</hostname></db2asgrp_password></db2asgrp_password></db2fenc1_password></db2fenc1_password></user_password></user_password></db2_instance_owner></db2_instance_owner>