4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Db2 11.5のインストール on Windows Server

Posted at

最新版のダウンロード

Db2 11.5の最新版を以下から探します。

IBM Download DB2 Fix Packs by version for DB2 for Linux, UNIX and Windows - Japan
http://www-01.ibm.com/support/docview.wss?uid=swg27007053

この時の最新はMod7 Fixpack0でした。
image.png

DB2 Server FIx Pakを選びます。
image.png

image.png

image.png

解凍

自己解凍ファイルになっているので実行して、適当なフォルダに解凍します。
image.png

インストール

Setup.exeを管理者として実行します。
image.png

「Install a Product」を選び、DB2 Serverの「Install New」を選びます。
image.png

「Next」で進んでいきます。
image.png

Licenseに同意する必要があります。

image.png

「Next」で進んでいきます。
image.png

「Next」で進んでいきます。
image.png

「Next」で進んでいきます。
image.png

db2adminユーザーのパスワードを指定します。
image.png

「Next」で進んでいきます。
image.png

ここでは「Set up your DB2 Server to send notifications」のチェックを外しておきます。
image.png

「Next」で進んでいきます。
image.png

「Finish」で進んでいきます。
image.png

「Next」で進んでいきます。
image.png

「Finish」で進んでいきます。
image.png

OS再起動が必要です。
image.png

再起動後にFirstStepsがあがっていますが、閉じます。
image.png

インストール後作業

Db2を使うユーザーをDB2USERSグループに追加しておきます。
image.png

「Db2 Command Windows- Administorator」を起動します。
image.png

db2levelで導入したバージョンを確認します。

db2level
結果
C:\Program Files\IBM\SQLLIB\BIN>db2level
DB21085I  This instance or install (instance name, where applicable: "DB2")
uses "64" bits and DB2 code release "SQL11057" with level identifier
"0608010F".
Informational tokens are "DB2 v11.5.7000.1973", "s2111221000",
"DYN2111221000WIN64", and Fix Pack "0".
Product is installed at "C:\PROGRA~1\IBM\SQLLIB" with DB2 Copy Name "DB2COPY1".

db2licmコマンドでライセンスファイルを登録します。

db2licm -a E:\temp\DB2_DSE_Activation_11.5\std_vpc\db2\license\db2std_vpc.lic
db2licm -l
結果
C:\Program Files\IBM\SQLLIB\BIN>db2licm -a E:\temp\DB2_DSE_Activation_11.5\std_vpc\db2\license\db2std_vpc.lic

LIC1402I  License added successfully.


LIC1426I  This product is now licensed for use as outlined in your License Agreement.  USE OF THE PRODUCT CONSTITUTES ACCEPTANCE OF THE TERMS OF THE IBM LICENSE AGREEMENT, LOCATED IN THE FOLLOWING DIRECTORY: "C:\PROGRA~1\IBM\SQLLIB\license\en"

C:\Program Files\IBM\SQLLIB\BIN>db2licm -l
Product name:                     "DB2 Community Edition"
License type:                     "Community"
Expiry date:                      "Permanent"
Product identifier:               "db2dec"
Version information:              "11.5"
Max amount of memory (GB):        "16"
Max number of cores:              "4"
Features:
IBM DB2 Performance Management Offering:              "Not licensed"

Product name:                     "DB2 Standard Edition"
License type:                     "Virtual Processor Core"
Expiry date:                      "Permanent"
Product identifier:               "db2std"
Version information:              "11.5"
Max amount of memory (GB):        "128"
Max number of cores:              "16"
Enforcement policy:               "Hard Stop"
Features:
IBM DB2 Performance Management Offering:              "Not licensed"

環境

  • Windows Server 2019
  • Db2 9.5
4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?