This article will show complete steps to install IBM DB2. Follow
the steps below to install DB2.
- DB2 installation media will be in.
tar . gz format first of all extract it using the terminal or right click to uncompress it. Use the below mentioned command to extract using terminal tar -zxvf <media name. tar. gz > -C <directory path where you want to extract>
- Open the terminal and navigate to the folder where you have extracted the DB2 setup. Run the command to check whether OS meet all required prerequisites or not.
. /db2prereqcheck –v version name i.e.. /db2prereqcheck –v 10.5.0.3- Run the. /
prereqSAM present in server/db2/linuxamd64/tsamp also to check Tivoli System Automation scripts prerequisites if you are planning to configure HADR with failover automation with this DB2. Usuallyprereq utility as forksh package, install it using yum install command.
- If there are dependencies which are not met, then use Yum install command to resolve those dependencies. You can also create an offline repository if you Linux system is not registered with redhat yet.
- When all the requirements are met, then run the command “
. /db2setup” to launch the setup. Following setup windows will be displayed.
- Click on "Install a Product" and install IBM DB2 Enterprise Server Edition.
- Accept the license agreement and click Next.
- Continue with Typical installation mode.
- Continue with "Install DB2 Server Edition on this computer and save settings in a response file"
- Go with default installation directory and click next.
- Enter password for a DB2 Administrative User.
- Select "Create DB2 instance" radio button.
- Select "Single partition instance" and click Next.
- Enter instance owner and fenced user passwords and click Next.
- Select notification settings according to your requirement and hit Next. Setup will take some time to install DB2.
- Following message will be displayed when the setup has finished installing DB2. Check the setup logs for any errors.
No comments:
Post a Comment