AIX上DB2安装步骤.docx

上传人:b****4 文档编号:11871727 上传时间:2023-04-06 格式:DOCX 页数:14 大小:20.28KB
下载 相关 举报
AIX上DB2安装步骤.docx_第1页
第1页 / 共14页
AIX上DB2安装步骤.docx_第2页
第2页 / 共14页
AIX上DB2安装步骤.docx_第3页
第3页 / 共14页
AIX上DB2安装步骤.docx_第4页
第4页 / 共14页
AIX上DB2安装步骤.docx_第5页
第5页 / 共14页
点击查看更多>>
下载资源
资源描述

AIX上DB2安装步骤.docx

《AIX上DB2安装步骤.docx》由会员分享,可在线阅读,更多相关《AIX上DB2安装步骤.docx(14页珍藏版)》请在冰豆网上搜索。

AIX上DB2安装步骤.docx

AIX上DB2安装步骤

       文件系统/usr和/homeDB21.1安装DB2服务器1.1.1检查系统环境V7.1产品总是被安装在/usr/lpp/db2_07_01目录下(/usr文件系统),而每个DB2实例和sample数据库都在管理用户的根目录下(/home文件系统)创建,所以,必须保证这两个文件系统上有足够的空闲存储空间。

建议/usr文件系统至少有500M剩余空间;/home文件系统至少有100M剩余空间。

使用命令dfChange/Show       扩充文件系统/usr和/home#smittychfs  查看文件系统/usr和/home的信息。

CharacteristicsofaJournaledFileSystem选择要扩大的文件系统,如/home,回车后进入以下画面:

在“SIZEoffilesystem(in512-byteblocks)”处输入希望扩大到的空间容量,其它不变,回车即可。

如/home文件系统需要扩大到200M,则通过计算得出:

200*1024*1024/512=409600在“SIZEoffilesystem(in512-byte       页空间(pagingspace)应为内存的1.5~2倍。

blocks)”处,输入“409600”即可。

1.1.2安装CD-ROM文件系统将DB2UDBV6.1FORAIX光盘放入光驱,如果CD-ROM文件系统已经存在,使用命令mount/dev/cd0安装CD-ROM文件系统;否则,应首先创建CDROM文件系统:

(1)       创建一个目录来安装该CD-ROM#mkdir-p/cdrom      cdrom表示CD-ROM安装目录

(2)       分配CD-ROM文件系统#smittycrcdrfs在“DEVICEname”处按F4选择“cd0”;“MOUNTPOINT”处输入“/cdrom”;选择“MountAUTOMATICALLYatsystemrestart?

”为“no”。

创建成功后,执行#mount/dev/cd0安装CD-ROM文件系统。

1.1.3安装DB2软件的LicenseKeyDB2软件的LicenseKey保存在光盘上db2/license/db2entr.lic文件中,一般为最后两行,将这两行追加到/usr/lib/netls/conf/nodelock文件中即可。

使用命令:

tail–4/cdrom/db2/license/db2entr.lic>;>;/usr/lib/netls/conf/nodelock

       #cd/cdrom#./db2setup     进入DB2安装画面:

1.1.4安装DB2产品+-------------------------------InstallDB2V7--------------------------------+|                                                                             ||  Selecttheproductsyouarelicensedtoinstall.YourProofof            ||  EntitlementandLicenseInformationbookletidentifytheproductsfor     ||  whichyouarelicensed.                                                   ||                                                                             ||  Toseethepreselectedcomponentsorcustomizetheselection,select      ||  Customizefortheproduct.                                                ||  []DB2AdministrationClient                          [Customize...]  ||  [*]DB2UDBEnterpriseEdition                         [Customize...]  ||  []DB2UDBConnect                                    [Customize...]  ||  [*]DB2ApplicationDevelopmentClient                 [Customize...]  ||  Tochoosealanguageforthefollowingcomponents,selectCustomizefor   ||  theproduct.                                                              ||      DB2ProductMessages                               [Customize...]  ||      DB2ProductLibrary                                [Customize...]  ||                                                                             ||  [  OK  ]                    [Cancel]                    [ Help ]  |+------------------------------------------------------------------------------+                          (图一)注:

只需安装“DB2UDBEnterpriseEdition(DB2通用数据库企业版)”。

和“DB2ApplicationDevelopmentClient”两项其他两项不需安装:

DB2AdministrationClient(DB2客户端管理)DB2SoftwareDeveloper'sKit(DB2软件开发工具包)

       移到光标到”DB2UDBEnterpriseEdition”,按空格健选择,选中后前面应有一“*”号;移动光标到”Customize”,回车后进入以下画面:

+------------------DB2UniversalDatabaseEnterpriseEdition-----------------+|                                                                             ||  Required:

    DB2Client                                                  ||                DB2Run-timeEnvironment                                    ||                DB2Engine                                                  ||                DB2CommunicationSupport:

                                 ||                    TCP/IP        IPX/SPX                                  ||                    SNA           DRDAAS                                  ||                DB2SampleDatabaseSource                                  ||                AdministrationServer                                       ||                DB2ConnectSupport                                         ||                LicenseSupport                                             ||  Optional:

    [*]JavaSupport                                            ||                [*]Replication                                             ||                []ControlCenter                                          ||                []DB2ControlServer                                      ||                CodePageConversionSupport:

                               ||                    []Japanese    [*]SimplifiedChinese                 ||                    []Korean      []TraditionalChinese                ||                                                                             ||  [SelectAll]             [DeselectAll]                [Default]  ||  [  OK  ]                    [Cancel]                    [ Help ]  |+------------------------------------------------------------------------------+       在CodePageConversion                          (图二)Support:

处选择SimplifiedChinese(简体中文),然后选择OK,返回“图一”,选择“OK”,进入以下画面:

+----------------------------CreateDB2Services-----------------------------+|                                                                             ||  Selecttheitemsyouwanttocreate,andselectOKwhenfinished.         ||                                                                             ||  ADB2Instanceisanenvironmentwhereyoustoredataandrun             ||  applications.Aninstancecancontainmultipledatabases.                 ||                                                                             ||  []CreateaDB2Instance.                             :

Customize...:

  ||  [*]DonotcreateaDB2Instance.                                         ||                                                                             ||  AnAdministrationServerprovidesservicestosupportclienttoolsthat   ||  automatetheconfigurationofconnectionstoDB2databases.               ||                                                                             ||  []CreatetheAdministrationServer.                  :

Customize...:

  ||  [*]DonotcreatetheAdministrationServer.                              ||                                                                             ||  [  OK  ]                    [Cancel]                    [ Help ]  |+------------------------------------------------------------------------------+                  选择“DonotcreateaDB2Instance”和“Do                   (图三)notcreatetheAdministrationServer”,即不创建实例和管理服务器。

选择“OK”进入以下画面:

+--------------------------Warning----------------------------+|                                                              ||  DBI1755WTheAdministrationServerisnotcreated.         ||                                                              ||  Cause:

 YouhavenotcreatedaAdministrationServer.      ||  WithouttheAdministrationServer,youcannotprovide      ||  servicestosupportclienttoolsthatautomatethe         ||  configurationofconnectionstoDB2databases,andcannot  ||  administerDB2fromyourserversystemoraremoteclient  ||  usingtheControlCenter.                                  ||                                                              ||  Action:

                                                    ||                                                              ||  o  PressOKtocontinue,or                               ||                                                              ||  o  PressCanceltoabort.                                 ||                                                              ||  [  OK  ]                                    [Cancel]  |+---------------------------------------------------------------+       选择“OK”后,进入以下画面:

                     (图四)

+-------------------------------DB2Installer--------------------------------+|  +--------------------------SummaryReport----------------------------+  ||  |                                                        [More...] |  ||  | Installation                                                       |  ||  | ------------                                                       |  ||  | Productcomponentstobeinstalled:

                                |  ||  |                                                                     |  ||  |   DB2Client                                                       |  ||  |   OpenDatabaseConnectivity(ODBC)                                |  ||  |   DB2Run-timeEnvironment                                         |  ||  |   DB2Engine                                                       |  ||  |   DB2CommunicationSupport-TCP/IP                               |  ||  |   AdministrationServer                                            |  ||  |   DB2ConnectSupport                                              |  ||  |   DB2CommunicationSupport-SNA                                  |  ||  |   DB2CommunicationSupport-DRDAApplicationServer              |  ||  |   DB2CommunicationSupport-IPX/SPX                              |  ||  |                                                        [More...] |  ||  +----------------------------------------------------------------------+  ||                                [Continue]                                |+------------------------------------------------------------------------------+       选择“Continue”后,进入以下画面:

+---Warning                            (图五)-------------------------------------+|                                                ||  (X)Thisisyourlastchancetostop.        ||                                                ||      SelectOKtostart,orCanceltoabort.  ||       

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 党团工作

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1