我想在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
会员注册
会员登录
个人空间