如何使用 IBM Data Studio 在 db2 10.1 中创建新实例 [英] How to create New instance in db2 10.1 using IBM Data Studio

查看:24
本文介绍了如何使用 IBM Data Studio 在 db2 10.1 中创建新实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用带有示例的命令行 db2icrt 命令或使用 Data Studio 客户端在 db2 10.1 中创建新实例.

How to create new instance in db2 10.1 using command line db2icrt command with example or using data studio client.

任何人请回复.

谢谢

推荐答案

你使用的是哪个操作系统.

Which OS are you usnig.

在 Lunix/UNIX/OS X 中

你有两个选择:

  • 实例的专用用户

您需要在操作系统中创建一个用户 (useradd) 并使用文件系统

You need to create one user in the OS (useradd) with a file system

useradd -m db2inst2
/opt/db2/10.1/instance/db2icrt -u db2inst1 db2inst1

  • 您自己的用户
  • 您在家中安装 DB2,然后您的用户名将是实例的名称(非 root 安装)

    You install DB2 in your home, and then your username will be the name of the instance (non-root installation)

    在 Windows 中

    该命令不需要实例的专用用户.

    The command does not need a dedicated user for the instance.

    这篇关于如何使用 IBM Data Studio 在 db2 10.1 中创建新实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆