前天晚上就抽空在本本上安装了一个VMware workstation,紧接着安装了Red Linux 9.0企业版,一切顺利!今早在IBM的官方网站下载IBM DB2 Express-C时,还特意看看安装的Linux是32位还是64位(file /sbin/init),就等今天再顺利一把,我需要的开发环境基本就可以成行了。 拿到IBM DB2 Express-C后,利用中饭休息时间就开始忙着在Linux上解压安装,谁知道./db2setup之后,提示了不少内容,摘录其中关键的几点: 1、The IBM DB2 product being installed does not support the current kernel level: 2.4.20. he required minimum kernel level is 2.6.16. 2、The required library file libstdc++.so.6 is not found on the system. 3、The required library file libaio.so.1 is not found on the system. …… 所以建议大家在安装IBM DB2 Express-C时先看看http://www.ibm.com/software/data/db2/udb/sysreqs.html。 分析后按照重要性排序,首要解决的就是Linux的内核升级。Linux的内核可以通过好http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2获取到,但自行升级风险常常比较大,于是还是直接下载内核为2.6.16以上版本的Linux安装为益。不过是自己虚拟的环境,自然愿意抽空用升级内核的方式尝试一把。至于那些缺少的.so文件,都是比较容易解决的事情。 以后还是要多多积累经验和知识!