|
 |
栏目导栏 |
|
| |
|
|
|
|
 |
资料搜索 |
|
| |
|
|
|
|
 |
热门文章 |
|
| |
|
|
|
|
 |
最新文章 |
|
| |
|
|
|
| |
| |
|
|
|
[ 作者: Linux联盟收集 加入时间:2006-06-13 22:19:49 来自:Linux联盟收集
] | |
|
现在大多软件的安装导航都作得很好,SCO UNIX也不例外。只要我们了解清楚一些基本问题,安装时仔细看他的提示,应该就没有问题。安装一个操作系统前我们一般要了解下面一些问题: iV9Linux联盟 安装对象。 iV9Linux联盟 引导方式。 iV9Linux联盟 软件包组成。 iV9Linux联盟 硬盘管理方式及文件系统。 iV9Linux联盟 硬件驱动方式及驱动程序安装。 iV9Linux联盟 安全管理方式。 iV9Linux联盟 介质类型。 iV9Linux联盟 补丁安装。 iV9Linux联盟 其他诸如时区、语言、键盘之类的问题。 iV9Linux联盟 就上面九个问题,我们来谈SCO UNIX的安装。 iV9Linux联盟 1.在安装之前,我们可以先把我们的安装对象了解一下,如什么机型、硬盘控制器的类型、CDROM类型、硬盘大小、准备安装几个操作系统、UNIX给多少空间。重要的是硬盘控制器的类型,因为硬盘控制器驱动不上就无法进行安装。在PC服务器的手册中会说明其硬盘控制器驱动包类型。并且在navigator 中有驱动盘。 iV9Linux联盟 2.UNIX引导分为boot和UNIX核心系统执行两个阶段。BOOT由BIOS装载,装载成功后出现提示boot:,你可以选择执行UNIX核心和加载一些设备驱动程序或从其他分区启动。其缺省设置由/etc/default/boot控制。缺省执行语句为该文件中的DEFBOOTSTR。安装程序可以从光盘直接引导(5.05),引导后出现boot:。 iV9Linux联盟 3.在SCO UNIX 企业版中包括以下产品: iV9Linux联盟 SCO OpenServer Enterprise System UNIX (ver 5.0.5m) iV9Linux联盟 SCO OpenServer Enterprise System Graphics (ver 5.0.5m) iV9Linux联盟 SCO OpenServer Enterprise System Connectivity (ver 5.0.5m) iV9Linux联盟 SCO OpenServer Enterprise System Internet FastStart (ver 5.0.5m) iV9Linux联盟 SCO OpenServer Enterprise System Documentation (ver 5.0.5m) iV9Linux联盟 SCO UNIX安装程序会根据你的许可类型,给出缺省安装的内容。建议使用缺省安装内容。 iV9Linux联盟 SCO UNIX 可在硬盘上管理多个分区,UNIX和DOS的均可。但建议只做一个UNIX分区(UNIXWARE对单硬盘的多分区管理较麻烦)。UNIX可将分区分成7个逻辑分区,在安装系统的分区,系统会占用4个,分别为boot,swap,root,recover(root>780M时存在)。剩下3个可供用户使用。建议将用户文件系统,数据库数据设备分区从root中独立出来。这样当你的系统出现异常故障时,可以重新安装系统并保护你的数据。UNIX在逻辑分区中创建文件系统。文件类型有: iV9Linux联盟 AFS Acer Fast Filesystem iV9Linux联盟 DTFS Desktop Filesystem iV9Linux联盟 EAFS Extended Acer Fast Filesystem iV9Linux联盟 HTFS High Throughput Filesystem iV9Linux联盟 S51KB AT&T UNIX(R) System V 1KB Filesystem iV9Linux联盟 XENIX XENIX(R) filesystem iV9Linux联盟 一般系统缺省为HTFS。但与UNIXWARE 7 兼容的只有S51KB。 iV9Linux联盟 对于留给数据库使用的数据空间,类型设为NOFS。如不小心设成文件系统,使用前在/etc/default/filesys将对应的mount设置删去即可。 iV9Linux联盟 SCO UNIX缺省安装为将整个硬盘给UNIX,如你的硬盘大则,建一个u文件系统。 iV9Linux联盟 在UNIX中所有硬件驱动程序都内建到核心里。厂商一般提供的驱动程序包括设备驱动(/etc/conf/pack.d/device/Device.o space.c)和设备管理程序。 iV9Linux联盟 UNIX提供一个超级用户(root)。有四种安全管理模式。 iV9Linux联盟 High iV9Linux联盟 recommended for systems containing confidential information iV9Linux联盟 and accessed by many users. Passwords are strictly controlled iV9Linux联盟 and assigned to users; users cannot choose their own. User iV9Linux联盟 accounts cannot be removed or reactivated. All C2 features iV9Linux联盟 are engaged and account database corruption results in a iV9Linux联盟 lockout of all users until the administrator fixes the problem. iV9Linux联盟 Improved iV9Linux联盟 recommended for systems accessed by groups of users who can iV9Linux联盟 share information. Password expiration is more lenient and iV9Linux联盟 users can choose their own passwords. LUIDs are not enforced, iV9Linux联盟 and user accounts can be removed or reactivated as desired. iV9Linux联盟 Account database corruption results in system lockout iV9Linux联盟 Traditional iV9Linux联盟 Provided for compatibility with other UNIX systems. Passwords iV9Linux联盟 do not expire and standard System V password checking is iV9Linux联盟 used. Passwords are not required. Database corruption is iV9Linux联盟 handled transparently. iV9Linux联盟 Low iV9Linux联盟 Recommended only for systems which are not publicly accessible iV9Linux联盟 and which have a small number of cooperating users. No C2 iV9Linux联盟 features are engaged and no password checking is done. The iV9Linux联盟 /etc/shadow does not exist by default. iV9Linux联盟 安装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为序号,从零开始)。 iV9Linux联盟 UNIX补丁一般都有安装说明。有:替换原有启动盘、btld盘、custom安装、load patch(custom中)。 iV9Linux联盟 iV9Linux联盟 附有关命令: iV9Linux联盟 boot (资料来源 man HW boot, man F boot, man HW link, man bootos, man bootstring ) iV9Linux联盟 UNIX的boot引导后,出现boot:提示符。此时UNIX核心没有装载,你可以设定启动方式或切换到其他操作系统。 iV9Linux联盟 此时只能执行一些特定的命令。如unix、dos、bootos。如直接回车则执行/etc/default/boot中的DEFBOOTSTR。 iV9Linux联盟 Bootos 为从不同的分区启动。可以使用bootos ? 显示分区信息。对UNIX可识别的DOS分区可键入dos/win 直接启动。 iV9Linux联盟 Boot 内建了一些命令可供使用。 iV9Linux联盟 常用的有: iV9Linux联盟 link 指定系统启动时连接的程序包。常用的方式为link=pkg. iV9Linux联盟 用户还可以在此改变/etc/default/boot中的参数值。也可以改变一些系统选项,如btld=fd(64),指btld设备为A驱。 iV9Linux联盟 在很多PC服务器手册中,有SCO UNIX的安装指南,如HP iV9Linux联盟 boot:defbootstr link=amird iV9Linux联盟 指将SCSI硬盘控制器的驱动包连接进来。安装时btld缺省为fd(64)。 iV9Linux联盟 下面举一个例子来说明UNIX驱动和btld应用。 iV9Linux联盟 如我们在HP机器上装有一块硬盘(非阵列)硬盘设备名为alad,要移到 CAMPAQ机器上,硬盘设备名为CUCHA。如两种卡对硬盘识别的参数一样,我们只要做出带有CUCHA驱动的盘,在启动时输入: iV9Linux联盟 boot:defbootstr link=CUCHA hdroot=CUCHA(0,0,0,0) btld=fd(64) iV9Linux联盟 启动后用btldinstall装入CUCHA驱动,重新配置硬盘类型(改/etc/conf/cf.d/mscsi等)即可。 iV9Linux联盟 iV9Linux联盟 mount命令 iV9Linux联盟 iV9Linux联盟 格式:mount -o options device mount_dir iV9Linux联盟 作用: 安装文件系统 ,每个文件系统只可安装一次。可移动的设备(如:软盘,光盘)在使用前必须安装。 iV9Linux联盟 例子:mount /dev/cd0 /mnt iV9Linux联盟 iV9Linux联盟 umount命令 iV9Linux联盟 格式:umount mount_dir iV9Linux联盟 作用:卸载一个已安装的文件系统。在取出软盘前必须先卸载。 iV9Linux联盟 例子:umount /mnt iV9Linux联盟 mkfs命令 iV9Linux联盟 格式:mkfs device [filesystem_type] iV9Linux联盟 作用:在指定的设备上生成文件系统 iV9Linux联盟 例子:mkfs /dev/fd0135ds18(在软盘上生成文件系统) iV9Linux联盟 iV9Linux联盟 format命令 iV9Linux联盟 格式:format device iV9Linux联盟 作用:格式化软盘 iV9Linux联盟 例子:format /dev/rfd0135ds18 iV9Linux联盟 iV9Linux联盟 tar命令 iV9Linux联盟 格式:tar key files ( key 常用的有 c :打包, x :解包, r :加在已有的包的后面, iV9Linux联盟 t :查看包中的文件, u :更新包中的文件 iV9Linux联盟 文件:tar(c) iV9Linux联盟 tar 是对非特权用户最易用和最可靠的实用程序K(utility),从归档介质上保留和恢复文件,亦能从多文件归档中抽取单个文件。 iV9Linux联盟 tar 归档使用文件和目录的相对或绝对路径名。 iV9Linux联盟 打入 tar,即会显示所有变量选项;”cv"是创建归档;”cv#" iV9Linux联盟 用於来自 /etc/default/tar 的设备号 #;”rv"追加已有归档;” iV9Linux联盟 uv"更新在已有归档上的文件;”tv"显示归档内容表;”xv" iV9Linux联盟 从归档中抽取文件;”f"从指定文件中读入或写出;”L"使 tar跟随符号连接继续追查下去,默认情况下则会忽略符号连接。 iV9Linux联盟 譬如要归档指定文件,而复盖盘上的已有数据,指令如下: iV9Linux联盟 $cd pub iV9Linux联盟 $tar cv6 ascii greek iV9Linux联盟 volume end at 1199k, block factor=5k iV9Linux联盟 seek=0k a ascii 3k iV9Linux联盟 seek=3k a greek 1k iV9Linux联盟 要列出 tar 归纳的内容: iV9Linux联盟 $tar tv6 iV9Linux联盟 rw-r--r-- 2/22114 Jan 2 13:41 1996 ascii iV9Linux联盟 rw-r--r-- 2/2475 Jan 2 13:41 1996 greek iV9Linux联盟 创建 tar 归档,使用相对路径名,否则,恢复另一系统就会盖写 iV9Linux联盟 其他系统的文件。 iV9Linux联盟 #tar cv6 /etc/motd iV9Linux联盟 #cd /tmp iV9Linux联盟 #tar xv6 iV9Linux联盟 x /etc/motd, 943 bytes,2k iV9Linux联盟 cpio命令 iV9Linux联盟 格式cpio -o [ -aBLuvV ] [ -C bufsize ] [ -c | -H format ] iV9Linux联盟 [ -K volumesize ] [ [ -O file [, file ... ] ] [ -M message ] ] [ -Pifd,ofd ] iV9Linux联盟 iV9Linux联盟 cpio -i [ -6AbBcdfkmnqrsStTuvV ] [-C bufsize ] [ [ -I file [, file ... ] ] iV9Linux联盟 [ -M message ] ] [ -Pifd,ofd ] [ pattern ... ] iV9Linux联盟 iV9Linux联盟 cpio -p [ -adlLmruvV ] [ -Pifd,ofd ] directory iV9Linux联盟 归纳文件 iV9Linux联盟 iV9Linux联盟 当需要後援指定设备、後援空设备与使用匹配符的时候,就不能使用操作容易的 tar,而需要转用比较复杂的 cpio,用以归纳文件。 iV9Linux联盟 譬如,需要选取文件建立归档,指令如下: iV9Linux联盟 $find /u/bill -print| cpio -oB -O /dev/fd0 iV9Linux联盟 20 blocks iV9Linux联盟 又例如,需要抽取 cpio 归档文件名时: iV9Linux联盟 $cpio -idmuBv -I /dev/fd0 iV9Linux联盟 .profile iV9Linux联盟 ascii iV9Linux联盟 eqnchar iV9Linux联盟 greek iV9Linux联盟 20 blocks iV9Linux联盟 cpio 主要选项为: iV9Linux联盟 -v 显示工作 iV9Linux联盟 -i 读归档 iV9Linux联盟 -o 写入归档 iV9Linux联盟 -t 内容表 iV9Linux联盟 -d 创建目录 iV9Linux联盟 -m 保留原修改日期 iV9Linux联盟 -U 无条复制 iV9Linux联盟 -B 分割因子置为 5k iV9Linux联盟 -Cn 分割因子置为 n iV9Linux联盟 -Kn 介质长度置为 n iV9Linux联盟 custom命令 iV9Linux联盟 格式:custom iV9Linux联盟 作用:安装、删除、查看软件产品极其组件 iV9Linux联盟 可通过菜单操作 iV9Linux联盟 pkgadd命令 iV9Linux联盟 格式: /usr/bin/pkgadd [ -d device ] [-r response ] [ -n ] [ -a admin ] [ pkginst ... ] iV9Linux联盟 iV9Linux联盟 /usr/bin/pkgadd -s spool [ -d device ] [ pkginst ... ] iV9Linux联盟 作用:向系统传送软件包,可通过软盘/磁带等 iV9Linux联盟 iV9Linux联盟 btldinstall iV9Linux联盟 在系统启动时可装入的磁盘 iV9Linux联盟 相关文件 iV9Linux联盟 硬盘:(r打头为字设备)(来源 man HW hd) iV9Linux联盟 Primary disk Secondary disk Partition iV9Linux联盟 /dev/hd00 /dev/dsk/0s0 /dev/hd10 /dev/dsk/1s0 entire disk iV9Linux联盟 /dev/rhd00 /dev/rdsk/0s0 /dev/rhd10 /dev/rdsk/1s0 iV9Linux联盟 /dev/hd01 /dev/dsk/0s1 /dev/hd11 /dev/dsk/1s1 first partition iV9Linux联盟 /dev/rhd01 /dev/rdsk/0s1 /dev/rhd11 /dev/rdsk/1s1 iV9Linux联盟 /dev/hd02 /dev/dsk/0s2 /dev/hd12 /dev/dsk/1s2 second partition iV9Linux联盟 /dev/rhd02 /dev/rdsk/0s2 /dev/rhd12 /dev/rdsk/1s2 iV9Linux联盟 /dev/hd03 /dev/dsk/0s3 /dev/hd13 /dev/dsk/1s3 third partition iV9Linux联盟 /dev/rhd03 /dev/rdsk/0s3 /dev/rhd13 /dev/rdsk/1s3 iV9Linux联盟 /dev/hd04 /dev/dsk/0s4 /dev/hd14 /dev/dsk/1s4 fourth partition iV9Linux联盟 /dev/rhd04 /dev/rdsk/0s4 /dev/rhd14 /dev/rdsk/1s4 iV9Linux联盟 /dev/hd0a /dev/dsk/0sa active partition iV9Linux联盟 /dev/rhd0a /dev/rdsk/0sa iV9Linux联盟 /dev/hd0d /dev/dsk/0sd /dev/hd1d /dev/dsk/1sd DOS partition iV9Linux联盟 /dev/rhd0d /dev/rdsk/0sd /dev/rhd1d /dev/rdsk/1sd iV9Linux联盟 软盘:(来源 man HW fd) iV9Linux联盟 /dev/[r]fd0135ds18
Linux联盟收集整理 ,转贴请标明原始链接,如有任何疑问欢迎来本站Linux论坛讨论 |
|
|
|
|
|