sybase119在aix下的安装
平台 硬件 软件 最小内存 支持的协议
IBM RS/6000 AIX 4.1.4 32MB TCP,SPX
2为SYBASE创建用户、文件系统和环境设置
创建用户和用户组
必须为syabse在系统中创建用户组sybase和用户sybase,用户sybase的基本组为sybase。
创建文件系统
建议为sybase的系统文件创建一个单独的文件系统,一般为/sybase。建议大小为300-500M。
将文件系统mount上,修改目录/sybase的用户属主为sybase用户,组属主为sybase组。将
用户sybase的HOME目录修改为/sybase。
设置安装环境
环境变量设置,可以设置在用户syabase的.profile或系统/etc/profile中。
n AIX
2 In sh:
LIBPATH=$SYBASE/lib ; export LIBPATH
LIBPATH=$SYBASE/lib:$LIBPATH ; export LIBPATH
2 In csh:
setenv LIBPATH $SYBASE/lib
setenv LIBPATH $SYBASE/lib:$LIBPATH
3. 将sybase产品安装光盘mount上
为使用光盘文件系统作好相应配置
为使用光盘安装sybase,必须为光盘创建一文件系统定义。假设已经将该文件系统定义安装
(mount)在/cdrom。
mount相应的产品光盘
使用mount命令将光盘安装在/cdrom。
4. 安装相应的sybase产品
由于每个sybase产品安装将覆盖原有的同名文件,所以如果将所有sybase产品安装在同一个
目录下,必须根据需要合理按一定的依次顺序安装每个产品。具体的安装顺序要求见附录。
建议将server端产品安装在一个目录(如/sybase)下,属主为sybase。将sybase的client端
产品安装在另一个目录(如/sybcl)下,由另一个用户sybcl所有。
Adaptive Server Enterprise或SQL Server是server端产品,其他的都是client端产品。
安装Adaptive Server Enterprise
1. 以用户sybase登录。
2. 在用户sybase的HOME目录下,执行相应产品光盘的安装命令。
先取得对应产品的CAS,一般写在光盘的标签上,或者在该产品的install/cas文件中。如
Adaptive Server Enterprise 11.9.2的CAS在文件install/cas中。
运行以下安装命令:
$ /cdrom/ase119/sybload -D
SYBLOAD - Product Distribution Program
Sybase (c) 1996
Current directory is "/sybase".
Is this the correct directory for installation?
If so, please enter 'y' or 'Y': y
Is this a Local or Remote installation, as defined in your Installation Guide?
Please enter L for Local or R for Remote.
> L
Please enter the full name of the disk file of the global archive:
> /cdrom/ase119/sybimage
You specified /cdrom/aix/sybimage for the media device. Is this correct?
please enter 'y' or 'Y' to continue: y
Please enter your Customer Authorization String, letters only:
> JLBKBK BKGKCM BYBKBF GZBYBK BKBKQP QDRX
Sybase Products available for installation:
Product No. 1: Adaptive Server Enterprise, RS6000, 11.9.2
Product No. 2: Monitor Server for 11.9.2 ASE, RS6000, 11.9.2
Product No. 3: Monitor Server for 11.0.x SQL Server, RS6000, 11.9.2
Product No. 4: Monitor Client Library, RS6000, 11.9.2
Product No. 5: Historical Server, RS6000, 11.9.2
Product No. 6: Language Module Brazilian Portuguese, RS6000, 11.9
Product No. 7: Language Module Chinese, RS6000, 11.9
Product No. 8: Language Module French, RS6000, 11.9
Product No. 9: Language Module German, RS6000, 11.9
Product No. 10: Language Module Japanese, RS6000, 11.9
Product No. 11: Language Module Korean, RS6000, 11.9
Product No. 12: Language Module Spanish, RS6000, 11.9
Please enter the Product Numbers that you wish to install, one per line.
Terminate your entries with a blank line.
> 1
> 2
> 7
>
The following products were chosen for installation:
Choice No. 1: Adaptive Server Enterprise, RS6000, 11.9.2
Choice No. 2: Monitor Server for 11.9.2 ASE, RS6000, 11.9.2
Choice No. 3: Language Module Chinese, RS6000, 11.9
If this list is correct as shown,
please enter 'y' or 'Y' to continue,
'q' or 'Q' to quit,
or any other character to make another set of choices: y
x ./bin/backupserver, 1038645 bytes, 1015 tape blocks
x ./bin/bcp, 826875 bytes, 808 tape blocks
.
.
.
The following products have been distributed from tape:
Adaptive Server Enterprise, RS6000, 11.9.2
Monitor Server for 11.9.2 ASE, RS6000, 11.9.2
Language Module Chinese, RS6000, 11.9
This concludes the tape distribution portion of the Sybase Installation.
Please consult your Installation Guide for further installation instructions.
至此,Adaptive Server Enterprise, RS6000, 11.9.2已安装成功。
安装Open Clients/Server 11.1
$ /cdrom/opencli/sybload -D
SYBLOAD - Product Distribution Program
Sybase (c) 1996
Current directory is "/sybase".
Is this the correct directory for installation?
If so, please enter 'y' or 'Y': y
Is this a Local or Remote installation, as defined in your Installation Guide?
Please enter L for Local or R for Remote.
> L
Please enter the full name of the disk file of the global archive:
> /cdrom/opencli/sybimage
You specified /cdrom/opencli/sybimage for the media device. Is this correct?
please enter 'y' or 'Y' to continue: y
Please enter your Customer Authorization String, letters only:
> BKBYBK BOUOBY BYBYBY BOBYBY IOWJPN DCZS
Sybase Products available for installation:
Product No. 1: Open Client/C, RS6000, 11.1
Please enter the Product Numbers that you wish to install, one per line.
Terminate your entries with a blank line.
> 1
>
The following products were chosen for installation:
Choice No. 1: Open Client/C, RS6000, 11.1
If this list is correct as shown,
please enter 'y' or 'Y' to continue,
'q' or 'Q' to quit,
or any other character to make another set of choices: y
x ./bin/bcp, 716653 bytes, 700 tape blocks
x ./bin/bcp_dce, 732487 bytes, 716 tape blocks
x ./bin/defncopy, 656517 bytes, 642 tape blocks
.
.
.
安装ESQL-C
$ /cdrom/esql/sybload -D
SYBLOAD - Product Distribution Program
Sybase (c) 1996
Current directory is "/sybase".
Is this the correct directory for installation?
If so, please enter 'y' or 'Y': y
Is this a Local or Remote installation, as defined in your Installation Guide?
Please enter L for Local or R for Remote.
> L
Please enter the full name of the disk file of the global archive:
> /cdrom/esql/sybimage
You specified /cdrom/esql/sybimage for the media device. Is this correct?
please enter 'y' or 'Y' to continue: y
Please enter your Customer Authorization String, letters only:
> BKBYSO DIBYBY BYBODD BYBYBY BKHSKR MEUD
Sybase Products available for installation:
Product No. 1: Embedded SQL/C, RS6000, 11.1
Please enter the Product Numbers that you wish to install, one per line.
Terminate your entries with a blank line.
> 1
>
The following products were chosen for installation:
Choice No. 1: Embedded SQL/C, RS6000, 11.1
If this list is correct as shown,
please enter 'y' or 'Y' to continue,
'q' or 'Q' to quit,
or any other character to make another set of choices: y
Positioning Media For Loading - Please Wait.
x ./bin/bcp, 750177 bytes, 733 tape blocks
x ./bin/bcp_dce, 690248 bytes, 675 tape blocks
x ./bin/cpre, 917577 bytes, 897 tape blocks
x ./bin/cpre_dce, 934562 bytes, 913 tape blocks
x ./bin/defncopy, 665826 bytes, 651 tape blocks
.
.
.
安装XA LIBRARY FOR CICS
$ /cdrom/xa11.1/sybload -D
SYBLOAD - Product Distribution Program
Sybase (c) 1996
Current directory is "/sybase".
Is this the correct directory for installation?
If so, please enter 'y' or 'Y': y
Is this a Local or Remote installation, as defined in your Installation Guide?
Please enter L for Local or R for Remote.
> L
Please enter the full name of the disk file of the global archive:
> /cdrom/xa11.1/sybimage
You specified /cdrom/xa11.1/sybimage for the media device. Is this correct?
please enter 'y' or 'Y' to continue: y
Please enter your Customer Authorization String, letters only:
> QFBKBY IOBXBK BYBYBO BKBKBY BYBOLO OBJZ
Sybase Products available for installation:
Product No. 1: XA Library for CICS and Encina, RS6000, 11.1.1
Please enter the Product Numbers that you wish to install, one per line.
Terminate your entries with a blank line.
> 1
>
The following products were chosen for installation:
Choice No. 1: XA Library for CICS and Encina, RS6000, 11.1.1
If this list is correct as shown,
please enter 'y' or 'Y' to continue,
'q' or 'Q' to quit,
or any other character to make another set of choices: y
x ./devlib/libxa.a, 150644 bytes, 148 tape blocks
x ./install/SPR/cpr_xa, 2198 bytes, 3 tape blocks
x ./install/SPR/spr_xa, 800 bytes, 1 tape blocks
x ./install/setperm_xa, 1209 bytes, 2 tape blocks
.
.
.
x ./scripts/xasproc.sql, 7985 bytes, 8 tape blocks
x ./scripts/xaspropt.sql, 8639 bytes, 9 tape blocks
The following products have been distributed from tape:
XA Library for CICS and Encina, RS6000, 11.1.1
This concludes the tape distribution portion of the Sybase Installation.
Please consult your Installation Guide for further installation instructions.
安装SERVER 补丁
1.以用户sybase登录。
2.将补丁程序包从光盘拷贝到/sybase目录下。
$ cd /cdrom/patch
$ cp ibm.tar /sybase
$ cp ebf8408.tar.Z /sybase
$ cd /sybase
$ tar xvf ibm.tar
$ zcat ebf8408.tar tar xvf -
安装Open client/server的补丁程序
su - sybase
cd /cdrom/patch
cp ebf8020.tar /sybase
tar xvf ebf8020.tar