473,624 Members | 2,413 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Install IBM DB2 on Fedora Core 5 (Bordeaux)

Install IBM DB2 on Fedora Core 5 (Bordeaux)

author: maluyao RHCE.
ma*****@NOSPAMg mail.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.ta r. 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 2810

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

Similar topics

0
1581
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 removed it and installed PHP 4.3.11 from source, so that I didn't have to figure out problems I had with my extension and php 5. After a number of calls to my extension, there is one call to function (which has been called before) in which the...
5
3319
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 extensions). Now I want to install extension packages for Python 2.3; if the package is distributed via Distutils, this is no problem: 'python2.3 setup.py install' will do the job (i.e. put everything in the 'site-packages' folder of Python 2.3).
2
1430
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 wrong to install when logged in as 'root'? Does it make a difference? 2. I looked in the package editor and there was no way to uninstall 2.3? Should I? If so, how can I? If not,what are the problems, if any, of having both.
1
2809
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 "/etc/yum.repos.d/python24.repo" with the following lines: name=Fedora Core $releasever - $basearch - Python 2.4 baseurl=http://www.python.org/ftp/python/2.4/rpms/fedora-$releasever/ enabled=1
5
2172
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 fedora core 3 which would have installed the required file but Fedora does not allow multiple versions of the same file . Man this is frustrating. Help desparately required..........
1
1823
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 that will cause the least amount of pain? I do realize I'll need to dump/restore, just want some expert advice on how to upgrade the installation without breaking it. Thanks!
7
2143
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 detail. Thank you! I have downloaded the lapack.tgz and the fortran compiler (g77) is on my computer. Thank you! Tao Yang
1
4997
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 build/temp.linux-i686-2.4/libImaging gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,- D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer- size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -
4
4362
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 the latest PHP, 5.2.5. The ./configure finally went through OK. Make and make install. Then I restarted Apache... but the phpinfo() shows no change. It's still using 5.1.6. When I run "php -v" from command line I get a huge error I'll include...
0
8238
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8174
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8680
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8336
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7164
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6111
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1485
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.