0001-db2 创建实例

db2inst@db2awse:~> su root
Password:
db2awse:/home/db2inst # groupadd -g 1020 db2iadm1
db2awse:/home/db2inst # groupadd -g 1021 db2fadm1
db2awse:/home/db2inst # useradd -g db2iadm1 -u 1100 -m -d /home/ramos ramos
db2awse:/home/db2inst # useradd -g db2fadm1 -u 1101 -m -d /home/kaka kaka
db2awse:/home/db2inst # cd /opt/ibm/db2/V10.5
db2awse:/opt/ibm/db2/V10.5 # cd instance
db2awse:/opt/ibm/db2/V10.5/instance # passwd ramos
Changing password for ramos.
New Password:
Bad password: it is based on a dictionary word
Reenter New Password:
Password changed.
db2awse:/opt/ibm/db2/V10.5/instance # passwd db2fenramos
Changing password for db2fenramos.
New Password:
Bad password: it is based on a dictionary word
Reenter New Password:
Password changed.
db2awse:/opt/ibm/db2/V10.5/instance # ./db2icrt -p 60017 -u kaka ramos
DBI1446I  The db2icrt command is running.




DB2 installation is being initialized.


 Total number of tasks to be performed: 4
Total estimated time for all tasks to be performed: 309 second(s)


Task #1 start
Description: Setting default global profile registry variables
Estimated time 1 second(s)
Task #1 end


Task #2 start
Description: Initializing instance list
Estimated time 5 second(s)
Task #2 end


Task #3 start
Description: Configuring DB2 instances
Estimated time 300 second(s)
Task #3 end


Task #4 start
Description: Updating global profile registry
Estimated time 3 second(s)
Task #4 end


The execution completed successfully.


For more information see the DB2 installation log at "/tmp/db2icrt.log.13443".
Required: Review the following log file also for warnings or errors:
"/tmp/db2icrt_local.log.*"
DBI1070I  Program db2icrt completed successfully.
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值