📄 sybaseforscounix.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0044)http://www.ddvip.net/os/scounix/index/59.htm -->
<HTML><HEAD><TITLE>SYBASE 11.0.0 For SCO Unix 安装手册</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
href="SYBASE 11_0_0 For SCO Unix 安装手册.files/css.css" type=text/css
rel=stylesheet>
<STYLE type=text/css>.style1 {
COLOR: #0000ff
}
.header {
FONT-SIZE: 14px; COLOR: #cc0000
}
.line-height {
LINE-HEIGHT: 22px
}
</STYLE>
<SCRIPT language=JavaScript>
function GetContentWnd(){ return parent; }
function OnSave(){
var oWnd = GetContentWnd();
window.external.addFavorite( oWnd.location.href, oWnd.document.title );
}
</SCRIPT>
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
<BODY leftMargin=0 topMargin=5 marginheight="5">
<TABLE cellSpacing=0 cellPadding=0 width=750 align=center border=0>
<TBODY>
<TR>
<TD colSpan=8>
<TABLE cellSpacing=0 cellPadding=0 width=750 align=center border=0>
<TBODY>
<TR>
<TD vAlign=top align=right height=30><A class=a01
href="http://www.ddvip.net/">主站首页 </A><SPAN class=point1>●</SPAN> <A
href="http://vip.ddvip.net/"><FONT color=#ff0000>视频下载
</FONT></A><SPAN class=point1>●</SPAN> <A class=a01
href="http://book.ddvip.net/">书籍下载 </A><SPAN class=point1>●</SPAN>
<A class=a01 href="http://soft.ddvip.net/">软件下载 </A><SPAN
class=point1>●</SPAN> <A class=a01 href="http://bbs.ddvip.net/">论坛交流
</A><SPAN class=point1>●</SPAN> <A class=a01
href="http://yl.ddvip.net/">综合娱乐 </A><SPAN class=point1>●</SPAN> <A
class=a01 href="http://www.ddvip.net/search.asp">站内搜索 </A><SPAN
class=point1>●</SPAN> <A class=a01
href="http://www.ddvip.net/map.asp">网站地图</A></TD></TR></TBODY></TABLE></TD></TR>
<TR align=middle>
<TD colSpan=8 height=80>
<OBJECT
codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0
height=80 width=750 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME="movie" VALUE="../../images/ad.swf"><PARAM NAME="quality" VALUE="high">
<embed src="../../images/ad.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="750" height="80"></embed>
</OBJECT></TD></TR>
<TR>
<TD align=left width=85 height=30><IMG height=30
src="SYBASE 11_0_0 For SCO Unix 安装手册.files/teachonline.gif" width=85></TD>
<TD align=left width=85><A href="javascript:OnSave();"><IMG height=30
src="SYBASE 11_0_0 For SCO Unix 安装手册.files/add.gif" width=85
border=0></A></TD>
<TD vAlign=top align=right width=8><IMG height=8
src="SYBASE 11_0_0 For SCO Unix 安装手册.files/bg3-1.gif" width=8></TD>
<TD vAlign=bottom align=left width=8 bgColor=#cbe6fe height=30><IMG
height=8 src="SYBASE 11_0_0 For SCO Unix 安装手册.files/bg4-1.gif" width=8></TD>
<TD class="style1 menu" width=448 bgColor=#cbe6fe height=30>
<MARQUEE>豆豆技术网----中国最大的计算机教程网,伴你学习,助你成长的良师益友!</MARQUEE></TD>
<TD vAlign=bottom align=middle width=8 bgColor=#cbe6fe><IMG height=8
src="SYBASE 11_0_0 For SCO Unix 安装手册.files/bg4-2.gif" width=8></TD>
<TD vAlign=top align=left width=8><IMG height=8
src="SYBASE 11_0_0 For SCO Unix 安装手册.files/bg3-2.gif" width=8></TD>
<TD width=100><A href="http://www.ddvip.net/os/scounix/index.asp"><IMG
height=30 src="SYBASE 11_0_0 For SCO Unix 安装手册.files/pre.gif" width=100
border=0></A></TD></TR>
<TR>
<TD colSpan=8>
<TABLE cellSpacing=0 cellPadding=0 width=750 border=0>
<TBODY>
<TR>
<TD class=f16 vAlign=center align=middle height=50>
<P align=center><STRONG>SYBASE 11.0.0 For SCO Unix
安装手册</STRONG></P></TD></TR>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width=740 align=right border=0>
<TBODY>
<TR>
<TD width=100 height=20> </TD>
<TD class=top vAlign=bottom align=middle width=620
height=30>作者:未知 更新人:Ideal
来源:douzhe.com 更新时间:2004.07.23 投稿信箱:tg*ddvip.com
</TD>
<TD vAlign=center align=right width=20 height=30><IMG
height=30 src="SYBASE 11_0_0 For SCO Unix 安装手册.files/bg1.gif"
width=20></TD></TR>
<TR>
<TD width=720 colSpan=2></TD>
<TD width=20
background="SYBASE 11_0_0 For SCO Unix 安装手册.files/bg2.htm"></TD></TR>
<TR>
<TD align=left width=720 bgColor=#f7f7f7 colSpan=2>
<P class=line-height><BR>SYBASE SYSTEM 11.0.0 for SCO UNIX
5.0.5 <BR>安 装 说 明 <BR>1.首先必须确定网卡已正确地配置在系统上。
<BR>2.以root登录,用scoadmin命令创建Sybase用户,组属为Sybase
<BR>确定上述二部骤无误之后,我们可以转入一阶段地安装工作。 <BR>3.login:root <BR># divvy
<BR>系统 子分区表(试举例) <BR>NameTypeNew Fs#Fist BlockLast Block
<BR>bootEAFSno0019999 <BR>swapNON FSno120000109999
<BR>rootHTFSno211000709999 <BR>/uHTFSno37100001309999
<BR>raw1NON FSno4-- <BR>raw2NON FSno5-- <BR>recoverNON
FSno621104542110463 <BR>hd0WHOLE DISKno702111471
<BR>raw1和raw2是Sybase的数据库设备实际存放的物理设备名称。raw1用来存放数据库,raw2用来存放事务日志。
<BR>在这里我们正确地分配raw1和raw2的大小: <BR>假设我们定义raw1=600M, raw2=200m。
<BR>nName or renawe a divishon <BR>cCredit a new file system
on this divison <BR>tSelect or change filesystem type on new
filesystem <BR>pPrevent a new file system from being crented
on the division <BR>sStart a division on a different block
<BR>eEnd a division on a different block <BR>rRestore the
original division table <BR>Enter you choice or q to Quit_____
n ↙ <BR>Whick division (o through 7): 4 ↙ <BR>What do your
want to call it?:raw1 ↙ <BR>定义起始块,按需要设定起始块: <BR>Enter you
choice or q Quit: S ↙ <BR>Whick division ? :4 ↙ <BR>Start
number block:1310000 ↙ <BR>(建议:boot 的大小为20MB,u文件系统的大小为500MB)
<BR>同上,如此类推定义raw2后,屏幕应提示 <BR>NameTypeNew Fs#Fist BlockLast
Block <BR>bootEAFSno0019999 <BR>swapNON FSno120000109999
<BR>rootHTESno211000709999 <BR>/uEAFSno37100001309999
<BR>raw1NON FSno413100001910000 <BR>raw2NON
FSno519100012110001 <BR>recoverNON FSno621104542110463
<BR>hd0aWHOLE DISKno702111471 <BR>Enter you choice or q to
Quit q ↙ <BR>系统提示: <BR>iInstall the division set_up shown
<BR>rRetarn to the previous menu <BR>eexit without installing
a division table <BR>Enter your choice or q to Quit i ↙
<BR>然后,准备物理设备raw1, raw2,在root下将raw1, rraw1, raw2,
rraw2的属性及组名更改为sybase,并且权限为666 <BR># cd dev ↙ <BR># chown
sybase raw* rraw* ↙ <BR># chgrp sybase raw* rraw* ↙ <BR>#
chmod 666 raw* rraw* ↙ <BR>然后退出以Sybase用户登录系统 <BR>$ mkdir
install ↙ <BR>$ cd install ↙ <BR>$ tar xv6 sco_kernel.scr ↙
<BR>把光盘插入CD_ROM将它安装进文件系统,以root登录。 <BR># mount /dev/cd0 /mnt ↙
<BR>再次以Sybase用户登录: <BR>$ cd /mnt <BR>$ sybload -D ↙
<BR>current directory is "/mnt"设置安装的路径 <BR>Is this the correct
directory for installation? <BR>If so, Please enter 'y' or 'n'
: n ↙ <BR>Please specify the correct installation directory
here <BR>A null entry will terminate this installation:
/u/sybase ↙ <BR>Current directory is "/u/Sybase" <BR>Is this
the correct directory for installation? <BR>If so, Please
enter 'Y' or 'Y' : y <BR>设置安装的方式:Is this a local or Remote in
installation, as defined in your installation Guide?
<BR>Please enter L for Local or R for Remote. <BR>> L ↙
<BR>Please enter the full name of the disk file of the global
archive : > /mnt/sybimage ↙ <BR>Yor specified /mnt/sybimage
for the media device, Is this correct? Please enter 'y' or 'Y'
to continue: y <BR>紧跟随着系统将会提示你输入Sybase产品的序列号(CAS):
<BR>CAS:DVBYBY SOKOBY BYBYBD BYBKBK BZTWLO BJVL ↙
<BR>正确输入序列号后,会提供一串可供安装的菜单项 <BR>选择1:Sybase 11.0之后回车
<BR>可把光盘上的Sybase安装至/u/Sybase之下。
<BR>至此,Sybase已安装至硬盘上面,我们可以进行设置方面地工作。 <BR>$ pwd ↙ $/mnt <BR>$
cd.. ↙ 退出mnt目录。 <BR>首先, 要把在/mnt下的sybase拆卸掉,我们以root登录,执行#
umount /dev/cd0 ↙ 即可 <BR>然后# cd /u/sybase/install ↙ “设置环境变量”
<BR># SYBASE = /u/sybase; export SYBASE ↙ <BR>增大SHMMAX的大小
<BR># 重新链接内核 sh ./sco_kernel.scr sybase ↙ <BR># cd
/etc/conf/cf.d ↙ <BR># vi stune <BR>删掉MAXPMEM 0该行后,存盘退出 <BR>#
vi mtune <BR>修改NAIOHBUF该行,将50修改成500后,存盘退出 <BR># cd
/etc/conf/pack.d /itimer ↙ <BR># cp space.c.presyb space.c ↙
<BR># vi space.c <BR>修改该行int alarm_accuracy设为等于-1; <BR># cd
/usr/lib <BR># cp aiomemlock. presyb aiomemlock ↙ <BR># vi
aiomemlock (在该文件末增加一行sybase 28000000) <BR># cd
/etc/conf/sdevice.d <BR># vi aio <BR>将该文件重覆的两行删掉一行后,存盘退出 <BR>#
vi suds <BR>将suds该行的N,改为Y后存盘退出 <BR># cd /etc/rc2.d <BR># vi
S99* <BR>在#字符下一行的行首加入一句: /etc/suds_ctrl -a 100
<BR>该100为Sybase的组号,做完此步之后 <BR>链接内核重新启动后,重新进入Sybase用户 <BR>$ cd
install <BR>$ sybinit <BR>此时,请参考附页1,将参数设置正确,提示安装成功即可。 </P>
<P>
<P>
<P><BR>附页1
<P>注:在下文中每屏信息由横线隔开,在<>中在值为输入值,MASTER设备为raw1.
<BR>Sybase的主目录为/u/sybase
<P><BR>SYBINIT
<P>1. Release directory: /u/sybase
<P>2. Edit / View Interfaces File
<P>3. Configure a Server product <BR>4. Configure an Open
Client/Server product <BR>5. Configure a Front End product
<P><BR>Ctrl-a Accept and Continue, Ctrl-x Exit Screen, ? Help.
<P>Enter the number of your choice and press return: <3>
<BR>----------------------------------------------------------------------------
<P>CONFIGURE SERVER PRODUCTS
<P>Product Date Installed Date Configured <BR>1. SQL Server
Jun 09 96 14:35 Jun 13 96 17:30 <BR>2. Backup Server Jun 09 96
14:35 Jun 13 96 17:32
<P><BR>Ctrl-a Accept and Continue, Ctrl-x Exit Screen, ? Help.
<P>Enter the number of your choice and press return: <1>
<BR>----------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -