当前位置:早雪网网络学院编程文档其他语言 → AIX下安装SyBase11.92

AIX下安装SyBase11.92

减小字体 增大字体 作者:未知  来源:从互联网收集整理并转载  发布时间:2005-6-3 0:56:07

AIX下安装SyBase11.92

一、        数据库软件安装

1、安装要求

平台    硬件       软件         最小内存         支持的协议

IBM RS/6000      AIX 4.1.4      256MB             TCP,SPX


2、为
SYBASE创建用户、文件系统和环境设置

创建用户和用户组

必须为syabse在系统中创建用户组sybase和用户sybase,用户sybase的基本组为sybase

# gounpadd sybase

# useradd –g sybase sybase

创建文件系统

建议为sybase的系统文件创建一个单独的文件系统,最好加载一块新硬盘,不然就在/mkdir一个新目录(空间要求足够大),一般为/sybase,建议大小为1000M以上。

将文件系统mount上,修改目录/sybase的用户属主为sybase用户,组属主为sybase组。

# cd /

# mkdir  sybase

# chown  sybase:sybase  /sybase


3、设置安装环境

环境变量设置,可以设置在用户sybase.profile或系统/etc/profile中。

.profile部分参考设置

PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$home/bin:/usr/bin/X11:/sbin

export  PATH

SYBASE = /sybase (sybase的安装目录)

export  DISPLAY = 80.20.16.28:0.0

DISQUERY = F50

export  DISQUERY

export  LD_LIBRARY _PATH = $SYBASE/lib

export  PATH = $PATH: $SYBASE/install:$SYBASE/bin

NLSDATH ()

export  NLSDATH

LANG = en_US


4、软件包处理

 软件包来源一般有两种,光盘或tar压缩包

 例:

光盘:  # mount /dev/cdrom /mnt/cdrom

压缩包:# tar xvf syb1192_AIX.tar

 
5、安装sybase相关软件

Adaptive Server EnterpriseSQL Serverserver端产品,其他的都是client端产品,一般只需要安装ASE就可以了。

安装Adaptive Server Enterprise

1) 以用户sybase登录。

2) 在用户sybaseHOME目录下,执行相应产品光盘的安装命令。

先取得对应产品的CAS,一般写在光盘的标签上,或者在该产品的install/cas文件中。如 Adaptive Server Enterprise 11.9.2CAS在文件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/ase1192/sybimage (/sybase/ase1192/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] [2] [3]  下一页

[数据载入中...] [返回上一页] [打 印]