藍(lán)色雨

          愛(ài)上天空 便夢(mèng)想著成為鳥(niǎo) 一起飛翔 愛(ài)上大海 便夢(mèng)想著成為風(fēng) 一起洶涌 愛(ài)上草兒 便夢(mèng)想著成為雨 一起生活 ----獻(xiàn)給我的草兒

            BlogJava :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            3 隨筆 :: 0 文章 :: 1 評(píng)論 :: 0 Trackbacks

          2005年7月21日 #


          在IBM上查到:

          DB2 v8.1由于java虛擬機(jī)版本不被支持,所以安裝使用db2setup無(wú)法安裝。翻譯并記錄下來(lái)

          Red Hat Enterprise Linux好像支持jvm 在1.4.1以上,因此需要替換v8.1安裝介質(zhì)中的jvm.建議:IBM version of the Java SDK 1.4.1(我使用的是Sun SDK 1.4.2_04分為兩個(gè)步驟:1. java SDK 安裝。2. DB2安裝)

          java SDK

          1. 下載SDK (sun,ibm都有,具體網(wǎng)址忘了,以后再補(bǔ)吧)
          2. 安裝SDK rpm -ivh j2sdk-1_4_2_04-linux-i586-rpm (我下的是:j2sdk-1_4_2_04-linux-i586-rpm.bin 在linux下拷貝到本機(jī),運(yùn)行:./j2sdk-1_4_2_04-linux-i586-rpm.bin。然后rpm安裝即可)
          3. 修改/etc/profile文件,配置java路徑(包括JAVA_HOME、CLASSPATH、path)注意大小寫(xiě)。

          DB2

          1. copy 介質(zhì)到硬盤(pán)上,主要目的是可以修改自帶的jvm (如: cp -R /media/cdrom/* <temporary_directory>)
          2. 刪除 db2/linux/java 的目錄 (如: rm -Rf <temporary_directory>/db2/linux/java)
          3. 創(chuàng)建“java”link指到Java1.4.1的目錄 (如.: ln -s /opt/IBMJava2-141 /<temporary_directory>/db2/linux/java)
          4. 安裝了... (e.g.: <temporary_directory>/db2setup)

          IBM原文:(http://www-306.ibm.com/software/data/db2/linux/validate/rhel3faq.html

          Yes, there is a workaround. However it is not officially supported by IBM and is therefore provided for informational purposes only. You could use IBM's version of the Java 1.4.1 environment instead of 1.3.1 that is shipped with the DB2 install image. Note that IBM does not support either 1.3.1 or 1.4.1 (SR1) on RHEL 3 yet. To use this unsupported workaround, you first need to install the IBM version of the Java SDK 1.4.1. Depending on which version of the DB2 install image/CD you have, perform the following steps.

          If you have a DB2 UDB V8.1 GA (or level prior to 8.1.4) install image/CD:

          1. Copy its contents to the hard disk (e.g.: cp -R /media/cdrom/* <temporary_directory>) where the <temporary_directory> is large enough to hold the install image.
          2. Delete the db2/linux/java sub-directory.
            (e.g.: rm -Rf <temporary_directory>/db2/linux/java)
          3. Create a symbolic link called java to point to the Java 1.4.1 directory.
            (e.g.: ln -s /opt/IBMJava2-141 /<temporary_directory>/db2/linux/java)
          4. Ensure the DISPLAY is exported properly and launch the installer.
            (e.g.: <temporary_directory>/db2setup)

          If you have DB2 install image / CD refreshed at Version 8.1.4 or later:

          1. Set the following environment variables: export DB2USELOCALJRE=TRUE
            export JAVA_HOME=<path to 1.4.1 JVM>
            (e.g.: export JAVA_HOME=/opt/IBMJava2-141)
          2. Launch db2setup from the same shell
          posted @ 2005-07-22 11:23 藍(lán)色雨 閱讀(1191) | 評(píng)論 (1)編輯 收藏

          一個(gè)以禮貌自居,善于學(xué)習(xí)的民族現(xiàn)在最需要的是:學(xué)習(xí)歷史,勇于道歉。
          20042231116938224.jpg
          posted @ 2005-07-22 09:18 藍(lán)色雨 閱讀(225) | 評(píng)論 (0)編輯 收藏

              擁有多少開(kāi)始就擁有多少的結(jié)束,說(shuō)起來(lái)好似很是悲哀,其實(shí)不完全是現(xiàn)在的心情,僅僅因?yàn)槔鲜怯惺紵o(wú)終的做事,希望有所改變吧。
          建立Blog其實(shí)目的很簡(jiǎn)單,太多的文檔要看要記,倒不是有什么東西要發(fā)布。想來(lái),Blog多少也可以使用拿來(lái)主義,用來(lái)統(tǒng)計(jì)資料倒也不錯(cuò)。赫赫
          posted @ 2005-07-21 16:38 藍(lán)色雨 閱讀(220) | 評(píng)論 (0)編輯 收藏

          主站蜘蛛池模板: 乌鲁木齐县| 垣曲县| 金沙县| 农安县| 灵台县| 信宜市| 罗城| 郸城县| 东方市| 江永县| 忻城县| 临澧县| 高清| 庄浪县| 苗栗市| 大姚县| 社会| 察哈| 离岛区| 深圳市| 乌海市| 荔波县| 兴国县| 额济纳旗| 临沧市| 灯塔市| 江北区| 嘉善县| 中宁县| 浙江省| 石城县| 赤水市| 房山区| 当阳市| 阳山县| 彝良县| 千阳县| 长白| 沙雅县| 富平县| 资阳市|