简体   繁体   English

如何使用IBM Data Studio在db2 10.1中创建新实例

[英]How to create New instance in db2 10.1 using IBM Data Studio

How to create new instance in db2 10.1 using command line db2icrt command with example or using data studio client. 如何使用命令行db2icrt命令和示例或使用data studio客户端在db2 10.1中创建新实例。

Anybody please reply. 有人请回复。

Thanks 谢谢

Which OS are you usnig. 你是哪个OS操作系统。

In Lunix/UNIX/OS X 在Lunix / UNIX / OS X中

You have two options: 您有两种选择:

  • Dedicated user for the instance 实例的专用用户

You need to create one user in the OS (useradd) with a file system 您需要在OS(useradd)中使用文件系统创建一个用户

useradd -m db2inst2
/opt/db2/10.1/instance/db2icrt -u db2inst1 db2inst1
  • Your own user 你自己的用户

You install DB2 in your home, and then your username will be the name of the instance (non-root installation) 您在家中安装DB2,然后您的用户名将是实例的名称(非root安装)

In Windows 在Windows中

The command does not need a dedicated user for the instance. 该命令不需要该实例的专用用户。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM