473,406 Members | 2,847 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Install IBM DB2 on Fedora Core 5 (Bordeaux)

Install IBM DB2 on Fedora Core 5 (Bordeaux)

author: maluyao RHCE.
ma*****@NOSPAMgmail.com(remove NOSPAM)
http://www.teenblog.org/tiantian/ (Chinese Version)

Pre-installation notes:
Disable selinux is recommended.
In the official document, pdksh should be installed. In Fedora Core 5,
pdksh package is replaced by zsh package. So you need to install it .
check it with command :
rpm -qa |grep zsh
IBMJava2-SDK-1.4.1-2.0.i386.rpm is included by IBM DB2 tar file, and
so is Sun JDK . Both of them can work. If you need your mother language
to support it, I suggest you use Sun JDK 1.5. If you use Sun JDK, you
will have to set two environment Param.

export DB2USELOCALJRE=TRUE
export JAVA_HOME=/jdk

Normally, you can put the two lines on /etc/profile file.
Instructions on installation:

First of all, switch to db2 directory and run ./db2_install. Some
documents of db2_install program are not installed in your mother
language. For example, the document is not installed in Chinese, so I
have to install it manually by running :
rpm -ivh db2/linux/IBM_db2*cn*.rpm

You can't run db2setup yet, you still need to install patch first.

Next step is to download db2 patch from http://www.ibm.com , my patch
file name is FP11_MI00152.tar. untar it and go-to the directory.
run :

../installFixPak -y

This program will automatically update your old rpm package.

If you have a DB2 License , install it :
/opt/IBM/db2/V8.1/adm/db2licm -a db2ese82.lic

Add some users and groups by hand, I run :
groupadd -g 800 dasadm1
groupadd -g 801 db2grp1
groupadd -g 802 db2fgrp1
adduser -g 800 -u 800 dasusr1
adduser -g 801 -u 801 db2inst1
adduser -g 802 -u 802 db2fenc1

The UID and GID is my choice. I choose it just for it is easy to
remember. Don't forget to use passwd command to give each user's password.

Now we can use command to create the instances of Admin and Database.

/opt/IBM/db2/V8.1/instance/dascrt -u dasusr1 #create a admin instance.
/opt/IBM/db2/V8.1/instance/db2icrt -u db2fenc1 db2inst1 #create a
database instance.

Installation is completed. Login with db2inst1 user and run db2sampl
command. You can create a sample database and use it.
Apr 13 '06 #1
0 2796

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: rgristroph | last post by:
I have an extension in C++, which I compile as a module for php 4.3.11. I am using PHP 4.3.11 on Fedora Core 4, which has gcc 4 instead of gcc 3.2. Fedora Core 4 normally comes with PHP 5, but I...
5
by: Logan | last post by:
I have two different Python versions on my Linux system (2.2 and 2.3). I cannot remove version 2.2 because many configuration files of the system depend on this version of Python (and its...
2
by: Bill | last post by:
I have less than a week experience on linux, so I am a new newbie. Python 2.3 came preinstalled. I installed version 2.4. All seemed to go well except it installed to usr/local? 1. Was it...
1
by: richardun | last post by:
My goal is to install python2.4 using yum (wouldn't you know it, it's a dependency for something else). >From this page (), I followed the following instructions: 1. ...creat...
5
by: linuxfreak | last post by:
Hi guys, Has anyone installed wxPython on Fedora Core 4. Apparently it need the libstdc++.so.5 file while Fedora installs the newer libstdc++.so.6 file. I tried installing the libstdc rpm from...
1
by: Boris Popov | last post by:
Hello pgsql-general, It appears 7.4 is not published in all the usual places so I was wondering if there's a yum repository with updated packages available and if not then what's the approach...
7
by: taoyangsjtu | last post by:
Dear friends, Now, I have just installed the system with full fedora core 4. I had to use lapack, but I don't know how to install and use it. Can anybody tell me the installation process in...
1
by: Frank Potter | last post by:
I use "python setup.py install" to install PIL in fedora with python 2.4, But I got these errors: running build_ext building '_imaging' extension creating build/temp.linux-i686-2.4 creating...
4
by: mechphisto | last post by:
I'm working on a friend's box, Fedora Core 6. It has PHP 5.1.6. I need to install mcrypt into it, and the only way I can find to do it is from source then recompile PHP. So I did all that, and got...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.