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.
也有在上个月介绍到糖果主机商12周年的促销活动,我有看到不少的朋友还是选择他们家的香港虚拟主机和美国虚拟主机比较多,同时有一个网友有联系到推荐入门的个人网站主机,最后建议他选择糖果主机的迷你主机方案,适合单个站点的。这次商家又推出所谓的秋季活动促销,这里一并整理看看这个服务商在秋季活动中有哪些值得选择的主机方案,比如虚拟主机最低可以享受六折,云服务器可以享受五折优惠。 官网地址:糖果主机秋季活动促...
最近发现一个比较怪异的事情,在访问和登录大部分国外主机商和域名商的时候都需要二次验证。常见的就是需要我们勾选判断是不是真人。以及比如在刚才要访问Namecheap检查前几天送给网友域名的账户域名是否转出的,再次登录网站的时候又需要人机验证。这里有看到"Attention Required"的提示。我们只能手工选择按钮,然后根据验证码进行选择合适的标记。这次我要选择的是船的标识,每次需要选择三个,一...
justhost怎么样?justhost服务器好不好?JustHost是一家成立于2006年的俄罗斯服务器提供商,支持支付宝付款,服务器价格便宜,200Mbps大带宽不限流量,支持免费更换5次IP,支持控制面板自由切换机房,目前JustHost有俄罗斯6个机房可以自由切换选择,最重要的还是价格真的特别便宜,最低只需要87卢布/月,约8.5元/月起!总体来说,性价比很高,性价比不错,有需要的朋友可以...
xfce为你推荐
linux主机Linux主机 VS. Windows主机,您选择哪一个?免费国内空间网站免费空间(国内的)那里有?php虚拟空间普通网站需要多大空间?本人新手php学习者,想买个虚拟空间用来放自己做的一些企业站,只是练习用途虚拟空间哪个好虚拟主机哪家的最好?重庆网站空间重庆建网站的公司 我司准备建一个好点的网站,求推荐虚拟主机控制面板如何利用虚拟主机控制面板对网站进行管理万网虚拟主机万网免费虚拟主机和收费虚拟主机有什么区别论坛虚拟主机最适合做论坛的虚拟主机是什么?虚拟主机管理软件虚拟主机用什么管理软件,我准备购买一个vps 先咨询下。m3型虚拟主机建网站,M型虚拟主机和G型虚拟主机,选哪种好?
台湾服务器租用 西安电信测速 t牌 inmotionhosting edis bash漏洞 创宇云 debian源 php免费空间 彩虹ip vip购优汇 日本bb瘦 100m独享 免费申请个人网站 ftp免费空间 100mbps 爱奇艺会员免费试用 台湾google 东莞服务器托管 lamp是什么意思 更多