1.安装sybase
1、# prtvtoc –f a /dev/rdsk/c0b0t0d0s0
2、# vi a (其中a的添加内容为:) 16 0x4 0x200 3807410 204800
17 0x4 0x200 4012215 2097152
18 0x4 0x201 6109372 163840
19 0x4 0x201 6273217 81920
20 0x4 0x201 6355142 409600
21 0x4 0x201 6764747 409600
22 0x4 0x201 7471352 819200
23 0x4 0x201 7993557 204800
24 0x4 0x201 8198362 409600
25 0x4 0x201 8607967 6291456
26 0x4 0x201 14899428 614400
27 0x4 0x201 15513833 819200
~
:wq
(建立两个文件系统0x200,建立十个裸设备0x201)
3、# edvtoc –f a /dev/rdsk/c0b0t0d0s0
4、# /etc/conf/bin/idbuild –B
5、# init 6
6、# mkdir /sybase /mbfe
7、# mkfs –F vxfs /dev/rdsk/c0b0t0d0s10 204800 (100M 单位为0.5k)
8、# mkfs –F vxfs /dev/rdsk/c0b0t0d0s11 2097152 (1G 单位为0.5k)
9、# mount –f vxfs /dev/dsk/c0b0t0d0s10 /mbfe
10、# mount –f vxfs /dev/dsk/c0b0t0d0s11 /sybase
11、#cd /sybase
12、#mkdir data databf
13、#mknod /sybase/data/master b 7679 18 (80M)
#mknod /sybase/databf/tempdb b 7679 19 (40M)
#mknod /sybase/data/systemdb b 7679 20 (200M)
# mknod /sybase/data/systemprocs b 7679 21 (200M)
#mknod /sybase/databf/wkdatadb b 7679 22 (400M)
#mknod /sybase/databf/wkindexdb b 7679 23 (100M)
#mknod /sybase/databf/wkdblog b 7679 24 (200M)
#mknod /sybase/databf/hisdatadb b 7679 25 (3G)
#mknod /sybase/databf/hisindexdb b 7679 26 (300M)
#mknod /sybase/databf/hisdblog b 7679 27 (400M)
14、#scoadmin——Accout Manager 建立用户和组
groups:sybase
users:sybase
Login Shell : /bin/ksh
Home Directory : /sybase
Login Group : sybase
15、# cd home/huateng (huateng是该系统的一个用户)
# ls –al
# cp .。profile /sybase
# cd /sybase
# ls –al
# vi .profile
16、SYBASE=/sybase (即=安装目录)
DSQUERY=SYBASE
LD_LIBRARY_PATH=$SYBASE/lib.
PATH=$PATH:/usr/sbin:/usr/java/bin:$SYBASE/bin:$SYBASE/install:.
Export PATH DSQUERY LD_LIBRARY_PATH SYBASE