16.10.2015 Views

Getting Started with Open Source Development

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

- Several Windows services are created.<br />

Appendix B - Up and running <strong>with</strong> DB2 117<br />

B.3.2 Installation on Linux<br />

DB2 installation on Linux is straight-forward and requires the following basic steps:<br />

1. Log on as the Root user to install DB2.<br />

2. After downloading DB2 Express-C for Linux from ibm.com/db2/express, look for<br />

the file db2setup, and execute it: ./db2setup<br />

3. Follow the self-explanatory instructions from the wizard. Choosing default values is<br />

normally sufficient.<br />

4. The following is performed by default during installation:<br />

- DB2 is installed in /opt/ibm/db2/V9.7<br />

- Three user IDs are created. The default values are listed below:<br />

db2inst1 (instance owner)<br />

db2fenc1 (Fenced user for fenced routines)<br />

dasusr1 (DAS user)<br />

- Three user groups are created corresponding to the above user IDs:<br />

db2iadm1<br />

db2fadm1<br />

dasadm1<br />

- Instance db2inst1 is created<br />

- The DAS dasusr1 is created<br />

- Installation logs are stored in:<br />

/tmp/db2setup.his<br />

/tmp/db2setup.log<br />

/tmp/db2setup.err<br />

B.4 DB2 tools<br />

There are several tools that are included <strong>with</strong> a DB2 data server such as the DB2 Control<br />

Center, the DB2 Command Editor, and so on. Starting <strong>with</strong> DB2 version 9.7 however; most<br />

of these tools are deprecated (that is, they are still supported but no longer enhanced) in<br />

favor of IBM Data Studio. IBM Data Studio is provided as a separate package not included<br />

<strong>with</strong> DB2. Refer to the ebook <strong>Getting</strong> started <strong>with</strong> IBM Data Studio for DB2 for more details.<br />

B.4.1 Control Center<br />

Prior to DB2 9.7, the primary DB2 tool for database administration was the Control Center,<br />

as illustrated in Figure B.4. This tool is now deprecated, but still included <strong>with</strong> DB2 servers.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!