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.
在之前的一些文章中有提到HostYun商家的信息,这个商家源头是比较老的,这两年有更换新的品牌域名。在陆续的有新增机房,价格上还是走的低价格路线,所以平时的折扣力度已经是比较低的。在前面我也有介绍到提供九折优惠,这个品牌商家就是走的低价量大为主。中秋节即将到,商家也有推出稍微更低的88折。全场88折优惠码:moon88这里,整理部分HostYun商家的套餐。所有的价格目前都是原价,我们需要用折扣码...
萨主机(lisahost)新上了美国cn2 gia国际精品网络 – 精品线路,支持解锁美区Netflix所有资源,HULU, DISNEY, StartZ, HBO MAX,ESPN, Amazon Prime Video等,同时支持Tiktok。套餐原价基础上加价20元可更换23段美国原生ip。支持Tiktok。成功下单后,在线充值相应差价,提交工单更换美国原生IP。!!!注意是加价20换原生I...
hostkey应该不用说大家都是比较熟悉的荷兰服务器品牌商家,主打荷兰、俄罗斯机房的独立服务器,包括常规服务器、AMD和Intel I9高频服务器、GPU服务器、高防服务器;当然,美国服务器也有,在纽约机房!官方网站:https://hostkey.com/gpu-dedicated-servers/比特币、信用卡、PayPal、支付宝、webmoney都可以付款!CPU类型AMD Ryzen9 ...
xfce为你推荐
linux主机linux主机与Windows主机的区别?谢谢asp主机sulzer主机类型有哪些ip代理地址使用IP代理会有什么坏处吗?网站空间商域名空间商怎么做什么是虚拟主机虚拟主机是什么?山东虚拟主机能否在虚拟机与主机之间建立局域网,让主机与虚拟机同时上网?成都虚拟主机成都哪个公司建网站最好顶级域名顶级域名是什么意思百度域名百度的网址是什么?域名城域名城里面的账号怎么才能有回帖和发帖的权限啊?
厦门虚拟主机 国外域名 免费域名空间申请 工信部域名备案系统 老左 西安服务器 simcentric 私人服务器 空间服务商 促正网秒杀 炎黄盛世 789电视 服务器托管什么意思 银盘服务是什么 路由跟踪 西安主机 工信部icp备案查询 攻击服务器 阿里云邮箱怎么注册 hdroad 更多