How to install DB2 database in coreora Linux Core5 (1)

Source: Internet
Author: User
Tags ibm db2 ibm db2 database

This article describes the detailed steps and methods for installing the DB2 database to coreora Linux Core5 for your reference.

Fedora Linux Core5 (codenamed Bordeaux) brings many new features. such as better Chinese support and brand new GCC 4.1. however, it is a pity that a serious error may occur while installing the IBM DB2 database using a common method. Through repeated exploration, I finally successfully installed DB2 8.2 On Fedora Core 5.

Unless otherwise stated, the following steps must be performed as the root user. In addition, it is best to disable the selinux function. Method: edit the/etc/selinux/config file to ensure that The SELINUX = disabled line exists. This may take effect after Linux is restarted.

In addition, DB2 usually needs to install the pdksh package. In Fedora Core 5, you only need to install the zsh package. You also need to modify the/etc/sysctl. conf file. I will add the following four lines.
# For IBM DB2
Kernel. msgmni= 512
Kernel. sem = 250 128000 32 1024
# End of IBM DB2

The first and last two rows are comments, which does not work. Run

Sysctl-p

Command. The advantage of adding annotations is that you can clearly understand what these rows are for in the future. You can delete it when you do not need it.

The author uses IBM DB2 8.2. After downloading the package, decompress the tar package. Enter the generated directory and run
Rpm-ivh db2/linux/Java-1.4/IBMJava2-SDK-1.4.1-2.0.i386.rpm

In this way, the IBM Java package will be installed. In fact, the standard jdk or jre package of Sun can also be used. But it is a little more complicated.

Run

./Db2_install

Enter DB2.ESE as prompted. This indicates that the DB2 Enterprise Edition is installed.

After this step is completed, the db2_setup command cannot be executed in the usual way, and the installation attempt using the image is doomed to fail.

The key to successful installation is to add a patch package. Download the latest patch package fp11_mi00152.tar on the ibmcompany website. This is specially used with the 2.6 kernel. Decompress the package, enter the directory, and run

./InstallFixPak-y


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.