分类:
2010-10-21 14:20:35
1.准備db2的rpm包
#tar xvf DB2_V81_PE_LNX_32_NLV.tar
2.安裝
#./db2_install
3.接下來安裝db2的授權文件
#/opt/IBM/db2/v8.1/adm/db2licm -a db2pe.lic
4.創建用戶
#useradd db2ins01
#passwd db2ins01
5.創建實例db2ins01
#/opt/IBM/db2/v8.1/instance/db2icrt -u db2ins01 db2ins01
6.啟動該實例
#/opt/IBM/db2/v8.1/adm/db2start
7.測試安裝是否成功
#db2 create database mydb