加入VIP
  • 专属下载特权
  • 现金文档折扣购买
  • VIP免费专区
  • 千万文档免费下载

上传资料

关闭

关闭

关闭

封号提示

内容

首页 VirtualBox 3.1

VirtualBox 3.1.pdf

VirtualBox 3.1

norwaymestari
2012-12-18 0人阅读 举报 0 0 暂无简介

简介:本文档为《VirtualBox 3.1pdf》,可适用于IT/计算机领域

VirtualBox:Beginner'sGuideDeployandmanageacosteffectivevirtualenvironmentusingVirtualBoxAlfonsoVRomeroBIRMINGHAMMUMBAIVirtualBox:Beginner'sGuideCopyright©PacktPublishingAllrightsreservedNopartofthisbookmaybereproduced,storedinaretrievalsystem,ortransmittedinanyformorbyanymeans,withoutthepriorwrittenpermissionofthepublisher,exceptinthecaseofbriefquotationsembeddedincriticalarticlesorreviewsEveryefforthasbeenmadeinthepreparationofthisbooktoensuretheaccuracyoftheinformationpresentedHowever,theinformationcontainedinthisbookissoldwithoutwarranty,eitherexpressorimpliedNeithertheauthor,PacktPublishing,noritsdealersordistributorswillbeheldliableforanydamagescausedorallegedtobecauseddirectlyorindirectlybythisbookPacktPublishinghasendeavoredtoprovidetrademarkinformationaboutallthecompaniesandproductsmentionedinthisbookbytheappropriateuseofcapitalsHowever,PacktPublishingcannotguaranteetheaccuracyofthisinformationFirstpublished:AprilProductionReference:PublishedbyPacktPublishingLtdLincolnRoadOltonBirmingham,BPA,UKISBNwwwpacktpubcomCoverImagebyFaizFattohi(faizfattohigmailcom)CreditsAuthorAlfonsoVRomeroReviewerJamesSelvakumarSamrajEliyezarAcquisitionEditorSarahCullingtonDevelopmentEditorReshmaSundaresanTechnicalEditorAkashJohariIndexerRekhaNairEditorialTeamLeaderAksharaAwareProjectTeamLeaderLataBasantaniProjectCoordinatorShubhanjanChatterjeeProofreaderJoelTJohnsonProductionCoordinatorAdlineSwethaJesuthasCoverWorkAdlineSwethaJesuthasAbouttheAuthorAlfonsoVRomerohasbeenworkingwithLinuxandopensourcesoftwaresince,whenhestartedoperatinghisfirstwebserver(Apache)fromaPCathomeSincethenhe'sbeenworkingforseveralclientsinMexicoasaJava,C,andwebapplicationsdeveloperHealsoworksforPearsonEducationinMexicoasaComputerBooksFreelanceTranslatorandConsultantWhenhe'snotexperimentingwithnewtrendsinopensourceandNETapplications,heenjoysspendingsomequalitytimewithhisbeautifulwife,threekids,andthreedogs,orplayinghisoldelectricIbanezguitarHe'salsoabigfanofStephenKing,andoneofhismaximumaspirationsistowriteafictionnovel,buthispassionforcomputersandinformationtechnologykeepshimbusyasatechnicalwriterToGod,withoutwhomI'dneverbewhereIamnow…ToAdelinamywife,theloveofmylifeIcannotthankyouenoughforyourpatience,love,encouragement,andsupportthatkeptmegoingnomatterwhathappenedalongthewayIloveyouvery,verymuch!Myheartwillalwaysbeyours!TomytwodaughtersAdelinaandArlae,andtomysonAlfonsoJr,becauseeverytimeIgotwriter'sblocktheyalwaysmanagedtocheermeupwithasmile,akiss,orahug…Iloveyouinfinitely,guys!FinallyI'mgoingtobeabletospendqualitytimewithyouinthepark!TomymotherEstela,myfatherAlfonso,mybrotherRichard,andmysisterLucy,fortheirunconditionalsupport,andforshowingmethatpatience,perseverance,andstubbornnesswillalwayshelpyouachievewhateveryou'reuptoToSarah,Pallabi,Shubhanjan,Reshma,andallthestaffatPacktPublishingforbeingsuchagreatsupportteamTotheVirtualBoxteam,fordevelopingsuchagreatproduct!AbouttheReviewerJamesSelvakumarSamrajEliyezarisaSoftwareEngineerwhograduatedfromNationalEngineeringCollege,Kovilpatti,IndiaHehasmorethanfiveyearsofexperienceindevelopingapplicationsforbankingandfinancialindustryHedevelopsprimarilyinJavabutlovesdynamiclanguagessuchasGroovyandPythonUbuntuLinuxishisfavoriteoperatingsystemInhisfreetime,helikestoblog,tweet,andreadIwouldlovetothankmymotherElizabeth,wifeSerene,andmylittlesonNithilJeremiahwhoaretheconstantsourceofmotivationandencouragementIwouldalsoliketothankmybossDavethuJacobforgivingmethefreedomtoexploreandinnovateTableofContentsPrefaceChapter:GettingtoWorkwithVirtualBoxRunningmultiplevirtualmachinesInstallingVirtualBoxonWindowsTimeforaction–downloadingandinstallingVirtualBoxonWindowsInstallingVirtualBoxonLinuxTimeforaction–downloadingandInstallingVirtualBoxonLinuxTestingVirtualBoxTimeforaction–creatingandtestingaDamnSmallLinuxvirtualmachineSummaryChapter:CreatingYourFirstVirtualMachine:UbuntuLinuxGettingstartedDownloadingtheUbuntuLinuxLiveCDTimeforaction–downloadingtheUbuntuDesktopLiveCDCreatingyourUbuntuLinuxVMTimeforaction–creatingavirtualmachineConfiguringbasicsettingsforyourUbuntuLinuxVMTimeforaction–basicconfigurationforyourVMInstallingUbuntuLinuxonyourVMTimeforaction–installingUbuntuDesktoponyourVMRunningyourUbuntuLinuxVMTimeforaction–runningUbuntuLinuxWebbrowsingwithMozillaFirefoxTimeforaction–webbrowsinginyourUbuntuVMUsingOpenOfficeorginyourvirtualmachineTimeforaction–usingOpenOfficeorgShuttingdownyourvirtualmachineTimeforaction–shuttingdownyourVMTableofContentsiiSummaryChapter:CreatingYourSecondVirtualMachine:WindowsCreatingyourWindowsVMTimeforaction–creatingavirtualmachineBootingyourWindowsinstallationdiskTimeforaction–bootingyourWindowsinstallationdiskthroughtheFirstRunWizardInstallingWindowsonyourVMTimeforaction–installingWindowsXPonyourVMMakingsoundworkonyourWindowsVMTimeforaction–enablingaudioonyourWindowsvirtualmachineRemovingtheinstallationmediafromyourWindowsVMTimeforaction–removinginstallationmediafromyourVMWebbrowsingwithInternetExplorerTimeforaction–webbrowsinginyourWindowsVMUsingMicrosoftOfficeinyourvirtualmachineTimeforaction–usingOpenOfficeorgShuttingdownyourvirtualmachineTimeforaction–shuttingdownyourVMSummaryChapter:InstallingGuestAdditionsandAdvancedSettingsIntroducingGuestAdditionsInstallingGuestAdditionsforWindowsTimeforaction–installingGuestAdditionsonaWindowsXPvirtualmachineInstallingGuestAdditionsforLinuxTimeforaction–installingGuestAdditionsonLinuxUbuntuInstallingGuestAdditionsforOpenSolarisUsingthefullscreenfeatureTimeforaction–usingthefullscreenandwindowedmodesSharingfoldersbetweenyourhostandguestPCsTimeforaction–sharingfoldersbetweenaWindowsXPhostandaUbuntuguestActivatingtheSeamlessWindowsfeatureTimeforaction–activatingSeamlessWindowswithWindowsandLinuxAllowingDHardwareAccelerationinyourvirtualmachinesTimeforaction–usingCompizonyourUbuntuVMSummaryTableofContentsiiiChapter:StoringDatainVirtualBoxUsingVirtualDisksinVirtualBoxUsinganadditionalVDIharddriveTimeforaction–addingasecondaryvirtualdrivetoyourVMUsingaVHDharddriveTimeforaction–addingaVHDvirtualdrivetoyourVMCreatingmultiplevirtualmachinesbycloningTimeforaction–cloninganUbuntuLinuxharddiskimageExpandingharddiskimagesontheflyTimeforaction–creatingafixedsizeharddriveimageChoosingyourdiskcontrollertype:IDE,SATA,orSCSITimeforaction–usingaSATAdiskcontrolleronaVMUsingIDEandSATAdrivesonaVMTimeforaction–usingIDEandSATAdrivesSummaryChapter:NetworkingwithVirtualMachinesConnectingtothedefaultNATmodeExploringdefaultnetworkadaptertypesTimeforaction–viewingthedefaultnetworkadaptertypesinyourvirtualmachinesTestingtheNATmodeTimeforaction–accessingtheNATmodeinyourVMUsingportforwardingwiththeNATmodeTimeforaction–enablingportforwardinginNATmodeTestingaserveroperatingsysteminthebridgednetworkingmodeAccessingyourVM'swebserverfromyourhostPCTimeforaction–changingyourvirtualmachinetobridgednetworkingmodeAccessingyourVM'swebserverfromanotherVMTimeforaction–accessingyourVM'swebseverfromanotherVMUsingthe'NotAttached'modeTimeforaction–isolatingaVMwiththe'NotAttached'modeDisconnectingyourvirtualmachinefromthenetworkwithoutshuttingitdownTimeforaction–connectingdisconnectingyourVMfromthenetworkUsingtheInternalNetworkingmodeTimeforaction–communicatingbetweenVMsonlyUsingtheHostOnlyNetworkingmodeTimeforaction–communicatingbetweenVMsandyourhostPConlySummaryTableofContentsivChapter:UsingVirtualAppliancesSettinguppreconfiguredvirtualmachinesinaflashImportingavirtualapplianceTimeforaction–usingtheTurnKeyWordpressvirtualapplianceExportingavirtualapplianceTimeforaction–exportingyourcustomizedWordpressvirtualapplianceWorkingwithvirtualappliancesUsingvirtualimagesfromVirtualBox®ImagesTimeforaction–usingaPuppyLinuxVMinVirtualBoxUsingvirtualappliancesfromBitNamiTimeforaction–usingtheBitNamiDrupalvirtualapplianceUsingtheTurnkeyLinuxFileServerapplianceTimeforaction–usingtheTurnkeyLinuxFileServerapplianceSummaryChapter:ManagingyourVirtualMachinesfromaRemoteComputerManagingvirtualmachinesfromalternativefrontendsUsingtheVBoxManagefrontendTimeforaction–usingVBoxManagetostartavirtualmachineControllingyourvirtualmachinesthroughVBoxManageTimeforaction–pausing,resuming,andsavingyourvirtualmachine'sstateUsingtheVBoxSDLsimplifiedinterfaceTimeforaction–usingVBoxSDLtostartavirtualmachineSettingupyourveryownVirtualBoxheadlessserverSettingupUbuntuServerLTSTimeforaction–downloadandinstallUbuntuServerLTSAccessingyourheadlessserverfromaremotePCTimeforaction–usingPuTTYtoaccessyourUbuntuserverremotelyInstallingVirtualBoxonyourUbuntuserverthroughaptgetTimeforaction–installingVirtualBoxthroughaptgetonyourUbuntuserverCreating,managing,andrunningyourfirstremotevirtualmachineontheUbuntuheadlessserverEnablingFTPtouploadguestimagestoyourheadlessserverTimeforaction–enablingproftponyourUbuntuheadlessserverUploadinganISOguestimagetoyourUbuntuserverTimeforaction–uploadingaguestISOimagetoyourheadlessserverCreatingavirtualmachineinyourUbuntuheadlessserverTimeforaction–creatingavirtualmachinewithVBoxManageUsingaRemoteDesktopclientandrunningyourremoteVMTimeforaction–usinganRDPviewerandstartingyourVMEnablingsoundonyourremotevirtualmachinesTableofContentsvTimeforaction–enablingaudioonyourremotevirtualmachineUsingsharedfoldersonyourremotevirtualmachineTimeforaction–creatingandaccessingasharedfolderonyourUbuntuheadlessserverSettingupyourownremotevirtualLAMPserverTimeforaction–runningyourveryownremotevirtualLAMPserverSummaryAppendixA:UsingSnapshotsRevertingchangestoyourvirtualmachineTimeforaction–savingthestateofyourUbuntuvirtualmachinebytakingasnapshotCreatingalternaterealitiesinyourvirtualmachinesTimeforaction–usingbranchingsnapshotsinyourVMsSummaryAppendixB:PopQuizAnswersChapterDoingthethingChapterCreatingvirtualmachinesConfiguringbasicsettingsonyourVMsUsingtheautocaptureandhostkeyfeaturesRunningyourUbuntuLinuxVMYourfirstVMChapterCreatingvirtualmachinesUsingtheautocaptureandhostkeyfeaturesRunningyourWindowsVMYourfirstVMChapterGuestAdditionsUsingthefullscreenfeatureUsingthefoldersharingfeatureChapterUsingvirtualdisksinVirtualBoxCreatingadditionalvirtualdiskimagesVirtualstorageUsingdifferentstoragecontrollertypesStoringdatainVirtualBoxChapterWorkingwiththedefaultnetworkadaptertypesTableofContentsviUsingthebridgednetworkingmodeUsingtheinternalnetworkingmodeVirtualnetworkingChapterImportingvirtualappliancesExportingvirtualappliancesWorkingwithvirtualappliancesVirtualappliancesChapterUsingtheVBoxManageinterfaceSettingupyourownVirtualBoxheadlessserverEnablingFTPanduploadingISOimagesonyourheadlessserverRemotevirtualmachinesandalternativefrontendsAppendixAUsingthefoldersharingfeatureCreatingalternaterealitiesforyourVMsIndexPrefaceThefurorearoundvirtualizationistakingthetechnologyworldbystormandisamustforefficientutilizationofnetworkservercapacity,storageadministration,energy,andcapitalVirtualBoxisfreewhichbringsdownyourupfrontcostsforanagiledatacenterVirtualBoxwilltransformyourITinfrastructureintoaleandatacenteronaWindowsXPVista,WindowsServer,Linux,Macintosh,orOpenSolarisplatformAlthoughVirtualBoxhasgrownbyleapsandbounds,thereisnotenoughdocumentationtoguideyouthroughitsfeaturesandimplementationThishandsonguidegivesyouathoroughintroductiontothisawardwinningvirtualizationproductItwillhelpyouimplementtherightvirtualenvironmentforyouAdditionally,thisbookwillhelpyousetupanenvironmentthatwillworkforyoursystemYouwilllearntoarchitectanddeployyourfirstvirtualmachinewithoutbeingoverwhelmedbytechnicaldetailsThispracticalbookunveilstherobustcapabilitiesandeasytousegraphicalinterfaceofVirtualBoxtohelpyoueffectivelyadministerandusevirtualmachinesinahomeorofficeenvironmentYoubeginbycreatingyourfirstvirtualmachineonaWindowsLinuxguestoperatingsystemandinstallingGuestAdditionsThebookthengoesontodiscussthevariousformatsthatVirtualBoxsupportsandhowitinteractswithotherformatsThecomprehensiveinstructionswillhelpyoutoworkwithallthenetworkingmodesofferedbyVirtualBoxVirtualapplianceswillbeexplainedindetailhowtheyhelptoreduceinstallationtimeforvirtualmachinesandrunthemfromVirtualBoxBytheendofthisbook,youwillbeabletorunyourownheadlessVirtualBoxservertocreate,manage,andrunvirtualmachinesinthatserverfromaremotePCPrefaceWhatthisbookcoversChapter,GettingtoWorkwithVirtualBox,givesyouapracticalintroductiontoVirtualBox,andhowyoucanusethisexcellentsoftwaretorunseveralvirtualmachinesinsideaWindowsLinuxhostChapter,CreatingYourFirstVirtualMachine:UbuntuLinux,teachesyouaboutthebasicsettingsneededtocreateandrunavirtualmachineusingtheUbuntuoperatingsystemYou’llalsolearntotestsomebasicfunctionslikewebbrowsingandusingtheOpenOfficesuiteofapplicationsChapter,CreatingYourSecondVirtualMachine:Windows,teachesyouhowtoinstallWindowsonavirtualmachine,alongwiththebasicsettingsneededYou’llalsolearntotestsomebasicfunctionslikewebbrowsingandusingtheMicrosoftOfficetrialeditionChapter,InstallingGuestAdditionsandAdvancedSettings,teachesyouhowtoinstalltheGuestAdditionstotakerealadvantageofyourvirtualmachinesYou’llalsolearnhowtosharefoldersbetweenyourhostPCandyourguestvirtualmachines,howtouseseamlesswindowstointegrateyourhostandguestdesktops,andhowtoactivatehardwareDaccelerationonyourvirtualmachinesChapter,StoringDatainVirtualBox,teachesyoueverythingaboutusingvirtualharddisks,andhowyoucanusedifferentdiskformatssuchasVDI,VMDK,andVHDseamlesslyinyourvirtualmachinesYou’llalsolearnthedifferencesbetween‘cloning’and‘copying’virtualharddisks,betweenfixedanddynamicallyexpandingharddriveimages,andhowtochoosebetweenthedifferentharddiskcontrollersusedbyVirtualBoxChapter,NetworkingwithVirtualMachines,teachesyouallaboutthefivenetworkingmodesavailableinVirtualBoxandhowtochoosethemostappropriatemodeforyourvirtualmachines,dependingonyourneedsYou’lllearnhowtoconnectavirtualmachinetotheInternetandalocalLANviathedefaultNATmode,andhowtochoosethebestnetworkingmodewhenusingavirtualmachineasawebserver,amongotherthingsChapter,UsingVirtualAppliances,teachesyouaboutusingvirtualappliancesandhowtheycanhelpmakeyourlifeeasierwhenusingvirtualmachinesandVirtualBoxYou’llalsolearnhowtoimportandexportvirtualmachinesusingtheOVFstandardChapter,ManagingYourVirtualMachinesFromaRemoteComputer,teachesyouaboutthealternativefrontendsavailableinVirtualBox,andhowyoucanusethemtorunyourvirtualmachinesbasedonyourspecificneedsYouwillalsolearnhowtosetupyourveryownUbuntuheadlessserveranduseittorunaremotevirtualmachinefromaWindowsXPdesktopPCAppendixA,UsingSnapshots,teachesyouhowtosavethestateofyourvirtualmachinesthroughthesnapshotsfeatureYou’llalsolearntocreatealternaterealitiesinyourvirtualmachines,whereyoucanfollowtwoormorecompletelyindependenttimepathsPrefaceWhatyouneedforthisbookTorunVirtualBox,youneedahostPCwithaorbitIntelorAMDCPUGHzorfaster,atleastMBofRAMandMBofdiskspaceHowever,youmusttakeintoaccountthefactthateachvirtualmachinewillrequireadditionaldiskspace,andthemorememoryyoucangetyourhandson,thebetteryourexperiencewithVirtualBoxwillbe,especiallywhendealingwithnewguestoperatingsystemslikeWindowsSoinshort,anyrecentIntelorAMDprocessorwilldo,butgetalltheRAMandharddiskspaceyoucan!YoucanuseaWindowsXPVista,MacOSX,OpenSolaris,orLinuxhostoperatingsystemIrecommendusinganUbuntuLinuxorWindowshostFortheguestoperatingsystems,youcanusepracticallyeveryWindowsandLinuxOSavailableFormoreinformationyoucanvisithttp:wwwvirtualboxorgwikiGuestOSes,whereyoucangetalistofalltheguestoperatingsystemssupportedbyVirtualBoxWhothisbookisforIfyouareaSystemAdministratorwhoneedstosetupavirtualmachineandwanttouseanopensourcetooltodoit,thisbookwillproveinvaluableNopriorknowledgeofVirtualBoxisrequired,butyoushouldhaveexperiencewithgeneralsystemadministrationConventionsInthisbook,youwillfindanumberofstylesoftextthatdistinguishbetweendifferentkindsofinformationHerearesomeexamplesofthesestyles,andanexplanationoftheirmeaningCodewordsintextareshownasfollows:“Openaterminalwindowandtypesudoaptgetinstalldk

用户评价(0)

关闭

新课改视野下建构高中语文教学实验成果报告(32KB)

抱歉,积分不足下载失败,请稍后再试!

提示

试读已结束,如需要继续阅读或者下载,敬请购买!

文档小程序码

使用微信“扫一扫”扫码寻找文档

1

打开微信

2

扫描小程序码

3

发布寻找信息

4

等待寻找结果

我知道了
评分:

/49

VirtualBox 3.1

仅供在线阅读

VIP

在线
客服

免费
邮箱

爱问共享资料服务号

扫描关注领取更多福利