以root用户登陆: 拷贝db2ese.lic文件到/opt/IBM/db2/V8.1/license 转到目录:cd /opt/IBM/db2/V8.1/license 改变文件属主:chown db2user:db2group db2ese.lic 切换到db2用户下 运行命令:db2licm -a db2ese.lic 查看结果:db2licm -l