亚洲香蕉成人av网站在线观看_欧美精品成人91久久久久久久_久久久久久久久久久亚洲_热久久视久久精品18亚洲精品_国产精自产拍久久久久久_亚洲色图国产精品_91精品国产网站_中文字幕欧美日韩精品_国产精品久久久久久亚洲调教_国产精品久久一区_性夜试看影院91社区_97在线观看视频国产_68精品久久久久久欧美_欧美精品在线观看_国产精品一区二区久久精品_欧美老女人bb

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

DB2在linux下如何安裝?

2024-09-06 23:58:12
字體:
供稿:網(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 安裝盤上有個db2setup程序,它會指導(dǎo)您完成一切。。。
以root登陸,然后執(zhí)行這個程序。ok

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
制服丝袜第一页在线观看| 欧美日产一区二区三区在线观看| 性生活黄色大片| 国产综合网站| ...av二区三区久久精品| 国产一区二区三区日韩欧美| 1024亚洲| 97影院理论片在线播放| www.日韩高清| 粉嫩粉嫩芽的虎白女18在线视频| 亚洲黄页网站| 国产91精品最新在线播放| 欧美性极品videosbest| 黄色一区二区在线观看| 日韩欧美国产大片| 大桥未久av一区二区三区| 久久国产热视频| 日韩在线一区二区三区| 在线观看午夜av| 狼人综合视频| 天天好比中文综合网| 国产盗摄一区二区三区| 外国一级黄色片| 成人在线免费看黄| av中文在线资源库| 9191精品国产综合久久久久久| 免费在线观看羞羞视频| 国产传媒欧美日韩成人| 亚洲手机在线| 欧美a一区二区| 少妇精品无码一区二区三区| 久久国产精品系列| www.黄色在线观看| 欧美精品一区二区久久婷婷| 日韩最新中文字幕电影免费看| 日本一区午夜艳熟免费| 成人女人a毛片在线看| 中文字幕中文字幕一区三区| 国内精品国产三级国产aⅴ久| 欧美日韩一区二区三区在线看| 国产sm在线观看| 一区二区三区国产豹纹内裤在线| 婷婷社区五月天| 欧美国产激情18| 亚洲激情国产精品| 欧美日韩亚洲在线观看| 欧美亚洲不卡| 欧美极品少妇xxxxⅹ喷水| 九九九九九九九九| 免费成人美女女| 91在线精品观看| 久久久久女人精品毛片九一| 欧美成人综合色| 国产91色在线播放| 国产精品一区二区三区网站| www.这里只有精品| 白浆在线视频| 性欧美69式xxxxx| 日韩精品欧美激情一区二区| 在线中文字幕一区二区| 粉嫩嫩av羞羞动漫久久久| 玉米视频成人免费看| 三级黄色在线观看| 日韩一区二区电影在线观看| 国产不卡人人| 精品人妻一区二区三区免费| 尤物yw午夜国产精品视频明星| 亚洲精品视频播放| 欧美激情黄色片| 久久a级毛片毛片免费观看| 日本一本久久| 国产一区二区三区久久精品| 亚洲精品人成网在线播放影院| 亚洲精品乱码久久久久久金桔影视| 日韩三级免费看| 久久亚洲成人av| 国产va免费精品高清在线| 亚洲国产欧美日韩另类综合| 国产日韩欧美精品电影三级在线| av在线免费播放| 色呦色呦色精品| 在线国产日本| 久久精品精品电影网| 国产在线视频资源| 日韩免费va| 亚洲色图网友自拍| 美女扒开尿口让男人操| 触手亚洲一区二区三区| 天堂在线视频播放| 久久精品国产免费观看| 三级福利片在线观看| 中文字幕在线官网| 国产精品福利观看| 在线成人免费视频| 国产黄色小视频在线观看| a美女胸又www黄视频久久| 91好吊色国产欧美日韩在线| 自拍偷拍一区| 亚洲精品美女在线观看播放| 国产精品第八页| 国模吧一区二区三区| 1769国产精品视频| 久久国产欧美精品| 黄色的毛片免费| 国产精成人品免费观看| 97人洗澡人人免费公开视频碰碰碰| 亚洲欧洲美洲一区二区三区| 久久aⅴ国产欧美74aaa| 电影k8一区二区三区久久| 日本亚洲欧洲无免费码在线| 免费观看在线一区二区三区| 亚洲va电影大全| 国产午夜精品一区二区| 97久久综合精品久久久综合| 成人影院www在线观看| 91.com在线| 美女喷水网站| 亚洲一区二区三区视频播放| 综合干狼人综合首页| 欧美激情欧美激情| 成人欧美magnet| 97超碰成人在线| 久久国产精品视频在线观看| 91亚洲精品在线| 中文字幕这里只有精品| 国产黄网站在线观看| 欧美亚洲另类视频| aaa日本高清在线播放免费观看| 亚洲激情网址| 日日躁天天躁狠狠躁| 四虎国产精品免费久久5151| 亚洲欧洲高清在线| 91香蕉视频网址| 国产日韩亚洲欧美在线| 久久99精品久久久久婷婷| 成人影院在线视频| 色婷婷av一区二区三区丝袜美腿| 久久精品一区二区三区中文字幕| 91精品国产一区| 先锋男人资源站| 亚洲天堂美女视频| 欧美性xxxxx极品视频| 国产精品一二三在线| 99国产揄拍国产精品| 狠狠色噜噜狠狠狠狠色吗综合| jizzjizz中国精品麻豆| 91精品久久香蕉国产线看观看| 影音先锋国产在线资源| 欧美日韩在线播放三区| 在线视频观看91| 伊人在线视频观看| 在线观看日韩av电影| 久久五月精品| 午夜性色福利影院| 国产精品美女久久久久高潮| 8888在线观看免费www| 亚洲精品性视频| 中文字字幕在线中文| 亚洲第一精品在线| 亚洲性69xxxbbb| 国产欧美一区二区精品忘忧草| 26uuu国产日韩综合| 国产精品久久久精品a级小说| 欧美精品自拍偷拍| 91视视频在线观看入口直接观看www| 成人午夜激情免费视频| 亚州精品永久观看视频| 国产欧美精品久久| 夜夜嗨网站十八久久| 怡红院av久久久久久久| 日本人添下边视频免费| 日本精品国语自产拍在线观看| 亚洲精品77777| 亚洲aⅴ乱码精品成人区| av无码精品一区二区三区| 精品一二三区视频| 中文在线字幕免费观看| 日韩成人激情| 欧美 日韩 国产 成人 在线 91| 深田えいみ中文字幕99久久| 99re免费视频精品全部| 性金发美女69hd大尺寸| 神马电影网我不卡| 欧美一级淫片videoshd| 99久久精品免费看国产| 国内久久视频| 亚洲欧美激情一区二区| 国产伦精品一区二区三区高清版| 一区二区免费在线| 成年人黄国产| 一道本在线观看视频| 亚洲永久网站| 中文字幕在线视频区| 激情av一区| 欧美天堂亚洲电影院在线播放| 亚洲欧美国产va在线影院| 欧美韩国日本在线观看| 尤物免费看在线视频| 丰满人妻老熟妇伦人精品| 亚洲综合精品视频| 亚洲男女自偷自拍| 中文在线免费一区三区| 国产精品久在线观看| 亚洲欧美视频二区| 欧美人xxxx| 亚洲天堂开心观看| 日本高清视频网站| 久久影视免费观看| 97操在线视频| 欧美一级黑人aaaaaaa做受| 国产日韩精品一区| 国产一级二级三级| 日韩精品在线看片z| 天堂影院一区二区| 亚洲一区二区天堂| 免费看国产曰批40分钟| 网站黄色在线观看| 日本欧洲一区二区| 琪琪五月天综合婷婷| 91超碰在线播放| 日韩精品一二三区| 色呦呦在线免费观看| 99久久亚洲国产日韩美女| 久久精品国产免费观看| 久草电影在线| 在线亚洲高清视频| 亚洲性线免费观看视频成熟| 久草在线视频精品| 激情久久久久| 日韩福利一区| 狠狠色一日本高清视频| 欧洲成人在线视频| 在线观看国产欧美| free性亚洲| 亚洲综合电影一区二区三区| 91国产精品视频在线观看| 欧美亚洲国产一区二区三区| 91久久亚洲| 亚洲欧美激情国产综合久久久| 人人精品亚洲| 久久亚洲精品爱爱| 2025韩国大尺度电影| av中文字幕在线| www久久99| 无码aⅴ精品一区二区三区浪潮| 国产视频一区二区三| 久久蜜桃av一区精品变态类天堂| 国产一区二区三区在线免费观看| 日韩三级在线| a天堂中文在线观看| 美女撒尿一区二区三区| 男男成人高潮片免费网站| 国产成人精品免高潮在线观看| 影音av资源站| 三年中国中文在线观看免费播放| а√最新版天堂中文在线| 97caopron在线视频| 欧美freesex黑人又粗又大| 91在线国产福利| yw在线观看| 亚洲精品午夜视频| 久久网站免费观看| 精品人妻一区二区三区日产乱码卜| 菠萝蜜视频国产在线播放| 婷婷久久青草热一区二区| 色在线视频观看| 国产精品久久久久久久久快鸭| 欧美精品777| 精品熟妇无码av免费久久| 久久久久久久香蕉| 成人在线观看免费播放| 美女999久久久精品视频| 黄页免费观看| 日韩成人黄色| 亚洲精品国产欧美在线观看| 中国一级特黄毛片| 综合av在线| 91九色91蝌蚪| 刘亦菲国产毛片bd| 日韩专区在线观看| 日韩在线观看成人| 在线观看国产精品入口男同| 欧美乱熟臀69xxxxxx| 国产极品嫩模在线观看91精品| 中文字幕第一页在线视频| 老司机午夜在线| 91女人视频在线观看| 成人在线视频一区二区三区| 日本爱爱爱视频| 久久草在线视频| 中文在线а√在线8| 免费国产在线视频| 97精品国产97久久久久久久久久久久| 亚洲精品视频一二三区| 久久成人精品一区二区三区| 色的视频在线观看免费播放| 欧美成人一区在线| 欧美丰满美乳xxⅹ高潮www| 色成年激情久久综合| 多人啪嗒啪嗒在线观看免费| 国产视频精品一区二区三区| 久久一区二区电影| 亚洲毛片一区二区| 日韩在线欧美在线国产在线| 午夜一区二区三区在线观看| 成人国产精品一区二区免费麻豆| 欧美污在线观看| 久久伊人亚洲| 国产精品日产欧美久久久久| 亚洲国产精品天堂| 在线播放国产区| 日韩黄色一区二区| 黄色精品网站| 中文字幕无码日韩专区免费| 狠狠操狠狠色| 粉嫩蜜臀av国产精品网站| 青青操视频在线| 91av手机在线| 国产www免费观看| 91av福利| 国产精品中出一区二区三区| 欧美成人性福生活免费看| 免费国产自久久久久三四区久久| 亚洲精品高清无码视频| 99精品老司机免费视频| 影音先锋一区二区资源站| 国偷自产视频一区二区久| 欧美日韩一级二级|