764.shtml

来自「UNIX的东西」· SHTML 代码 · 共 301 行

SHTML
301 行
字号
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>SCO UNIX的一些使用 - fanqiang.com</title>
<style type="text/css">
body,th,input,select,textarea,select,checkbox{font:12pt 宋体}
A:link { text-decoration:underline; color:#E6A306}
A:visited { text-decoration:underline; color:#E6A306}
A:hover { text-decoration:underline; color:#FFFF00}
body {  font-family: "宋体", "serif"; font-size: 12pt}
td {  font-family: "宋体", "serif"; font-size: 12pt}
p  { font-size: 9pt; line-height: 150%}
</style>
</head>
<body text="#ffffff" bgcolor="#000000" background="/images/bline.gif"  topmargin=5 marginheight=5 leftmargin=0 marginwidth=0 onLoad="setTailPosition()">
<center>

<table border="0" width="750"  cellspacing="0" cellpadding="0">
<tr>
  <td height="45"><p align="center"><img src="/images/title.gif" alt="[ 永远的UNIX::UNIX技术资料的宝库 ]"> </td>
  </tr> 
<tr>
<tr>
 <td align=left height="40" valign=bottom align=left><small><a href="/">首页</a> > 系统管理 > <a href=/system/sco/index.shtml>SCO</a> > 正文</small></td>
</tr>
<tr>
  <td width="100%" height="2" colspan="5" bgcolor="#D09F0D"><img src="/images/c.gif" width=1 height=1></td> 
</tr>
</table>

<table width=750 border=0 cellspacing=0 cellpadding=0>
<tr><td valign=top align=center >
<br>
	<table width=90% border=0 cellspacing=0 cellpadding=0 align=center>
	<tr><th class=f24><h1>SCO UNIX的一些使用</h1></th></tr>
	<tr><td height=20 align=center><font color=#999999><small> 本文出自: 作者: (2001-07-06 13:04:00)</small></font></td></tr>
	<tr><td ><br>
<script type="text/javascript"><!--
google_ad_client = "pub-0052768304011480";
google_alternate_color = "000000";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="5959447789";
google_color_border = "000000";
google_color_bg = "666666";
google_color_link = "FFFFFF";
google_color_url = "FF9900";
google_color_text = "CCCCCC";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>	
	</td></tr>
	<tr><td height=15></td></tr>
	<tr><td class=l17><font id="zoom" class=f14>
<font color=#cccccc>
<!-- 正文begin -->
<!--HTML_BEGIN-->

  <table width="744" border="0" cellspacing="0" cellpadding="0" height="76">
    <tr> 
      <td> 
        <p> <br>
          一、 用 SCO UNIX 系统盘建立引导盘:<br>
          1. 在已经安装 UNIX 系统的机器上挂起 SCO UNIX 系统盘:<br>
          # mount /dev/cd0 /mnt<br>
          2. 进入光盘上相应的目录:<br>
          # cd /mnt/image/boot<br>
          3. 在软驱中插入软盘:<br>
          # dd if=./N00 of=/dev/rfd0135ds18 bs=512<br>
          4. 如果是SCSI 硬盘,需要在按以下步骤做alad引导盘:<br>
          # mount /dev/cd0 /mnt<br>
          # cd /mnt/image/alad<br>
          # dd if=./N00 of=/dev/rfd0135ds18 bs=512<br>
          <br>
          二、 在 IBM Netfinity 5000, 类型为 8659-12Y 的主机上安装SCO 5.0.4:<br>
          1. IBM Netfinity 5000的SCSI 接口类型alad325与上述alad 接口类型不同,<br>
          在安装系统前,需要用IBM随机带的2号光盘 Software Guide<br>
          来做alad325的驱动。其步骤如下:<br>
          用2 号盘Software Guide 引导主机,出现主菜单:<br>
          ? 选择 Operating System Installation<br>
          ? 选择 SCO Open Server<br>
          ? 选择 OpenServer Release 5.0.4<br>
          ? 选择 Server : IBM Netfinity 5000<br>
          Hard Disk Adapters : IBM Netfinity SCSI-2 Fast/Wide PCI Adapter <br>
          Network Adapters : IBM Netfinity PCNet Ethernet Controller<br>
          ? 选择 7800 Family Manager [ SCO UNIX ]<br>
          ? 选择 7800 Family Manager Set Disk 2 of 2<br>
          ? 插入软盘,按OK 后开始做盘<br>
          2. 开始安装 SCO UNIX 系统:<br>
          1) 插入引导盘,在 boot 提示符下输入:<br>
          &gt; restart link=alad325 Sdsk=alad(0,0,0,0) Srom=wd(0,0,0,0)<br>
          2) 当提示 Please insert the fd(60) alad volume时,插入 alad325 驱动盘<br>
          3) 当提示: Please enter which routine (0-40) to replace (‘?’ to list) 时输入:25<br>
          4) 成功后插入引导盘<br>
          5) Enter 后再插入 alad325 盘来 link, 按回车键。<br>
          6) 出现屏幕,<br>
          Media device to be used : IDE CDROM<br>
          IDE Controller : primary<br>
          Master or slave : master<br>
          7) Keyboard : US English<br>
          8) License Number: 需要输入<br>
          License Code: 需要输入<br>
          License Code: 需要输入<br>
          9) 选择 Fresh, 表示重新安装 <br>
          10) 输入以下信息:<br>
          System name : 需要输入<br>
          Domain name : 需要输入<br>
          Security profile : Traditional<br>
          Time Zone: Geographical area : Asia<br>
          Asian time zone: China Standard Time (CST)<br>
          Daylight savings time: user must set after Installation<br>
          11) Language : Standard C (English)<br>
          12) Standard Enterprise System configuration : Yes<br>
          Lightweight character terminal configuration : No<br>
          Database service : Yes<br>
          13) Hard disk setup : <br>
          * Disk 0, 4290MB Paratitions &amp; filesystems : customize<br>
          Name Mount Point Size(in MB) Type<br>
          0 boot /stand 15 EAFS<br>
          1 swap 512 NONFS<br>
          2 root / 600 HTFS<br>
          3 u0 /u0 1000 HTFS<br>
          4 u1 /u1 2162 HTFS<br>
          5 0 NOT USED<br>
          6 recover 1 NONFS<br>
          注:上述假定硬盘的大小为4.5G。 swap 区的大小应为内存的2-4 倍。<br>
          * Disk 0 bad block type : None<br>
          Hard disk setup : Layout now customized : Bad Blocking OFF<br>
          14) Optional software : (Optional)<br>
          软件的安装可根据需要,按空格进行选取,按回车进行确认。<br>
          Optional software : xxxM total<br>
          15) Network card : Deferred<br>
          Network address : No networking card configured<br>
          Video and graphics : No graphics<br>
          Mouse : Low Resolution Keyboard Mouse<br>
          Email system : sendmail<br>
          16) Root password: 需要根据提示输入两遍<br>
          17) 系统安装开始, 安装结束后机器自动引导。<br>
          18) 安装IBM 服务器网卡:<br>
          系统重新引导后用 Root 注册:<br>
          # netconfig<br>
          在菜单上选 Hardware ? Add new LAN adapter <br>
          ? IBM PCI Ethernet Adapter<br>
          PCI BUS# : 0<br>
          Device# : 9<br>
          Function# : 0<br>
          在菜单上选 Add protocol ? IBM PCI Ethernet Adapter ? SCO TCP/IP<br>
          * SCO TCP/IP Configuration<br>
          Local Host Name : 需要输入<br>
          IP Address : 需要输入<br>
          Netmask : 需要输入<br>
          Broadcast Address : 需要输入<br>
          Domain Name : 需要输入<br>
          TCP Connections : 256<br>
          Pseudo Ttys : 16<br>
          在菜单上选择 Hardware ? Exit<br>
          Do you want to re-link the kernel now? [Yes]<br>
          Rebuild the kernel and kernel environment? [Yes]<br>
          # reboot<br>
          在系统引导时出现 %stbg 的设备提示即为网卡。<br>
          <br>
          三、 在SCO系统上安装HP35480A 磁带机:<br>
          1. 设置磁带机的开关和SCSI地址:<br>
          配置开关在磁带机的下面。在SCO系统上安装的配置开关如下:<br>
          1 2 3 4 5 6 7 8<br>
          On On Off On On On On On<br>
          SCSI ID 号的设置位于磁带机的后部。把磁带机的ID号设为 6 ,<br>
          根据二进制规则,把短路块插在SCSI 1 和 SCSI 2 上 : 6 = 21 + 22<br>
          2. 把磁带机安装到主机的SCSI 接口上,SCSI连线的彩色条带端靠近电源。<br>
          3. 用root 用户注册。<br>
          1) # mkdev tape<br>
          2) 选择 1- Configure SCSI tape drive<br>
          3) 选择 Install tape drive<br>
          4) Select the appropriate SCSI adapter : alad<br>
          5) Select the appropriate SCSI bus : 0<br>
          6) Select the Target ID to match the SCSI ID set on the back of the 
          drive: 6<br>
          7) Which the LUN of device : 0<br>
          8) Enter y to update the SCSI configuration.<br>
          9) Enter the following details (do not type the quotes):<br>
          o &quot;HP&quot; for the Vendor identification string<br>
          o &quot;2&quot; for the SCSI version to which the drive conforms<br>
          o &quot;2&quot; for the Response Data Format (SCSI-2)<br>
          o &quot;4&quot; for the DAT device<br>
          10) 支持的磁带类型:<br>
          选1 – Generic SCSI-1/SCSI-2 tape drive<br>
          11) Enter &quot;q&quot; to leave the boot string displayed when the 
          system is rebooted unchanged.<br>
          12) Enter &quot;q&quot; to return to the Main Menu.<br>
          13) Enter &quot;q&quot; to quit.<br>
          14) rebuild the kernel and the kernel environment [Yes]<br>
          15) select the new kernel to be booted by default [Yes]<br>
          上述过程产生以下设备文件:<br>
          /dev/xct0 linked to /dev/xStp0<br>
          /dev/rct0 linked to /dev/rStp0 and /dev/rmt/0b<br>
          /dev/nrct0 linked to /dev/nrStp0 and /dev/rmt/0bn<br>
          16) 对磁带机进行测试:<br>
          放入磁带,等待绿灯稳定后,对磁带进行如下操作:<br>
          # tar cv8 /etc/hosts<br>
          # tar tv8<br>
          若以上操作正常,则表示安装正确。<br>
          <br>
          3. 若主机上没有SCSI 接口,则须加一块接口卡,可以选择<br>
          Fast SCSI-2 CI-2020M 卡。<br>
          1) 在主机上用以下命令看硬件的配置:<br>
          # hwconfig<br>
          选择一个空闲的中断号, 例如,中断9为空闲。<br>
          设置接口卡的跳线为9 (ON表示插短路块,OFF表示不插短路块):<br>
          IRQ9 IRQ10 IRQ11 IRQ12 IR1 IR0 PAR &gt;1GB EDC ESN<br>
          ON OFF OFF OFF ON ON OFF ON OFF OFF<br>
          2) 把磁带机连接到卡上,使SCSI连线的彩色条带端靠近电源。<br>
          3) 开机引导,出现下面的硬件设备列表:<br>
          %adapter 0x340-0x35F Vector=9 type=smad ha=0 id=7 fts=s<br>
          4) 用root 注册:<br>
          # mkdev tape<br>
          5) 选择 1- Configure SCSI tape drive<br>
          6) 选择 Install tape drive<br>
          7) Select the appropriate SCSI adapter : smad<br>
          8) Which ‘smad’ SCSI host adapter supports this device : 0<br>
          9) 是否改变当前的中断和地址范围:Yes<br>
          10) Select target ID to match the SCSI ID Set on the back of the drive 
          : 9<br>
          11) 输入 start I/O address : 340<br>
          12) 输入 end I/O address : 35F<br>
          13) update link-kit(Y/N) : y<br>
          14) Which SCSI bus is this device attach to: 0<br>
          15) Which Target ID for this device: 6<br>
          16) Which the LUN of device : 0<br>
          17) Update the SCSI configuration : y<br>
          18) Enter the following details (do not type the quotes):<br>
          o &quot;HP&quot; for the Vendor identification string<br>
          o &quot;2&quot; for the SCSI version to which the drive conforms<br>
          o &quot;2&quot; for the Response Data Format (SCSI-2)<br>
          o &quot;4&quot; for the DAT device<br>
          19) 支持的磁带类型:<br>
          选1 – Generic SCSI-1/SCSI-2 tape drive<br>
          20) Enter &quot;q&quot; to leave the boot string displayed when the 
          system is rebooted unchanged.<br>
          21) Enter &quot;q&quot; to return to the Main Menu.<br>
          22) Enter &quot;q&quot; to quit.<br>
          23) rebuild the kernel and the kernel environment [Yes]<br>
          24) select the new kernel to be booted by default [Yes]<br>
          上述过程产生以下设备文件:<br>
          /dev/xct0 linked to /dev/xStp0<br>
          /dev/rct0 linked to /dev/rStp0 and /dev/rmt/0b<br>
          /dev/nrct0 linked to /dev/nrStp0 and /dev/rmt/0bn<br>
          25) 对磁带机进行测试:<br>
          放入磁带,等待绿灯稳定后,对磁带进行如下操作:<br>
          # tar cv8 /etc/hosts<br>
          # tar tv8<br>
          若以上操作正常,则表示安装正确。</p>
      </td>
    </tr>
  </table>

<!--HTML_END-->
<br>	
<!-- 正文end -->
<br>
(http://www.fanqiang.com)<br>
</font>
<br>
<font color=#999999><small></small></font>	
<br>

		</td></tr>
	</table>

<br>
</td></tr>
</table>

<table width=750 border=0 cellpadding=0 cellspacing=0>
<tr><td width=620 align=center>

<table width=562 border=0 cellspacing=0 cellpadding=0>
<tr><td width=562>
 	<table width=562 border=0 cellspacing=0 cellpadding=0>
 	<tr><td >
 	 

</td></tr>
<tr><td height=10></td></tr>

</table>
<!--结束:底部-->


<table border=0 width=750>
<tr>
  <td width="100%" height="2" colspan="5" bgcolor="#D09F0D"><img src="/images/c.gif" width=1 height=1></td> 
</tr>
<tr>
    <td width="100%" height="40" colspan="5" valign=top><p align="center"><font color=#ffffff>★&nbsp;&nbsp;樊强制作 欢迎分享&nbsp;&nbsp;★ </font></p></td>
  </tr>
</table>
</center>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?