.安裝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:.