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.
官方网站:点击访问ATCLOUD.NET官网优惠码:目前提供Cloud VPS与Storage VPS两款产品的六折优惠活动(续费同价,截止至2021年5月31日)优惠码:UMMBPBR20Z活动方案:一、型号CPU内存磁盘流量优惠价格购买链接VPS-1GB0.5×2.6+GHz1GB20GB1TB$3立即购买VPS-2GB1×2.6+GHz2GB50GB2TB$6立即购买VPS-4GB2×2.6...
今天有看到Raksmart账户中有一台VPS主机即将到期,这台机器之前是用来测试评测使用的。这里有不打算续费,这不面对万一导致被自动续费忘记,所以我还是取消自动续费设置。如果我们也有类似的问题,这里就演示截图设置Raksmart取消自动续费。这里我们可以看到上图,在对应VPS主机的【其余操作】中可以看到默认已经是不自动续费,所以我们也不要担心被自动续费的。当然,如果有被自动续费,我们确实不想续费的...
新网好不好?新网域名便宜吗?新网怎么样?新网是国内老牌知名域名注册商,企业正规化运营,资质齐全,与阿里云万网和腾讯云DNSPOD同为国内服务商巨头。近日新网发布了最新的七月放价季优惠活动,主要针对域名、云主机、企业邮箱、SSL证书等多款云产品推送了超值的优惠,其中.com顶级域名仅19.9元/首年,.cn域名仅16元/首年,云主机1核心2G内存3Mbps带宽仅9.9元/月,企业邮箱更是免费送1年,...
xfce为你推荐
注册域名注册域名需要什么条件?主机租赁电脑租赁的缺点海外主机租用国外服务器租用有几十块钱一年的么asp主机如何用ASP代码实现虚拟主机info域名注册淘宝上有的注册info域名十元左右,是不是真的域名服务域名服务器是什么?代理主机什么叫做代理服务器?有什么用途?100m网站空间网站空间100M指多大深圳网站空间求免费稳定空间网站?手机网站空间手机登陆qq空间网址是什么?
域名解析 google电话 BWH 免费ftp空间 Hello图床 国外免费空间 服务器架设 panel1 admit的用法 域名转接 泉州电信 厦门电信 河南移动梦网 镇江高防 工信部icp备案查询 购买空间 免费主页空间 酷锐 phpinfo shuangshiyi 更多