1. 安裝要求
平臺 硬件 軟件 最小內存 支持的協議
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