GuidetoLinux+(2ndEdition)ISBN0-619-21621-2EndofChapterSolutionsChapter9SolutionsReviewQuestionsWhichcommandcanbeusedtofine-tunethevsyncandhsyncofavideocardforuseinXWindowsVidtunesynctunexvidtunevhtuneAnswer:cWhichofthefollowingstatementsistrueGRUBneedstobereinstalledafterithasbeenmodified.
LILOneednotbereinstalledafterithasbeenmodified.
GRUBpointstoLILO.
GRUBneednotbereinstalledafterithasbeenmodified.
Answer:dIfGRUBhasbeenpasswordprotected,whatmustyoutypetoenterthepasswordwhenatthegraphicalGRUBscreenpasspwdpasswdpAnswer:dWhichrunlevelhaltsthesystem1605Answer:cWhichfiledoesinitreferenceonstartuptodeterminewhattoconfigureforagivenrunlevel/etc/initstate/inittab/etc/init/etc/inittabAnswer:dWhichtwocommandsenteredatacommandpromptstartXWindows,theWindowManager,andthedefaultdesktopenvironment(Choosetwoanswers.
)startguigdmstartxwinstartAnswer:b,cWhichofthefollowingstatementsistrueThebootloaderpointstotheMBR.
EithertheMBRortheactivepartitioncancontainthebootloader.
BoththeMBRandtheactivepartitionpointtothebootloader.
Thebootloaderpointstotheactivepartition.
Answer:bWhichcommandisusedtoreinstallLILOafteritsconfigurationhasbeenalteredlilorefreshsetliloresetliloAnswer:aWhatkeywordintheLILOconfigurationfilespecifiestheabsolutepathnametotheLinuxkerneldefaultpromptrootimageAnswer:dTomakedualbootingaseasyaspossible,Linuxshouldbethesecondoperatingsysteminstalled.
TrueorFalseAnswer:TrueHowmanyactivepartitionscantherebeperharddiskdrive41612Answer:cWhichofthefollowingindicatesthesecondpartitiononthethirdharddiskdrivetoGRUB(hd3,2)(hd4,3)(hd2,3)(hd2,1)Answer:bWhichtwoimplementationsofXWindowsarecommonlyusedinLinux(Choosetwoanswers.
)X.
orgXFceXconfiguratorXFree86Answer:a,dWhatisthenameofthedirectorythatcontainstheconfigurationinformationforrunlevel2/etc/rc.
d/rc2.
d/rc.
d/rc2.
d/etc/rc.
d/l2.
d/etc/inittab/rc2/dAnswer:aInwhatdirectoryistheLinuxkernelstored/boot/root/bin/Answer:aIfauserentersSingleUserMode,whoissheautomaticallyloggedinastheusernamesheprovidedrootadminthereisnouseravailableinSingleUserModeAnswer:bThefirstprocessgeneratedonaLinuxsystemisinitstateinittabinitlinuxAnswer:cWhichutilitycanbeusedtoconfigurethevideocardandmonitorusedbyXWindowsinRedHatFedoraCore2X.
configsystem-config-displayxconfigxvidtuneAnswer:bWhichcommandcausesthesystemtoenterSingleUserModeinit0init1init6initstate5Answer:bThetimeoutvalueintheGRUBconfigurationfileismeasuredinseconds1/10ofminiutes1/10ofseconds1/100ofsecondsAnswer:aProject9-1Step1:Notavailable.
Step2:Notavailable.
Step3:Notavailable.
Step4:Notavailable.
Step5:linux.
Step6:linux1orlinuxsorlinuxS.
Step7:root,no.
Step8:Notavailable.
Step9:60seconds.
Step10:Passwordprotecttheoperatingsystemboot.
Step11:Notavailable.
Step12:ToreinstallLILOwiththenewconfiguration.
Step13:Alistofoperatingsystems(linux),60seconds.
Step14:Yes,duetoStep10.
Project9-2Step1:Notavailable.
Step2:Yes,becauseitliststhelocationinGRUBformat(hd0,0),seechapterfordefinitionofformatStep3:100seconds.
Step4:No,becausetheGRUBconfigurationfileisreaddirectlyatboottime.
Step5:Notavailable.
Step6:Notavailable.
Step7:Notavailable.
Step8:Notavailable.
Step9:Notavailable.
Step10:Notavailable.
Step11:Notavailable.
Step12:Notavailable.
Step13:Notavailable.
Step14:Notavailable.
Step15:Notavailable.
Step16:Notavailable.
Step17:Notavailable.
Step18:Notavailable.
Project9-3Step1:Notavailable.
Step2:5,yesitwaschosenduringinstallationattheendwhenpromptedfor"graphicallogin"type.
Step3:initdefault.
Step4:Mostdaemonsarestopped;yesbecauseitisMultiuserMode.
Step5:2,5.
Step6:Mostdaeonsarestopped;nobecauseitisSingleUserMode(administrativeonly).
Step7:1,S.
Step8:Mostdaemonsarestarted;gdm(graphicallogin).
Step9:Notavailable.
Step10:5,1.
Step11:Notavailable.
Step12:Notavailable.
Project9-4Step1:Notavailable.
Step2:Directoriesforeachrunlevelthatcontainlinkstostartupscriptsfordaemonsaswellastheinit.
ddirectory.
Step3:MostfilesstartwithKbecausemostservicesarestoppedinrunlevel1andwillbeexecutedinASCII(alphabeticalorder).
Step4:MostfilesstartwithSbecausemostservicesarestartedinrunlevel5.
Step5:Scriptsthatstartdaemons.
Step6:Theatdaemonwasstopped.
Step7:Theatdaemonwasstarted.
Step8:Theatdaemonwasrestarted.
Step9:Notavailable.
Step10:Notavailable.
Step11:644.
Step12:Notavailable.
Step13:Thiscreatesastartuplinkthatstartsthesampledaemonuponenteringrunlevel5.
Step14:Yes.
Step15:Notavailable.
Step16:Thesampledaemonwasstopped.
Step17:Thesampledaemonwasstarted.
Step18:Thesampledaemonwasrestarted.
Step19:Notavailable.
Project9-5Step1:Notavailable.
Step2:Notavailable.
Step3:Notavailable.
Step4:Notavailable.
Step5:/etc/X11,xorg.
conf.
Step6:Notavailable.
Step7:Notavailable.
Step8:Notavailable.
Step9:GNOME.
Step10:Notavailable.
Step11:/root/.
Xclients-default.
Step12:Notavailable.
Step13:Yes.
Step14:Xfce.
Step15:Notavailable.
Step16:GNOME.
Step17:Notavailable.
DiscoveryExercisesDiscoveryExercise1Theinitdaemonwillcontinuouslyrebootthesystem.
DiscoveryExercise2Thedaemonshouldbeplacedin/etc/init.
d,andlinksshouldbecreatedtostartthedaemoninrunlevel5andstopthedaemoninrunlevel0,1,2,3,4,6;somepossiblecommandstodothisare:ln–s/etc/rc.
d/init.
d/mydaemon/etc/rc.
d/rc5.
d/S50mydaemonln–s/etc/rc.
d/init.
d/mydaemon/etc/rc.
d/rc0.
d/K50mydaemonln–s/etc/rc.
d/init.
d/mydaemon/etc/rc.
d/rc1.
d/K50mydaemonln–s/etc/rc.
d/init.
d/mydaemon/etc/rc.
d/rc2.
d/K50mydaemonln–s/etc/rc.
d/init.
d/mydaemon/etc/rc.
d/rc3.
d/K50mydaemonln–s/etc/rc.
d/init.
d/mydaemon/etc/rc.
d/rc4.
d/K50mydaemonln–s/etc/rc.
d/init.
d/mydaemon/etc/rc.
d/rc6.
d/K50mydaemonDiscoveryExercise3Notavailable.
DiscoveryExercise4Notavailable.
DiscoveryExercise5Runlevel4isdefinedin/etc/inittab.
Tostartdaemonsinthisrunlevel,youshouldhavetheappropriatelinein/etc/inittab(alreadythere),whichpointstothe"rc4"commandthatloadsallscriptsinthe/etc/rc.
d/rc4.
ddirectory.
Topreparethisdirectory,createthesamelinksasinthe/etc/rc.
d/rc3.
ddirectoryyetaddsomemorethatarenotavailableinrunlevel3.
DiscoveryExercise6Answerswillvary;typically,thisfileinitializessystemcomponentsbeforedaemonstartup.
DiscoveryExercise7Notavailable.
DiscoveryExercise8Notavailable.
paypal贝宝可撸$10的代金券!这两天paypal出了活动,本次并没有其他的限制,只要注册国区的paypal,使用国内的手机号和62开头的银联卡,就可以获得10美元的代金券,这个代金券购买产品需要大于10.1美元,站长给大家推荐几个方式,可以白嫖一年的VPS,有需要的朋友可以看看比较简单。PayPal送10美元活动:点击直达活动sfz与绑定卡的号码可以重复用 注册的邮箱,手机号与绑的银联卡必须...
特网云为您提供高速、稳定、安全、弹性的云计算服务计算、存储、监控、安全,完善的云产品满足您的一切所需,深耕云计算领域10余年;我们拥有前沿的核心技术,始终致力于为政府机构、企业组织和个人开发者提供稳定、安全、可靠、高性价比的云计算产品与服务。公司名:珠海市特网科技有限公司官方网站:https://www.56dr.com特网云为您提供高速、稳定、安全、弹性的云计算服务 计算、存储、监控、安全,完善...
Spinservers是Majestic Hosting Solutions,LLC旗下站点,主营美国独立服务器租用和Hybrid Dedicated等,数据中心位于美国德克萨斯州达拉斯和加利福尼亚圣何塞机房。TheServerStore.com,自 1994 年以来,它是一家成熟的企业 IT 设备供应商,专门从事二手服务器和工作站业务,在德克萨斯州拥有 40,000 平方英尺的仓库,库存中始终有...
xfce为你推荐
美国虚拟主机美国虚拟主机用着怎么样?全能虚拟主机时代互联的全能云虚拟主机怎么样,稳不稳定,速度怎么样的?域名代理域名代理能转到钱吗,如何赚钱啊?能够成为国外的域名代理商吗?vps主机什么是vps主机海外域名怎么挑选合适的国外域名?免备案虚拟主机哪家免备案虚拟主机好,而且便宜点的?什么是虚拟主机虚拟主机是什么?100m虚拟主机100M虚拟主机有多大,能放多少东西虚拟主机管理系统如何用win虚拟主机管理系统搭建虚拟主机mysql虚拟主机的数据库有哪些
国内ip代理 万网域名代理 鲁诺vps 分销主机 Dedicated 站群服务器 视频存储服务器 mediafire下载 免费cdn加速 天猫双十一抢红包 789电视 上海服务器 吉林铁通 申请免费空间和域名 万网空间管理 韩国代理ip 国外的代理服务器 个人免费邮箱 如何登陆阿里云邮箱 攻击服务器 更多