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.
易探云怎么样?易探云最早是主攻香港云服务器的品牌商家,由于之前香港云服务器性价比高、稳定性不错获得了不少用户的支持。易探云推出大量香港云服务器,采用BGP、CN2线路,机房有香港九龙、香港新界、香港沙田、香港葵湾等,香港1核1G低至18元/月,183.60元/年,老站长建站推荐香港2核4G5M+10G数据盘仅799元/年,性价比超强,关键是延迟全球为50ms左右,适合国内境外外贸行业网站等,如果需...
在之前的一些文章中有提到HostYun商家的信息,这个商家源头是比较老的,这两年有更换新的品牌域名。在陆续的有新增机房,价格上还是走的低价格路线,所以平时的折扣力度已经是比较低的。在前面我也有介绍到提供九折优惠,这个品牌商家就是走的低价量大为主。中秋节即将到,商家也有推出稍微更低的88折。全场88折优惠码:moon88这里,整理部分HostYun商家的套餐。所有的价格目前都是原价,我们需要用折扣码...
俄罗斯vps云服务器商家推荐!俄罗斯VPS,也叫毛子主机(毛子vps),因为俄罗斯离中国大陆比较近,所以俄罗斯VPS的延迟会比较低,国内用户也不少,例如新西伯利亚机房和莫斯科机房都是比较热门的俄罗斯机房。这里为大家整理推荐一些好用的俄罗斯VPS云服务器,这里主要推荐这三家:justhost、ruvds、justg等俄罗斯vps主机,方便大家对比购买适合自己的俄罗斯VPS。一、俄罗斯VPS介绍俄罗斯...
xfce为你推荐
美国vps服务器打听下,国外V P S服务器哪个好?域名空间买域名空间是什么意思com域名空间域名和空间是什么意思国内ip代理找一个好用的国内电信IP代理?虚拟空间免费试用目前哪里有免费试用的虚拟主机 或者服务器用啊?国外网站空间怎么样把网站空间放到国外去?北京网站空间什么样的网站空间好万网虚拟主机万网虚拟主机可以做几个网站虚拟主机软件问虚拟主机用什么版本的软件比较好大连虚拟主机大连横展网络科技有限公司怎么样?
最便宜的vps 域名备案批量查询 siteground kddi rak机房 搜狗抢票助手 中国电信测速112 北京双线机房 如何用qq邮箱发邮件 cxz 谷歌台湾 lamp兄弟连 cdn网站加速 杭州电信宽带 密钥索引 腾讯云平台 时间服务器 phpwind论坛 comodo 阿里云宕机故障 更多