现在大多软件的安装导航都作得很好,SCO UNIX也不例外。只要我们了解清楚一些基本问题,安装时仔细看他的提示,应该就没有问题。安装一个操作系统前我们一般要了解下面一些问题:
安装对象。
引导方式。
软件包组成。
硬盘管理方式及文件系统。
硬件驱动方式及驱动程序安装。
安全管理方式。
介质类型。
补丁安装。
其他诸如时区、语言、键盘之类的问题。
就上面九个问题,我们来谈SCO UNIX的安装。
1.在安装之前,我们可以先把我们的安装对象了解一下,如什么机型、硬盘控制器的类型、CDROM类型、硬盘大小、准备安装几个操作系统、UNIX给多少空间。重要的是硬盘控制器的类型,因为硬盘控制器驱动不上就无法进行安装。在PC服务器的手册中会说明其硬盘控制器驱动包类型。并且在navigator 中有驱动盘。
2.UNIX引导分为boot和UNIX核心系统执行两个阶段。BOOT由BIOS装载,装载成功后出现提示boot:,你可以选择执行UNIX核心和加载一些设备驱动程序或从其他分区启动。其缺省设置由/etc/default/boot控制。缺省执行语句为该文件中的DEFBOOTSTR。安装程序可以从光盘直接引导(5.05),引导后出现boot:。
3.在SCO UNIX 企业版中包括以下产品:
SCO OpenServer Enterprise System UNIX (ver 5.0.5m)
SCO OpenServer Enterprise System Graphics (ver 5.0.5m)
SCO OpenServer Enterprise System Connectivity (ver 5.0.5m)
SCO OpenServer Enterprise System Internet FastStart (ver 5.0.5m)
SCO OpenServer Enterprise System Documentation (ver 5.0.5m)
SCO UNIX安装程序会根据你的许可类型,给出缺省安装的内容。建议使用缺省安装内容。
SCO UNIX 可在硬盘上管理多个分区,UNIX和DOS的均可。但建议只做一个UNIX分区(UNIXWARE对单硬盘的多分区管理较麻烦)。UNIX可将分区分成7个逻辑分区,在安装系统的分区,系统会占用4个,分别为boot,swap,root,recover(root>;780M时存在)。剩下3个可供用户使用。建议将用户文件系统,数据库数据设备分区从root中独立出来。这样当你的系统出现异常故障时,可以重新安装系统并保护你的数据。UNIX在逻辑分区中创建文件系统。文件类型有:
AFS Acer Fast Filesystem
DTFS Desktop Filesystem
EAFS Extended Acer Fast Filesystem
HTFS High Throughput Filesystem
S51KB AT&T UNIX(R) System V 1KB Filesystem
XENIX XENIX(R) filesystem
一般系统缺省为HTFS。但与UNIXWARE 7 兼容的只有S51KB。
对于留给数据库使用的数据空间,类型设为NOFS。如不小心设成文件系统,使用前在/etc/default/filesys将对应的mount设置删去即可。
SCO UNIX缺省安装为将整个硬盘给UNIX,如你的硬盘大则,建一个u文件系统。
在UNIX中所有硬件驱动程序都内建到核心里。厂商一般提供的驱动程序包括设备驱动(/etc/conf/pack.d/device/Device.o space.c)和设备管理程序。
UNIX提供一个超级用户(root)。有四种安全管理模式。
High
recommended for systems containing confidential information
and accessed by many users. Passwords are strictly controlled
and assigned to users; users cannot choose their own. User
accounts cannot be removed or reactivated. All C2 features
are engaged and account database corruption results in a
lockout of all users until the administrator fixes the problem.
Improved
recommended for systems accessed by groups of users who can
share information. Password expiration is more lenient and
users can choose their own passwords. LUIDs are not enforced,
and user accounts can be removed or reactivated as desired.
Account database corruption results in system lockout
Traditional
Provided for compatibility with other UNIX systems. Passwords
do not expire and standard System V password checking is
used. Passwords are not required. Database corruption is
handled transparently.
Low
Recommended only for systems which are not publicly accessible
and which have a small number of cooperating users. No C2
features are engaged and no password checking is done. The
/etc/shadow does not exist by default.
安装CD一般为HS(High Sierra SCO OPENSERVER的称法,ISO9660)文件系统。设备驱动盘如是系统启动必须的一般会作成btld(boot time loadable disk)盘,该盘格式为文件系统,可MOUNT。其余的有tar,custom(tar 格式),pkgadd(tar 格式),patch,cpio,等方式。对用custom安装的文件或patch,需将文件名改成VOL.000.00n(n为序号,从零开始)。
UNIX补丁一般都有安装说明。有:替换原有启动盘、btld盘、custom安装、load patch(custom中)。
附有关命令:
boot (资料来源 man HW boot, man F boot, man HW link, man bootos, man bootstring )
UNIX的boot引导后,出现boot:提示符。此时UNIX核心没有装载,你可以设定启动方式或切换到其他操作系统。
此时只能执行一些特定的命令。如unix、dos、bootos。如直接回车则执行/etc/default/boot中的DEFBOOTSTR。
Bootos 为从不同的分区启动。可以使用bootos ? 显示分区信息。对UNIX可识别的DOS分区可键入dos/win 直接启动。
Boot 内建了一些命令可供使用。
常用的有:
link 指定系统启动时连接的程序包。常用的方式为link=pkg.
用户还可以在此改变/etc/default/boot中的参数值。也可以改变一些系统选项,如btld=fd(64),指btld设备为A驱。
在很多PC服务器手册中,有SCO UNIX的安装指南,如HP
boot:defbootstr link=amird
指将SCSI硬盘控制器的驱动包连接进来。安装时btld缺省为fd(64)。
下面举一个例子来说明UNIX驱动和btld应用。
如我们在HP机器上装有一块硬盘(非阵列)硬盘设备名为alad,要移到 CAMPAQ机器上,硬盘设备名为CUCHA。如两种卡对硬盘识别的参数一样,我们只要做出带有CUCHA驱动的盘,在启动时输入:
boot:defbootstr link=CUCHA hdroot=CUCHA(0,0,0,0) btld=fd(64)
启动后用btldinstall装入CUCHA驱动,重新配置硬盘类型(改/etc/conf/cf.d/mscsi等)即可。