软件准备:
db2_v9_ese_linux_32.tar.gz
SLES-10-x86-DVD1.iso
VMware-workstation-5.5.3-34685.exe
jdk-1_5_0_05-linux-i586-rpm.bin重要!
安装开始:
1.宿主机操作系统windowsxp,虚拟机VMware-workstation-5.5.3,虚拟机操作系统SLES-10-x86
2.将db2_v9_ese_linux_32.tar.gz和jdk-1_5_0_05-linux-i586-rpm.bin上传到虚拟机。
3.重要步骤:!
#tar-zxvfdb2_v9_ese_linux_32.tar.gz
#mkdir/usr/java//手工建立
#chmoda xjdk-1_5_0_05-linux-i586-rpm.bin
#./jdk-1_5_0_05-linux-i586-rpm.bin//必须安装较高版本jdk,否则安装会出错!
其他相关必装依赖包:
openssh;rsh-server;nfs-utils;ksh//重要!尤其是ksh,由于AIX基于KShell,DB2也有相关组件由Kshell写成
4.关键步骤:
#cd/ese_t///进入db2解包后的目录
#cddisk1/
#ls
db2db2_installdb2setupdocinstallFixPack
#./db2setup
//出现错误EnsurethattheDISPLAYvariableissetproperlyandthatpermissionsaresetproperlytoopenwindowsonthed//isplayspecified,thenrerunthecommand.
//错误原因:未指定显示变量
#xhost 192.168.100.4//本机器ip关键!
#exportDISPLAY=192.168.100.4:0.0//关键!
#./db2setup//重新执行即可启动图形化安装界面,不再赘述
Setupiscompletedsuccessfully!
SUSE10安装DB2V9.1SUSE10安装DB2V9.1SUSE10安装DB2V9.1SUSE10安装DB2V9.1SUSE10安装DB2V9.1SUSE10安装DB2V9.1SUSE10安装DB2V9.1SUSE10安装DB2V9.1SUSE10安装DB2V9.1SUSE10安装DB2V9.1
阅读(626) | 评论(0) | 转发(0) |