The DB2 install files must be accessible across your network. To copy the required files from the CD-ROM to the shared network drive that will act as the install server, perform the following steps:
Step 1. | Insert the appropriate CD-ROM into the drive. |
Step 2. | Create a directory by entering the following command: md c:\db2prods |
Step 3. | Enter the cpysetup.bat command to copy the DB2 installation files to your install server. This command is located in the x:\db2\common directory, where x: represents your CD-ROM drive. The command syntax is as follows: cpysetup.bat directory language where:
For example, to copy all of the English DB2 install files to the c:\db2prods directory, enter the following command: cpysetup.bat c:\db2prods en
|
This section will allow you to grant your network workstations access to the code server. From the code server, perform the following steps:
Step 1. | Click on Start and select Programs-->Windows Explorer. |
Step 2. | Select the directory that you want to share. For example, c:\db2prods. |
Step 3. | Select File-->Properties from the menu bar. The properties window for the directory will open. |
Step 4. | Select the Sharing tab. |
Step 5. | Select the Shared As radio button. |
Step 6. | In the Share Name field, enter a share name. For example, db2nt. |
To specify Read access for everyone:
|
In our example, c:\db2prods uses a share name of db2nt. We will use codesrv to represent the name of the computer on which the DB2 install files were installed. These values will be used in the examples that follow.