SYBASE 11.0.0 For SCO Unix 安装手册


SYBASE SYSTEM 11.0.0 for SCO Unix 5.0.5
安 装 说 明
1.首先必须确定网卡已正确地配置在系统上 。
2.以root登录 , 用scoadmin命令创建Sybase用户 , 组属为Sybase
确定上述二部骤无误之后 , 我们可以转入一阶段地安装工作 。
3.login:root
# divvy
系统 子分区表(试举例)
NameTypeNew Fs#Fist BlockLast Block
bootEAFSno0019999
swapNON FSno120000109999
rootHTFSno211000709999
/uHTFSno37100001309999
raw1NON FSno4--
raw2NON FSno5--
recoverNON FSno621104542110463
hd0WHOLE DISKno702111471
raw1和raw2是Sybase的数据库设备实际存放的物理设备名称 。raw1用来存放数据库 , raw2用来存放事务日志 。
在这里我们正确地分配raw1和raw2的大小:
假设我们定义raw1=600M, raw2=200m 。
nName or renawe a divishon
cCredit a new file system on this divison
tSelect or change filesystem type on new filesystem
pPrevent a new file system from being crented on the division
sStart a division on a different block
eEnd a division on a different block
rRestore the original division table
Enter you choice or q to Quit_____ n ↙
Whick division (o through 7): 4 ↙
What do your want to call it?:raw1 ↙
定义起始块 , 按需要设定起始块:
Enter you choice or q Quit: S ↙
Whick division ? :4 ↙
Start number block:1310000 ↙
(建议:boot 的大小为20MB , u文件系统的大小为500MB)
同上 , 如此类推定义raw2后 , 屏幕应提示
NameTypeNew Fs#Fist BlockLast Block
bootEAFSno0019999
swapNON FSno120000109999
rootHTESno211000709999
/uEAFSno37100001309999
raw1NON FSno413100001910000
raw2NON FSno519100012110001
recoverNON FSno621104542110463
hd0aWHOLE DISKno702111471
Enter you choice or q to Quit q ↙
系统提示:
iInstall the division set_up shown
rRetarn to the previous menu
eexit without installing a division table
Enter your choice or q to Quit i ↙
然后 , 准备物理设备raw1, raw2 , 在root下将raw1, rraw1, raw2, rraw2的属性及组名更改为sybase , 并且权限为666
# cd dev ↙
# chown sybase raw* rraw* ↙
# chgrp sybase raw* rraw* ↙
# chmod 666 raw* rraw* ↙
然后退出以Sybase用户登录系统
$ mkdir install ↙
$ cd install ↙
$ tar xv6 sco_kernel.scr ↙
把光盘插入CD_ROM将它安装进文件系统 , 以root登录 。
# mount /dev/cd0 /mnt ↙
再次以Sybase用户登录:
$ cd /mnt
$ sybload -D ↙
current Directory is "/mnt"设置安装的路径
Is this the correct directory for installation?
If so, Please enter "y" or "n" : n ↙
Please specify the correct installation directory here
A null entry will terminate this installation: /u/sybase ↙
Current directory is "/u/Sybase"
Is this the correct directory for installation?
If so, Please enter "Y" or "Y" : y
设置安装的方式:Is this a local or Remote in 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 : > /mnt/sybimage ↙
Yor specifIEd /mnt/sybimage for the media device, Is this correct? Please enter "y" or "Y" to continue: y
紧跟随着系统将会提示你输入Sybase产品的序列号(CAS):
CAS:DVBYBY SOKOBY BYBYBD BYBKBK BZTWLO BJVL ↙
正确输入序列号后 , 会提供一串可供安装的菜单项
选择1:Sybase 11.0之后回车
可把光盘上的Sybase安装至/u/Sybase之下 。
至此 , Sybase已安装至硬盘上面 , 我们可以进行设置方面地工作 。
$ pwd ↙ $/mnt
$ cd.. ↙ 退出mnt目录 。
首先, 要把在/mnt下的sybase拆卸掉,我们以root登录,执行# umount /dev/cd0 ↙ 即可
然后# cd /u/sybase/install ↙ “设置环境变量”
# SYBASE = /u/sybase; export SYBASE ↙
增大SHMMAX的大小

推荐阅读