?? 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 + -