设为首页 加入收藏

TOP

Linux安装DB2_V10(二)
2014-11-23 22:04:34 来源: 作者: 【 】 浏览:10
Tags:Linux 安装 DB2_V10
add -g 2002 db2asgrp
[root@L160 instance]# useradd -m -g db2asgrp -d /home/db2as db2as
[root@L160 instance]# passwd db2as //输入2次相同密码
Changing password for user db2as.
New UNIX password:Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@L160 instance]# su - db2as
[db2as@L160 ~]$ su -
Password:
[root@L160 ~]# cd /opt/ibm/db2/V10.1/instance/
[root@L160 instance]# ./dascrt -u db2as
DBI1070I Program dascrt completed successfully.
[root@L160 instance]# su - db2as
[db2as@L160 ~]$ db2admin start
SQL4409W The DB2 Administration Server is already active.
[db2as@L160 ~]$ su - db2inst1 //确认db2inst1实例的服务名
Password:
[db2inst1@L160 ~]$ db2 get dbm cfg|grep SVCENAME
TCP/IP Service name (SVCENAME) =
SSL service name (SSL_SVCENAME) =
[db2inst1@L160 ~]$ db2 update dbm cfg using SVCENAME 50000
DB20000I The UPDATE DATABASE MANAGER CONFIGURATION command completed
successfully.
[db2inst1@L160 ~]$ db2 get dbm cfg|grep SVCENAME
TCP/IP Service name (SVCENAME) = 50000
SSL service name (SSL_SVCENAME) =
[db2inst1@L160 ~]$ db2licm -l //看一下License的情况,s vcename在客户端连接时需要用到
Product name: " DB2 Express-C"
License type: "Unwarranted"
Expiry date: "Permanent"
Product identifier: "db2expc"
Version information: "10.1"
Max number of CPUs: "2"
Max amount of memory (GB): "4"
Enforcement policy: "Soft Stop"
首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇MongoDB查询中可以运行JavaScript 下一篇db2 xml转table

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: