SYBASE 1100 For SCO Unix 安装手册Word下载.docx
《SYBASE 1100 For SCO Unix 安装手册Word下载.docx》由会员分享,可在线阅读,更多相关《SYBASE 1100 For SCO Unix 安装手册Word下载.docx(20页珍藏版)》请在冰豆网上搜索。
nNameorrenaweadivishon
cCreditanewfilesystemonthisdivison
tSelectorchangefilesystemtypeonnewfilesystem
pPreventanewfilesystemfrombeingcrentedonthedivision
sStartadivisiononadifferentblock
eEndadivisiononadifferentblock
rRestoretheoriginaldivisiontable
EnteryouchoiceorqtoQuit_____n↙
Whickdivision(othrough7):
4↙
Whatdoyourwanttocallit?
:
raw1↙
定义起始块,按需要设定起始块:
EnteryouchoiceorqQuit:
S↙
Whickdivision?
:
4↙
Startnumberblock:
1310000↙
(建议:
boot的大小为20MB,u文件系统的大小为500MB)
同上,如此类推定义raw2后,屏幕应提示
rootHTESno211000709999
/uEAFSno37100001309999
raw1NONFSno413100001910000
raw2NONFSno519100012110001
hd0aWHOLEDISKno702111471
EnteryouchoiceorqtoQuitq↙
系统提示:
iInstallthedivisionset_upshown
rRetarntothepreviousmenu
eexitwithoutinstallingadivisiontable
EnteryourchoiceorqtoQuiti↙
然后,准备物理设备raw1,raw2,在root下将raw1,rraw1,raw2,rraw2的属性及组名更改为sybase,并且权限为666
#cddev↙
#chownsybaseraw*rraw*↙
#chgrpsybaseraw*rraw*↙
#chmod666raw*rraw*↙
然后退出以Sybase用户登录系统
$mkdirinstall↙
$cdinstall↙
$tarxv6sco_kernel.scr↙
把光盘插入CD_ROM将它安装进文件系统,以root登录。
#mount/dev/cd0/mnt↙
再次以Sybase用户登录:
$cd/mnt
$sybload-D↙
currentdirectoryis"
/mnt"
设置安装的路径
Isthisthecorrectdirectoryforinstallation?
Ifso,Pleaseenter'
y'
or'
n'
:
n↙
Pleasespecifythecorrectinstallationdirectoryhere
Anullentrywillterminatethisinstallation:
/u/sybase↙
Currentdirectoryis"
/u/Sybase"
Isthisthecorrectdirectoryforinstallation?
Y'
y
设置安装的方式:
IsthisalocalorRemoteininstallation,asdefinedinyourinstallationGuide?
PleaseenterLforLocalorRforRemote.
>
L↙
Pleaseenterthefullnameofthediskfileoftheglobalarchive:
>
/mnt/sybimage↙
Yorspecified/mnt/sybimageforthemediadevice,Isthiscorrect?
Pleaseenter'
tocontinue:
紧跟随着系统将会提示你输入Sybase产品的序列号(CAS):
CAS:
DVBYBYSOKOBYBYBYBDBYBKBKBZTWLOBJVL↙
正确输入序列号后,会提供一串可供安装的菜单项
选择1:
Sybase11.0之后回车
可把光盘上的Sybase安装至/u/Sybase之下。
至此,Sybase已安装至硬盘上面,我们可以进行设置方面地工作。
$pwd↙$/mnt
$cd..↙退出mnt目录。
首先,要把在/mnt下的sybase拆卸掉,我们以root登录,执行#umount/dev/cd0↙即可
然后#cd/u/sybase/install↙“设置环境变量”
#SYBASE=/u/sybase;
exportSYBASE↙
增大SHMMAX的大小
#重新链接内核sh./sco_kernel.scrsybase↙
#cd/etc/conf/cf.d↙
#vistune
删掉MAXPMEM0该行后,存盘退出
#vimtune
修改NAIOHBUF该行,将50修改成500后,存盘退出
#cd/etc/conf/pack.d/itimer↙
#cpspace.c.presybspace.c↙
#vispace.c
修改该行intalarm_accuracy设为等于-1;
#cd/usr/lib
#cpaiomemlock.presybaiomemlock↙
#viaiomemlock(在该文件末增加一行sybase28000000)
#cd/etc/conf/sdevice.d
#viaio
将该文件重覆的两行删掉一行后,存盘退出
#visuds
将suds该行的N,改为Y后存盘退出
#cd/etc/rc2.d
#viS99*
在#字符下一行的行首加入一句:
/etc/suds_ctrl-a100
该100为Sybase的组号,做完此步之后
链接内核重新启动后,重新进入Sybase用户
$cdinstall
$sybinit
此时,请参考附页1,将参数设置正确,提示安装成功即可。
附页1
注:
在下文中每屏信息由横线隔开,在<
>
中在值为输入值,MASTER设备为raw1.
Sybase的主目录为/u/sybase
SYBINIT
1.Releasedirectory:
/u/sybase
2.Edit/ViewInterfacesFile
3.ConfigureaServerproduct
4.ConfigureanOpenClient/Serverproduct
5.ConfigureaFrontEndproduct
Ctrl-aAcceptandContinue,Ctrl-xExitScreen,?
Help.
Enterthenumberofyourchoiceandpressreturn:
<
3>
----------------------------------------------------------------------------
CONFIGURESERVERPRODUCTS
ProductDateInstalledDateConfigured
1.SQLServerJun099614:
35Jun139617:
30
2.BackupServerJun099614:
32
1>
----------------------------------------------------------------------------
NEWOREXISTINGSQLSERVER
1.ConfigureanewSQLServer
2.ConfigureanexistingSQLServer
ADDNEWSQLSERVER
1.SQLServername:
SYBASE
EnterthenameofthenewSQLServer(defaultis'
SYBASE'
):
SYBASE>
<
ctrl-a>
SQLSERVERCONFIGURATION
1.CONFIGURESERVER'
SINTERFACESFILEENTRYIncomplete
2.MASTERDEVICECONFIGURATIONIncomplete
3.SYBSYSTEMPROCSDATABASECONFIGURATIONIncomplete
4.SETERRORLOGLOCATIONIncomplete
5.CONFIGUREDEFAULTBACKUPSERVERIncomplete
6.CONFIGURELANGUAGESIncomplete
7.CONFIGURECHARACTERSETSIncomplete
8.CONFIGURESORTORDERIncomplete
9.ACTIVATEAUDITINGIncomplete
Ctrl-aAcceptandContinue,Ctrl-xExitScreen,?
SERVERINTERFACESFILEENTRYSCREEN
Servername:
SYBASE
1.RetryCount:
0
2.RetryDelay:
3.Addanewlistenerservice
Entertheretrycount(defaultis'
0'
3
2>
Enterthedelayintervalbetweenretries(defaultis'
EDITTCPSERVICE
1.Hostname/Address:
credit.credit.COM
2.Port:
3.NameAlias:
4.Deletethisservicefromtheinterfacesentry
Entertheportnumbertouseforthisentry(defaultis'
'
7371>
EDITTCPSERVICE
7371
Isthisinformationiscorrect?
y>
Modifyordeleteaservice
Listenerservicesavailable:
ProtocolAddressPortNameAlias
4.tcpcredit.credit.COM7371
Writethechangestotheinterfacesfilenow?
SINTERFACESFILEENTRYComplete
MASTERDEVICECONFIGURATION
1.MasterDevice:
/u/sybase/master.dat>
2.Size(Meg):
29.299805
MasterDevice最好放在裸设备/dev/rraw1下)
/u/sybase/data/master.dat>
EnterthesizeoftheSQLsever'
smasterdeviceinmegabutes:
40
----------------------------------------------------------------------------------
MASTERDEVICECONFIGURATION
40
-