更多“在HP-UX启动过程中,()文件负责执行各个运行级中的启动脚本。A、/sbin/rcB、/etc/startC、/sbin/ioinitD、/sbin/bcheckrc”相关问题
  • 第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.启动网络支持


    正确答案:D
    D 解析:Linux系统开机引导时首先启动内核(由LILO或GRUB引导),由内核检查和初始化硬件设备(包括内存),载入设备的驱动程序模块,安装root文件系统。网络服务进程一般由init进程的子进程rc米启动。因此启动init进程前,不会启动网络支持服务。

  • 第2题:

    Whichofthefollowingcommandscanbeusedtocommitappliedfilesets?()

    A./usr/sbin/installp-C

    B./usr/sbin/inutoc-c

    C./usr/sbin/installp-c

    D./usr/sbin/lsresource-c


    参考答案:C

  • 第3题:

    系统当前已经加载的所有文件系统在( )文件中得到反映。

    A./usr/sbin/cfdisk

    B./sbin/fdisk

    C./etc/mtab

    D./etc/fstab


    正确答案:D

  • 第4题:

    在Lrnux操作系统中,DHCP服务默认的配置文件为(64)。

    A./etc/sbin/dhcpd.conf

    B./etc/dhcpd.conf

    C./var/state/dhcp.config

    D. /usr/sbin/dhcp.config


    正确答案:B
    本题考查Linux操作系统的DHCP服务。DHCP服务的配置文件为/etc/dhcpd.conf.

  • 第5题:

    在Linux中提供DHCP服务的程序是( ).

    A./etc/networks/dhcpd
    B./usr/sbin/dhcp
    C./etc/networks/dhcp
    D./usr/sbin/dhcpd

    答案:D
    解析:
    /usr/sbin/dhcpd 是Linux上执行DHCP服务的程序,/etc/dhcpd.conf是dhcpd最关键的配置文件。通过设置/etc/dhcpd.conf文件,可以设置租用时间限制、子网相关信息以及域名等,将主机的MAC地址和IP地址绑定在一起。

  • 第6题:

    启动samba服务器进程,可以有两种方式:独立启动方式和父进程启动方式,其中前者是在()文件中以独立进程方式启动。

    • A、/usr/sbin/smbd
    • B、/usr/sbin/nmbd
    • C、rC.samba
    • D、/etc/inetD.conf

    正确答案:C

  • 第7题:

    在AIX系统引导中,运行下面()shell脚本才激活基本页面空间(hd6)。

    • A、/sbin/rC.boot
    • B、/sbin/rc
    • C、/etc/rc
    • D、D./etc/rboot

    正确答案:A

  • 第8题:

    下列哪个命令行会配置新安装的 httpd 服务,以便在重启时自动启动?()

    • A、/etc/rc.d/init.d/httpd on
    • B、chkconfig httpd start
    • C、chkconfig httpd on
    • D、/sbin/httpd on

    正确答案:C

  • 第9题:

    Apache的日志文件存放在()。

    • A、/var/log/httpd
    • B、/usr/log/httpd
    • C、/sbin/log/httpd
    • D、/etc/log/httpd

    正确答案:A

  • 第10题:

    Which of the following commands can be used to commit applied filesets?()

    • A、 /usr/sbin/installp -C
    • B、 /usr/sbin/inutoc -c
    • C、 /usr/sbin/installp -c
    • D、 /usr/sbin/lsresource -c

    正确答案:C

  • 第11题:

    单选题
    可热插拔设备接入机器时udev守护进程是什么()。
    A

    /sbin/modprobe

    B

    /sbin/lvchange

    C

    /sbin/hotplug

    D

    /sbin/udevd


    正确答案: C
    解析: 暂无解析

  • 第12题:

    单选题
    启动samba服务器进程,可以有两种方式:独立启动方式和父进程启动方式,其中前者是在()文件中以独立进程方式启动。
    A

    /usr/sbin/smbd

    B

    /usr/sbin/nmbd

    C

    rC.samba

    D

    /etc/inetD.conf


    正确答案: A
    解析: 暂无解析

  • 第13题:

    Ifakill-9isperformedontheclstrmgrESprocess,thedefaultactionistohaltthesystem.Tochangethedefaultactiontodosomethingotherthenhaltingthesystem,whichofthefollowingfilesmustbemodified?()

    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


    参考答案:B

  • 第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


    参考答案:A

  • 第15题:

    init启动进程需要读取( )配置文件。

    A、/etc/inittab

    B、sbin/init

    C、/etc/sysvinit

    D、/bin/sh


    正确答案:A

  • 第16题:

    下列哪个命令行会配置新安装的httpd服务,以便在重启时自动启动?()

    A./etc/rc.d/init.d/httpdon

    B.chkconfighttpdstart

    C.chkconfighttpdon

    D./sbin/httpdon


    参考答案:C

  • 第17题:

    在大型网络中,通常采用DHCP完成基本网络配置会更有效率。在Linux系统中,DHCP服务默认的配置文件为 (34) 。

    A./etc/sbin/dhcpd.conf
    B./etc/dhcpd.conf
    C./var/state/dhcpd.config
    D./usr/sbin/dhcpd.config

    答案:B
    解析:
    在Linux操作系统中,与DHCP相关的主要配置文件如下:DHCP服务器配置文件/etc/dhcpD.conf,启动DHCP服务的脚本/etc/rC.d/ink.d/dhcpd,执行DHCP服务的程序/usr/sbin/dhcpd,记录客户端租用信息的文件/var/state/dhcpD.1eases。

  • 第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?()  

    • 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

    正确答案:B

  • 第19题:

    在Linux系统中,提供DHCP服务的程序是()。

    • A、/etc/networks/dhcpd
    • B、/usr/sbin/dhcp
    • C、/etc/networks/dhcp
    • D、/usr/sbin/dhcpd

    正确答案:B

  • 第20题:

    可热插拔设备接入机器时udev守护进程是什么()。

    • A、/sbin/modprobe
    • B、/sbin/lvchange
    • C、/sbin/hotplug
    • D、/sbin/udevd

    正确答案:D

  • 第21题:

    下列哪个命令行会配置新安装的httpd服务,以便在重启时自动启动?()

    • A、/etc/rc.d/init.d/httpdon
    • B、chkconfighttpdstart
    • C、chkconfighttpdon
    • D、/sbin/httpdon

    正确答案:C

  • 第22题:

    单选题
    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?()
    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


    正确答案: A
    解析: 暂无解析

  • 第23题:

    单选题
    init启动进程需要读取()配置文件。
    A

    /etc/inittab

    B

    /sbin/init

    C

    /etc/sysvinit

    D

    /bin/sh


    正确答案: D
    解析: 暂无解析