阅 读 文 章

DB2在linux下如何安装?

[来源:网上转载 (http://www.chinaunix.net) | 作者:网友(风尘) | 时间:2007-05-27 | 浏览:人次 ]


我想在linux下安装DB2但是好像很麻烦,哪位仁兄可以告诉我安装步骤!不胜感激!!



 neo2718 回复于:2002-02-25 22:21:12

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 ] && (
TAG标签 : 安装 如何 amp 回复 DB2 mounttheCD-ROM loginasroot

上一篇:没有了

下一篇:数据库复制问题

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表
网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.chmhome.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.