日本免费精品_最新日韩一区_亚洲视频一区在线_a在线视频观看_天天射夜夜骑_粉嫩av一区二区三区_欧美中日韩免费视频_综合图区欧美_国内精品美女在线观看_午夜精品久久久久久久男人的天堂

首頁(yè) > 數(shù)據(jù)庫(kù) > DB2 > 正文

DB2在linux下如何安裝?

2024-09-06 23:58:12
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

db2 version 7.1 for linux howto
3. preparing your distribution for db2
3.1. caldera openlinux 2.4
3.1.1. before installing db2 on caldera openlinux
this section contains instructions that you must follow before installing db2.

preparing for the installation of db2

install the pdksh-5.2.14-1.i386.rpm package from the caldera openlinux cd-rom in the /packages/rpms/ directory. for example, log in as root, mount the cd-rom, and enter the following command to install the pdksh package: bash# rpm -ivh /mnt/cdrom/packages/rpms/pdksh-5.2.14-1.i386.rpm

 

remove the jdk package, (jdk 1.2.2 from sun), since it will conflict with the ibm developer kit for java that you will install in the next step. to remove sun's jdk, issue the following command as root: bash# rpm -e jdk

 

install the ibm developer kit for java. a brief set of installation directions is included in section 11.

edit the java_home and path entries in /etc/config.d/shells/bashrc to remove the references to the jdk from sun and update them to reflect the ibm developer kit for java. the section that i changed started as:     [ -z "$java_home" ]&& [ -d /usr/java ] && (
           export java_home=/usr/java
           [ -r $java_home/lib/classes.zip ] &&
             export classpath=$java_home/lib/classes.zip
)

 

replace it with the following section to reflect the default locations for the ibm developer kit for java:     [ -z "$java_home" ]&& [ -d /usr/jdk118 ] && (
           export java_home=/usr/jdk118
           export path=$path:$java_home/bin
           [ -r $java_home/lib/classes.zip ] &&
             export classpath=$java_home/lib/classes.zip
)

 

3.1.2. installing db2 and creating instances on caldera
follow the instructions in section 4 the generic section on installing db2, and go ahead and create the instances. it's probably a good idea at this point to read through section 3.1.3 to keep in mind the steps that you need to take after installing db2.

3.1.2.1. what does /etc/login.defs not accessible, using defaults mean?
3.1.2.2. okay, db2 is installed and i created the instances. now what do i do?
3.1.2.1. what does /etc/login.defs not accessible, using defaults mean?

it means something went slightly wrong, but it's okay. you may get this message splashed across your installation screen one or more times during the db2 installation process, but other than not looking pretty, db2 still installs correctly. caldera apparently doesn't include a /etc/login.defs configuration file. the file controls the default options for the useradd command for adding new users, including policies like how many days before the new user's password expires and whether a home directory should be created for a new user. for more information on the /etc/login.defs file, refer to the man page for useradd.

3.1.2.2. okay, db2 is installed and i created the instances. now what do i do?

now that you've installed db2, you have to perform some steps to configure your instances correctly. keep reading.

3.1.3. after installing db2 on caldera
this section contains instructions that you must follow after installing db2.

3.1.3.1. adding instance user ids to their groups
the most important step is to manually add the instance user id to the corresponding instance group you defined during the instance creation step. db2 and caldera openlinux don't get this part of the db2 instance creation process right, so you have to do it yourself. you can add an instance user id to an instance group in two ways:


edit /etc/group to add the appropriate instance user id to the last field for each group.

use the coas utility to manage your groups by selecting kde menu, settings, coas, system, accounts, then selecting the groups submenu and the manage groups menu item.


3.1.3.2. changing the default home page in netscape
the db2 control center and the db2 information center use the netscape browser to display help and documentation. this works for the first document you display in the browser, but if you try to switch to a different db2 document (for example, from one book to another), you may instead be redirected to the default home page set by the caldera openlinux installation process. i found that this problem went away as soon as i changed the default home page in the edit menu, preferences menu item.

3.1.3.3. removing the caldera login greeting
add a file called .hushlogin to the home directory of each of your instance user ids. this should prevent the welcome to your openlinux system! messages while running db2 commands.

db2 generates these messages on caldera because the db2 commands run under the root user id, which in turn becomes the instance owner to invoke commands. part of this su process calls one or both of /etc/config.d/shells/csh.login and /etc/config.d/shells/profile, which in turn call the /etc/config.d/shells/ol-greeting script that contains the offensive string.

instead of adding .hushlogin to every user's home directory, you could probably edit /etc/config.d/shells/ol-greeting to remove the message (or change it to something else, if you want). i haven't tried it myself, so let me know what works best.

3.2. linux-mandrake 7.2
the db2 server and command line db2 client works on linux-mandrake 7.2, and i was able to successfully start and use the db2 control center with ibm jdk 1.1.8 (build 20000713).

3.2.1. before installing db2 on linux-mandrake
preparing for the installation of db2

install the pdksh-5.2.14-8mdk.i586.rpm package from the linux-mandrake cd-rom in the /mandrake/rpms/ directory. for example, log in as root, mount the cd-rom, and enter the following command to install the pdksh package: bash# rpm -ivh /mnt/cdrom/mandrake/rpms/pdksh-5.2.14-8mdk.i586.rpm

 

3.2.2. installing db2 and creating instances on linux-mandrake
when you run db2setup, you may receive the following error: ksh: /etc/profile.d/tmdir.sh[9]: source: not found this is only a warning message and you can continue installing db2. if the message interferes with the db2setup menu, press ctrl-l to clear the screen.

otherwise, follow the instructions in section 4, the generic section on installing db2 and creating instances.

3.2.3. after installing db2 on linux-mandrake
with linux-mandrake 7.2, there are no special steps to take after installing db2 version 7.1. the db2 server and command line client work out of the box, and the db2 control center worked with ibm jdk 1.1.8 (build 20000713).

3.3. red hat linux 6.2
3.3.1. before installing db2 on red hat
preparing for the installation of db2

install the pdksh-5.2.14-2.i386.rpm package from the red hat cd-rom in the /redhat/rpms/ directory. for example, log in as root, mount the cd-rom, and enter the following command to install the pdksh package: bash# rpm -ivh /mnt/cdrom/redhat/rpms/pdksh-5.2.14-2.i386.rpm

 

3.3.2. installing db2 and creating instances on red hat
follow the instructions in section 4, the generic section on installing db2 and creating instances.

3.3.3. after installing db2 on red hat
with red hat 6.2, you don't need to take any special steps after installing db2 version 7.1. it works.

3.4. red hat linux 7.1
3.4.1. before installing db2 on red hat
preparing for the installation of db2

install the pdksh-5.2.14-12.i386.rpm package from red hat cd-rom (2) in the /redhat/rpms/ directory. for example, log in as root, mount the cd-rom, and enter the following command to install the pdksh package: bash# rpm -ivh /mnt/cdrom/redhat/rpms/pdksh-5.2.14-12.i386.rpm

 

for a compatible version of the libstdc++ library, install the compat-egcs-c++-6.2-1.1.2.14.i386.rpm package from red hat cd-rom (2) in the /redhat/rpms/ directory. for example, log in as root, mount the cd-rom, and enter the following command to install the compat-egcs-c++ package: bash# rpm -ivh /mnt/cdrom/redhat/rpms/compat-egcs-c++-6.2-1.1.2.14.i386.rpm

 

install the compat-libs-6.2-3.i386.rpm package from red hat cd-rom (2) in the /redhat/rpms/ directory. for example, log in as root, mount the cd-rom, and enter the following command to install the compat-libs package: bash# rpm -ivh /mnt/cdrom/redhat/rpms/compat-libs-6.2-3.i386.rpm

 

the db2setup command looks for a file called /usr/lib/libncurses.so.4 and will not proceed unless it exists, so create a symbolic link from the ncurses4.0 library in /usr/i386-glibc21-linux/lib/ to your /usr/lib/ directory. bash# ln -sf /usr/i386-glibc21-linux/lib/libncurses.so.4.0 /usr/lib/libncurses.so.4

 

the default setting for the msgmni kernel parameter only allows a couple of simultaneous connections to db2. to set this value at at boot time, append the following lines to /etc/sysctl.conf: # sets maximum number of message queues to 128
# set this to 1024 or higher on production systems
kernel.msgmni = 128

 

3.4.2. installing db2 and creating instances on red hat
follow the instructions in section 4, the generic section on installing db2 and creating instances.

3.4.3. after installing db2 on red hat
red hat 7.1 enabled the floating point stack feature of the glibc library. unfortunately, this causes java programs using ibm jdk 1.1.8, including the db2 control center, to fail miserably. fortunately, you can disable the floating point stack by setting the ld_assume_kernel environment variable to 2.2.5 before running the db2 control center as follows: bash$ export ld_assume_kernel=2.2.5
bash$ db2jstrt 6790
bash$ db2cc 6790

 

with ibm jdk 1.3 (ibmjava2-sdk-1.3-7.0-i386.rpm), the db2 control center started successfully without any workarounds. for instructions on installing the ibm jdk, see section 11.

3.5. suse linux
3.5.1. before installing db2 on suse
at some point in its past, suse included an old beta version of db2 in their distribution. when you install suse linux, up to and including version 7.0, the suse installer still creates the default db2 user ids and sets their home directories in /usr/lib. this can cause some difficulties when you set up the db2 instances. before installing db2, remove the default db2 user ids by issuing the following commands as root: bash# userdel -r db2as
bash# userdel -r db2fenc1
bash# userdel -r db2inst1

 

3.5.2. installing db2 and creating instances on suse
follow the instructions in section 4, the generic section on installing db2.

3.5.3. after installing db2 on suse
with suse 6.2 or above, i have not needed to take any special steps after installing db2 version 7.1. it just works—and that's nice.

3.6. turbolinux 6.0
3.6.1. before installing db2 on turbolinux
turbolinux 6.0 includes all of the required packages at or above the minimum required levels for db2 version 7.1.

3.6.2. installing db2 on turbolinux
follow the instructions in section 4, the generic section on installing db2.

3.6.3. after installing db2 on turbolinux
when you run the db2 control center with turbolinux 6.0, the console window may display a number of map failed messages. these messages do not indicate a serious problem, so do not worry about them.

 

db2 安裝盤上有個(gè)db2setup程序,它會(huì)指導(dǎo)您完成一切。。。
以root登陸,然后執(zhí)行這個(gè)程序。ok

發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
亚洲第一视频在线观看| 国产激情三区| 一本一道综合狠狠老| 精品一二三区| 日韩欧美国产黄色| 精品国产欧美成人夜夜嗨| 久久riav| √天堂资源中文www| 日韩一级免费视频| 日韩欧美中文视频| 日本啊v在线| 国产黄色一区| 亚洲欧美伊人| 欧美日韩国产中字| 三级网站免费观看| 日韩视频免费直播| 欧美在线日韩精品| 亚洲欧美久久久| 激情综合色综合久久| 国产高清精品在线观看| 国产精品福利视频一区二区三区| av不卡免费看| 日韩中文字幕在线播放| 国产黄色小视频| 亚洲免费在线视频一区 二区| 91精品国产高清91久久久久久| 99久热re在线精彩视频| 99国产成 人 综合 亚洲欧美 | 国产高清在线一区| 日韩欧美综合视频| 国产欧美日韩久久| 国产字幕中文| 日韩精品在线免费观看| 亚洲成av人片一区二区密柚| 国精品产品一区| 一区二区精品区| 日本国产在线视频| 国产1区在线| 中文字幕久久av| 亚洲欧洲一区二区天堂久久| 中文字幕最新精品| 精品人妻一区二区免费视频| 欧美亚洲国产激情| 国产免费不卡av| 精品国产乱码久久久久久蜜臀| 欧美三级日韩三级国产三级| 国产精品视频福利一区二区| 欧美 日韩 国产 高清| 在线国产1区| 国产一级视频在线播放| 国产一区在线观看视频| 国产95在线|亚洲| 精品中文字幕视频| 亚洲.国产.中文慕字在线| 亚洲最新永久观看在线| 91精品国产综合久久久久| 九七久久人人| 亚洲热在线观看| 欧美日韩激情一区| 欧美亚洲综合视频| 日本a口亚洲| 日韩欧美资源站| 国产在线第一页| 成人一区二区不卡免费| 欧美国产综合视频| 不卡视频一区二区| 欧美日韩视频在线| 午夜av一区二区| 中文在线一区二区| 97久久精品午夜一区二区| 日韩三级视频在线看| 日韩欧美国产一二三区| 日韩精品不卡一区二区| 国产黄色在线| 在线观看av的网站| 国产在线观看色| 日韩欧美字幕| 欧美日韩在线播放一区| 中文字幕欧美日韩| 欧美日韩高清在线| 中文字幕第一页在线播放| 国产最新在线| 在线一区免费| 91精品婷婷国产综合久久竹菊| 亚洲专区一二三| 中文字幕五月天| 精品乱人伦一区二区三区| 国产一区 二区 三区一级| 久久久精品国产免费观看同学| 在线视频不卡国产V| 国产自产视频| 欧美日韩国产第一页| 国产一级粉嫩xxxx| 欧美日韩亚洲综合| 亚洲a一级视频| 伊人精品视频| 国产在线观看精品| 中文字幕视频一区二区三区久| 亚洲美女视频一区| 91精选在线| 日韩欧美一级在线| 国产一区不卡在线| 蜜桃视频一日韩欧美专区| 99精品一级欧美片免费播放| 久久精品久久久久| 一区二区在线看| 日韩在线不卡一区| 婷婷中文字幕一区三区| av中文网站| 99精品视频国产| 欧美日韩激情一区二区三区| 日韩欧美一级精品久久| 欧美激情视频一区二区三区在线播放| 欧美久久综合性欧美| 欧美日韩综合高清一区二区| 在线观看国产一区| 91精品在线观看入口| 久久蜜桃一区二区| 日韩精品丝袜在线| 日韩欧美一二三四区| 红桃视频亚洲| 久久精品日韩欧美| 日韩欧美在线影院| 日韩精品在线视频| av一区二区高清| 丰满少妇一区| 国产一区不卡精品| 在线视频不卡国产V| 欧美日韩精品在线视频| 亚洲一区在线观看免费| 91精品国产99| 中文字幕亚洲乱码| 日韩免费视频| 亚洲第一精品在线| 91精品视频在线| 婷婷久久综合网| 亚州黄色一级| 欧美性生交大片免费| 亚洲一区精品电影| 欧美一级手机免费观看片| 婷婷中文字幕一区| 一区二区日韩av| 日韩一级视频在线观看| 中文在线视频观看| 日韩av一区二| 内射国产内射夫妻免费频道| 69av亚洲| 精品中文字幕在线播放| 日韩欧美三级| 国产日韩亚洲欧美| 日韩欧美中文字幕公布| 国产精久久久久| 日本va欧美va精品发布| 国产福利久久久| 国产一区在线观看视频| 国产不卡在线| 91麻豆精品在线| 欧美日韩精品免费| 精品久久久网| 欧美日韩中文字幕在线观看| 欧美日韩视频免费看| 久久视频在线免费观看| 久久精品网站免费观看| 欧美熟妇乱码在线一区| 欧美日韩中文字幕在线| 亚洲成年人影院在线| 精品一二三区视频| 精品中文字幕视频| 一区二区三区中文字幕在线观看| 亚亚洲欧洲精品| 中文字幕在线国产| av中文在线播放| 成人a在线观看| 欧美日韩高清在线| 一区二区三区高清在线| 欧美大片在线观看一区| 蜜臀91精品国产高清在线观看| 91蜜桃婷婷狠狠久久综合9色| 国产一区 二区 三区一级| 一区二区不卡视频在线观看| 欧美日韩国产在线观看| 欧美日韩在线播放一区| 日韩中文字幕91| 日韩视频1区| 红桃视频亚洲| 日韩欧美在线视频| 中文字幕亚洲在| 国产不卡视频在线| 精品人妻二区中文字幕| 日韩一级免费在线观看| 欧美三级日韩三级| 欧美日韩一级黄| 91精品国产综合久久精品| 欧美日韩精品在线播放| 欧美三级日韩在线| 中文字幕 亚洲一区| 久久久久久自在自线| 深夜福利一区| 欧美日韩精品免费| 亚洲三级中文字幕| 一区二区三区视频网站| 欧美日韩一二三| 日韩欧美亚洲区| 日韩国产欧美| 亚洲一区视频在线观看视频| 国产三级精品在线观看| 在线观看一区| 一本久久a久久精品亚洲| 午夜精品一区二区三区视频免费看| 欧美亚洲国产免费| 日韩三级高清在线| www 日韩| 中文字幕久久精品| 日韩国产成人| 91精品免费看| 国产在线日韩精品| 不卡专区在线| 91 中文字幕| 高清一区二区| av中文资源在线| 精品久久在线观看| 日韩欧美999| 国产不卡一区| 日韩三区免费| 欧美国产一级| 久精品在线观看| 欧美亚洲国产免费| 日韩亚洲欧美中文三级| 中文av字幕一区| 日韩视频一区| 九七久久人人| 国产一级片在线| 日韩黄色在线播放| 一区二区三区精品在线| 精品国产91乱高清在线观看| 一本一道久久a久久精品综合蜜臀| wwwwww国产| 日韩视频在线一区| 欧美日韩免费不卡视频一区二区三区| 精品一性一色一乱农村| 午夜国产在线视频| 国产日韩精品视频| 日韩精品在线中文字幕| 91精品在线免费观看| 久久99精品久久久久婷婷| 精品日韩在线观看| 欧美日韩在线不卡| 国产日韩成人精品| 欧美日韩国产高清视频| 91久久久精品| 97最新国自产拍视频在线完整在线看 | 久久久水蜜桃| 日韩在线观看精品| 久久婷婷中文字幕| 国产卡1卡2卡三卡在线| 欧美亚洲国产激情| 91蜜桃婷婷狠狠久久综合9色| 久久福利视频一区二区| 国产日韩av一区| 在线不卡日本| 欧美日韩国产免费观看视频| 国产欧美日韩在线看| 亚洲一区在线观看视频| 欧美 日韩 国产 在线| 不卡福利视频| 亚洲女人天堂色在线7777| 欧美日韩在线视频首页| 国产中文在线视频| 美国av一区二区| 国产一区免费视频| 激情婷婷亚洲| 91精品久久久久久久91蜜桃| 亚洲小说春色综合另类网蜜桃| 中文字幕在线视频网| 日韩欧美高清在线视频| 国产永久在线观看| 国产乱国产乱老熟300部视频| 欧美不卡视频一区| 国产区视频在线观看| 欧美日韩中文在线| 日韩欧美中文字幕在线视频| 久久婷婷中文字幕| 91精品国产综合久久香蕉的特点| 伊人国产视频| 中文字幕 欧美日韩| 91精品在线免费观看| 精品网站999| 亚洲欧洲一区二区天堂久久| 欧美在线亚洲一区| 亚洲一区在线观看网站| 尤物av一区二区| 99色在线视频| 欧美日韩在线看| 中文字幕在线导航| 日本视频久久久| 日韩视频中文字幕| 欧美日韩在线看| 色综合影院在线| 欧美日韩亚洲不卡| 亚洲视频资源在线| 日韩精品中文在线观看| 精品日韩在线观看| 一二三区精品福利视频| 亚洲校园欧美国产另类| 视频一区二区中文字幕| 日韩欧美中文字幕一区| 日韩精品在线网站| 欧美日韩高清一区二区| 欧美日韩精品不卡| 国产不卡在线| 国产劲爆久久| 欧美日韩国产专区| 午夜一区二区三区免费| 日韩专区视频网站| 日本不卡免费高清视频| 搞黄在线观看| 久久福利视频一区二区| 国产 欧美 日韩 在线| 中文字幕 亚洲视频| 日韩欧美综合| 午夜精品一区二区三区免费视频| 日本精品二区| 麻豆一区二区99久久久久| 精品久久香蕉国产线看观看gif| 91精品在线国产| 亚洲а∨精品天堂在线| 日韩精品在线免费播放| 国产福利第一页| 日韩欧美一卡二卡| 中文字幕在线欧美| 黄色一区二区在线观看| 日韩一级精品| 欧美熟妇乱码在线一区| 日韩网站中文字幕| 一区二区在线高清视频| 日韩精品视频网站| 中文字幕狠狠干| 色偷偷一区二区三区| 欧美三级精品| 日韩欧美国产亚洲| 国产不卡在线观看视频| 国产日韩av一区二区| 天天综合天天| 国产三级视频在线播放线观看| 一区二区三区久久| 精品久久久久久综合日本欧美| 午夜国产福利一区二区| 国产欧美日韩综合精品| 日韩欧美国产视频| 精品国产91乱高清在线观看| 日韩三级免费观看| 伊人www22综合色| 红桃视频国产一区| 国产最顶级的黄色片在线免费观看| 久久精品国产99| 日韩欧美在线视频日韩欧美在线视频| av手机天堂| 亚洲欧美日本国产专区一区| 久久蜜桃精品| 日韩中文字幕视频网| 国产欧美亚洲一区| 欧美日韩一级片在线观看| 中文字幕亚洲二区 | 一区二区三区高清在线| 国产成人精品网址| 一区二区三区久久| 日韩欧美综合视频| 99色在线视频| 亚洲欧美日本另类| 91精品国产免费| 中文字幕亚洲高清| 日韩精品不卡一区二区| 日韩午夜中文字幕| 日韩一级二级三级| 一级网站免费观看| 国产欧美日产一区| 国产裸舞福利在线视频合集| 日韩精品欧美| 欧美在线中文字幕| 一级网站免费观看| 国产嫩草影院久久久久| 日韩精品在线免费看| 激情久久99| 日韩三级视频在线播放| 麻豆一区二区99久久久久| 欧美日韩精品综合| 亚洲日产av中文字幕| av中文在线播放| 中文欧美字幕免费| 日韩高清在线不卡| 天天摸日日摸狠狠添| 一区二区三区免费看视频| 国产视频一二区| www.中文字幕在线| 国产亚洲人成a一在线v站| 国产三级在线| 中文字幕日韩第一页| 日韩精品―中文字幕| 精品视频资源站| 精品久久久精品|