歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> Unix教程 >> SCO UNIX的一些使用

SCO UNIX的一些使用

日期:2017/2/27 17:41:49   编辑:Unix教程


一、 用 SCO UNIX 系統盤建立引導盤:
1. 在已經安裝 UNIX 系統的機器上掛起 SCO UNIX 系統盤:
# mount /dev/cd0 /mnt
2. 進入光盤上相應的目錄:
# cd /mnt/image/boot
3. 在軟驅中插入軟盤:
# dd if=./N00 of=/dev/rfd0135ds18 bs=512
4. 如果是SCSI 硬盤,需要在按以下步驟做alad引導盤:
# mount /dev/cd0 /mnt
# cd /mnt/image/alad
# dd if=./N00 of=/dev/rfd0135ds18 bs=512

二、 在 IBM Netfinity 5000, 類型為 8659-12Y 的主機上安裝SCO 5.0.4:
1. IBM Netfinity 5000的SCSI 接口類型alad325與上述alad 接口類型不同,
在安裝系統前,需要用IBM隨機帶的2號光盤 Software Guide
來做alad325的驅動。其步驟如下:
用2 號盤Software Guide 引導主機,出現主菜單:
? 選擇 Operating System Installation
? 選擇 SCO Open Server
? 選擇 OpenServer Release 5.0.4
? 選擇 Server : IBM Netfinity 5000
Hard Disk Adapters : IBM Netfinity SCSI-2 Fast/Wide PCI Adapter
Network Adapters : IBM Netfinity PCNet Ethernet Controller
? 選擇 7800 Family Manager [ SCO UNIX ]
? 選擇 7800 Family Manager Set Disk 2 of 2
? 插入軟盤,按OK 後開始做盤
2. 開始安裝 SCO UNIX 系統:
1) 插入引導盤,在 boot 提示符下輸入:
> restart link=alad325 Sdsk=alad(0,0,0,0) Srom=wd(0,0,0,0)
2) 當提示 Please insert the fd(60) alad volume時,插入 alad325 驅動盤
3) 當提示: Please enter which routine (0-40) to replace (‘?’ to list) 時輸入:25
4) 成功後插入引導盤
5) Enter 後再插入 alad325 盤來 link, 按回車鍵。
6) 出現屏幕,
Media device to be used : IDE CDROM
IDE Controller : primary
Master or slave : master
7) Keyboard : US English
8) License Number: 需要輸入
License Code: 需要輸入
License Code: 需要輸入
9) 選擇 Fresh, 表示重新安裝
10) 輸入以下信息:
System name : 需要輸入
Domain name : 需要輸入
Security profile : Traditional
Time Zone: Geographical area : Asia
Asian time zone: China Standard Time (CST)
Daylight savings time: user must set after Installation
11) Language : Standard C (English)
12) Standard Enterprise System configuration : Yes
Lightweight character terminal configuration : No
Database service : Yes
13) Hard disk setup :
* Disk 0, 4290MB Paratitions & filesystems : customize
Name Mount Point Size(in MB) Type
0 boot /stand 15 EAFS
1 swap 512 NONFS
2 root / 600 HTFS
3 u0 /u0 1000 HTFS
4 u1 /u1 2162 HTFS
5 0 NOT USED
6 recover 1 NONFS
注:上述假定硬盤的大小為4.5G。 swap 區的大小應為內存的2-4 倍。
* Disk 0 bad block type : None
Hard disk setup : Layout now customized : Bad Blocking OFF
14) Optional software : (Optional)
軟件的安裝可根據需要,按空格進行選取,按回車進行確認。
Optional software : xxxM total
15) Network card : Deferred
Network address : No networking card configured
Video and graphics : No graphics
Mouse : Low Resolution Keyboard Mouse
Email system : sendmail
16) Root password: 需要根據提示輸入兩遍
17) 系統安裝開始, 安裝結束後機器自動引導。
18) 安裝IBM 服務器網卡:
系統重新引導後用 Root 注冊:
# netconfig
在菜單上選 Hardware ? Add new LAN adapter
? IBM PCI Ethernet Adapter
PCI BUS# : 0
Device# : 9
Function# : 0
在菜單上選 Add protocol ? IBM PCI Ethernet Adapter ? SCO TCP/IP
* SCO TCP/IP Configuration
Local Host Name : 需要輸入
IP Address : 需要輸入
Netmask : 需要輸入
Broadcast Address : 需要輸入
Domain Name : 需要輸入
TCP Connections : 256
Pseudo Ttys : 16
在菜單上選擇 Hardware ? Exit
Do you want to re-link the kernel now? [Yes]
Rebuild the kernel and kernel environment? [Yes]
# reboot
在系統引導時出現 %stbg 的設備提示即為網卡。

三、 在SCO系統上安裝HP35480A 磁帶機:
1. 設置磁帶機的開關和SCSI地址:
配置開關在磁帶機的下面。在SCO系統上安裝的配置開關如下:
1 2 3 4 5 6 7 8
On On Off On On On On On
SCSI ID 號的設置位於磁帶機的後部。把磁帶機的ID號設為 6 ,
根據二進制規則,把短路塊插在SCSI 1 和 SCSI 2 上 : 6 = 21 + 22
2. 把磁帶機安裝到主機的SCSI 接口上,SCSI連線的彩色條帶端靠近電源。
3. 用root 用戶注冊。
1) # mkdev tape
2) 選擇 1- Configure SCSI tape drive
3) 選擇 Install tape drive
4) Select the appropriate SCSI adapter : alad
5) Select the appropriate SCSI bus : 0
6) Select the Target ID to match the SCSI ID set on the back of the drive: 6
7) Which the LUN of device : 0
8) Enter y to update the SCSI configuration.
9) Enter the following details (do not type the quotes):
o "HP" for the Vendor identification string
o "2" for the SCSI version to which the drive conforms
o "2" for the Response Data Format (SCSI-2)
o "4" for the DAT device
10) 支持的磁帶類型:
選1 – Generic SCSI-1/SCSI-2 tape drive
11) Enter "q" to leave the boot string displayed when the system is rebooted unchanged.
12) Enter "q" to return to the Main Menu.
13) Enter "q" to quit.
14) rebuild the kernel and the kernel environment [Yes]
15) select the new kernel to be booted by default [Yes]
上述過程產生以下設備文件:
/dev/xct0 linked to /dev/xStp0
/dev/rct0 linked to /dev/rStp0 and /dev/rmt/0b
/dev/nrct0 linked to /dev/nrStp0 and /dev/rmt/0bn
16) 對磁帶機進行測試:
放入磁帶,等待綠燈穩定後,對磁帶進行如下操作:
# tar cv8 /etc/hosts
# tar tv8
若以上操作正常,則表示安裝正確。

3. 若主機上沒有SCSI 接口,則須加一塊接口卡,可以選擇
Fast SCSI-2 CI-2020M 卡。
1) 在主機上用以下命令看硬件的配置:
# hwconfig
選擇一個空閒的中斷號, 例如,中斷9為空閒。
設置接口卡的跳線為9 (ON表示插短路塊,OFF表示不插短路塊):
IRQ9 IRQ10 IRQ11 IRQ12 IR1 IR0 PAR >1GB EDC ESN
ON OFF OFF OFF ON ON OFF ON OFF OFF
2) 把磁帶機連接到卡上,使SCSI連線的彩色條帶端靠近電源。
3) 開機引導,出現下面的硬件設備列表:
%adapter 0x340-0x35F Vector=9 type=smad ha=0 id=7 fts=s
4) 用root 注冊:
# mkdev tape
5) 選擇 1- Configure SCSI tape drive
6) 選擇 Install tape drive
7) Select the appropriate SCSI adapter : smad
8) Which ‘smad’ SCSI host adapter supports this device : 0
9) 是否改變當前的中斷和地址范圍:Yes
10) Select target ID to match the SCSI ID Set on the back of the drive : 9
11) 輸入 start I/O address : 340
12) 輸入 end I/O address : 35F
13) update link-kit(Y/N) : y
14) Which SCSI bus is this device attach to: 0
15) Which Target ID for this device: 6
16) Which the LUN of device : 0
17) Update the SCSI configuration : y
18) Enter the following details (do not type the quotes):
o "HP" for the Vendor identification string
o "2" for the SCSI version to which the drive conforms
o "2" for the Response Data Format (SCSI-2)
o "4" for the DAT device
19) 支持的磁帶類型:
選1 – Generic SCSI-1/SCSI-2 tape drive
20) Enter "q" to leave the boot string displayed when the system is rebooted unchanged.
21) Enter "q" to return to the Main Menu.
22) Enter "q" to quit.
23) rebuild the kernel and the kernel environment [Yes]
24) select the new kernel to be booted by default [Yes]
上述過程產生以下設備文件:
/dev/xct0 linked to /dev/xStp0
/dev/rct0 linked to /dev/rStp0 and /dev/rmt/0b
/dev/nrct0 linked to /dev/nrStp0 and /dev/rmt/0bn
25) 對磁帶機進行測試:
放入磁帶,等待綠燈穩定後,對磁帶進行如下操作:
# tar cv8 /etc/hosts
# tar tv8
若以上操作正常,則表示安裝正確。


Copyright © Linux教程網 All Rights Reserved