在HP-UX启动过程中,()文件负责执行各个运行级中的启动脚本。
第1题:
阅读以下说明,回答问题1至问题8。
[说明]
Linux 系统开机引导时首先启动内核,由内核检查和初始化硬件设备,载入设备的驱动程序模块,安装root文件系统,然后内核将启动一个名为init的进程。在init运行完成并启动其他必要的后续进程后,系统开始运行,引导过程结束。init进程启动时需要读取inittab配置文件,该文件确定init在系统启动和关机时的工作特性。典型的inittab文件内容见以下清单:
inittab This file describes how the INIT process should set up
the system in a certain nm-level.
Default nmlevel. The nmlevels used by RHS are:
0 - halt (Do NOT set initdefault to this )
1 - Single user mode
2-Multiuser, without NFS (The same as 3, if you do not have networking)
3 - Full multiuser mode
4 - unused
5-Xll
6 - reboot (Do NOT set initdefault to this )
id:5:initdefault:
System initialization.
si::sysinit:/etc/rc.d/rc.sysinit
10:0:wait:/etc/rc.d/rc 0
11:1:wait:/ete/rc.d/rc 1
12:2:wait:/etc/rc.d/rc 2
13:3:wait:/etc/rc,d/rc 3
14:4:wait:/etc/rc.d/rc 4
15:5:wait:/etc/rc.d/rc 5
16:6:wait:/etc/rc.d/rc 6
Trap CTRL-ALT-DELETE
ea::ctrlaltdel:/sbin/shutdown -t3 -r now
When our UPS tells us power has failed, assume we have a few minutes
of power left. Schedule a shutdown for 2 minutes from now.
This does, of course, assume you have powerd installed and your
UPS connected and working correctly.
pf::power fail:/sbin/shutdown -f-h +2 "Power Failure: System Shutting Down"
If power was restored before the shutdown kicked in, cancel it.
pr: 12345:powerokwait:/sbin/shutdown-c "Power Restored; Shutdown Cancelled"
Run gettys in standard rtmlevels
1:2345 :respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty try2
3:2345 :respawn:/sbin/mingetty try3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345 :respawn:/sbin/mingetty tty6
Run xdm in runlevel 5
x:5:respawn:/etc/X 11/prefdm -nodaemon
启动init进程前,不需要经过______步骤。
A.LIIO加载内核 B.检测内存
C.加载文件系统 D.启动网络支持
第2题:
A./usr/sbin/installp-C
B./usr/sbin/inutoc-c
C./usr/sbin/installp-c
D./usr/sbin/lsresource-c
第3题:
A./usr/sbin/cfdisk
B./sbin/fdisk
C./etc/mtab
D./etc/fstab
第4题:
在Lrnux操作系统中,DHCP服务默认的配置文件为(64)。
A./etc/sbin/dhcpd.conf
B./etc/dhcpd.conf
C./var/state/dhcp.config
D. /usr/sbin/dhcp.config
第5题:
第6题:
启动samba服务器进程,可以有两种方式:独立启动方式和父进程启动方式,其中前者是在()文件中以独立进程方式启动。
第7题:
在AIX系统引导中,运行下面()shell脚本才激活基本页面空间(hd6)。
第8题:
下列哪个命令行会配置新安装的 httpd 服务,以便在重启时自动启动?()
第9题:
Apache的日志文件存放在()。
第10题:
Which of the following commands can be used to commit applied filesets?()
第11题:
/sbin/modprobe
/sbin/lvchange
/sbin/hotplug
/sbin/udevd
第12题:
/usr/sbin/smbd
/usr/sbin/nmbd
rC.samba
/etc/inetD.conf
第13题:
A./usr/es/sbin/cluster/etc/clexit.rc
B./usr/es/sbin/cluster/etc/hacmp.term
C./usr/es/sbin/cluster/etc/rc.cluster
D./usr/es/sbin/cluster/etc/rc.shutdown
第14题:
Anadministratorhaswrittenascripttocheckthatthecontentsofanapplicationconfigurationfileareidenticalonallclusternodes.Thescripthasalsobeenassociatedwithauserdefinedcustomverificationmethod.Theadministratorwouldlikethecontentsofthisfiletobecheckedandverifiedautomaticallyonadailybasis.Howcanthisbeachieved?()
A.Byusingajobschedulersuchascron
B.Byenablingautomaticclusterverification
C.Byincludingthescriptnameinthefile/usr/es/sbin/cluster/etc/clverify.rc
D.Byincludingthecustommethodnameinthefile/usr/es/sbin/cluster/etc/rc.authomethods
第15题:
A、/etc/inittab
B、sbin/init
C、/etc/sysvinit
D、/bin/sh
第16题:
A./etc/rc.d/init.d/httpdon
B.chkconfighttpdstart
C.chkconfighttpdon
D./sbin/httpdon
第17题:
第18题:
If a kill -9 is performed on the clstrmgrES process, the default action is to halt the system. Tochange the default action to do something other then halting the system, which of the following files must be modified?()
第19题:
在Linux系统中,提供DHCP服务的程序是()。
第20题:
可热插拔设备接入机器时udev守护进程是什么()。
第21题:
下列哪个命令行会配置新安装的httpd服务,以便在重启时自动启动?()
第22题:
/usr/es/sbin/cluster/etc/clexit.rc
/usr/es/sbin/cluster/etc/hacmp.term
/usr/es/sbin/cluster/etc/rc.cluster
/usr/es/sbin/cluster/etc/rc.shutdown
第23题:
/etc/inittab
/sbin/init
/etc/sysvinit
/bin/sh