虚拟机中安装CentOS.docx

上传人:scccc 文档编号:13429797 上传时间:2021-12-25 格式:DOCX 页数:38 大小:1.74MB
返回 下载 相关 举报
虚拟机中安装CentOS.docx_第1页
第1页 / 共38页
虚拟机中安装CentOS.docx_第2页
第2页 / 共38页
虚拟机中安装CentOS.docx_第3页
第3页 / 共38页
虚拟机中安装CentOS.docx_第4页
第4页 / 共38页
虚拟机中安装CentOS.docx_第5页
第5页 / 共38页
点击查看更多>>
资源描述

《虚拟机中安装CentOS.docx》由会员分享,可在线阅读,更多相关《虚拟机中安装CentOS.docx(38页珍藏版)》请在三一文库上搜索。

1、我是用虚拟机安装的 CentOS5.5,选用的是安装镜像文件CentOS-5.5-i386-bin-DVD.iso首先当然是安装好虚拟机,我选用的是VMware。安装好后,双击会出现这样的画面。在此选择custom。卜面这个千万选最后一项,因为选错为第一项,我在这上面耗费了很长时间。Guest Operating System Installation4 virtual ma Ji me s ike a ph'/sica computer; t nseds an nerstng svstern. H。,,:;川I you install guest operating systemi,

2、Instal otti:0 Installer disc:O Installer disc inidge file (iso):。匚:.一0.ta tn 口口已Btr匚巨 武曰<The virtual machine Ml be created w th a Hank hard disk.Virtnaf Marte Wtza在这选择你要安装的位置,建议单独拿一个盘来安装,便于管理。Processor ConfigurationSpeofy the number of processors for this virtual machine.ProcessorsNumber of proce

3、ssors:Number of £ores per processor:Total processor cores:Help <.ck *xt > Cancel32 GB16 GB8 GB4 GB2 GB1GB512 MB Q256 MB126 MB64 MB32 MB16 MB8 MB4 MB512 ; MBMemory for the Virtual MachineHow much memory would you like to use for this virtual machine?Specify the amount of memory allocated t

4、o this virtual machine. The memory size must be a multiple of 4 MB.Memory for this virtual machine: Maximum recommended memory: 1736 MB3 Recommended memory: 1024 MB Guest OS recommended minimum: 512 MBNetwork TypeWhat type of network do you want to add?NetA'ork connectionUse bndged networks 星Giv

5、e the guest operating system direct access to an external Ethernet nebvork. The guest must have its own IP address on the external nebvork. Use netA'ork address translation (NAT)Give the guest operating system access to the host computers dial-up or external Ethernet netA-ork connection using th

6、e hosts IP address.O Use host-only net/.'orkingConnect the guest operating system to a private virtual network on the host computer.C' Do noi use a netA-ork connectionHelp< Back Next J CancelSelect I/O Controller TypesWhich SCSI controller type would you like to use?I/O controller typesID

7、E Controller:ATARISCSI Controller: Q BusLogic LSI Logic (Recommended)O LSI Logic 5As< BackNext >CancelV/hidi d 8 you /. ant to use?DiskQ iCreate a nt 7 ' 'irtLid di5<: r,e r,rr,e r,e e,bt,-,ri l,e e,ri e,r rA -. rtual d 叱百 composed of one or more files orr the host file s /stem, ; h

8、 di ,;.ill appear a Engle hard disk to tiie guest operating s'/stein. Virtual di5ks can easily b& copied ar moved on the same host or Mt-Ae&n hosts.1 Use an fisting yirtua diskChoose th s op don to reuse a pre. iousl w coniigu-ed d sk. Use a i2hyticaJ disk (fbr advanced ueerE;Choose this

9、 option to g tiie :忏加与 m5ciine direct access to s local hard disk.He0< Back. .Kt a Cancel这个要选择一下IDE。Mew Virtual Madhirrc WizardSelect a Di写k TypeV/''at -and of dic< do'二,引寸 toVirtu己 disk t芯熊SCSI :Re:ommededjSpecify Disk CapacityHow large do you want this disk to be?Maximum disk siz

10、e (GB):如时:Recommended size for CentOS: 20 GB Allocate all disk space now.Allocating the full capacity can enhance performance but requires all of the physical disk space to be available right now. If you do not allocate all the space now, the virtual disk starts smal and grows as you add data to it.

11、O Store virtual disk as a single file® Split virtual disk into multiple filesSplitting the disk makes it easier to move the virtual machine to another computer but may reduce performance with very large disks.冒 Pocket ACE size calculatorHelp< Back Next > CancelSpecify Disk FileV/here woul

12、d you like to store the disk file?Disk FileOne disk file will be created for each 2 GB of virtual disk capaaty. File names for each file beyond the first will be automatically generated using the file name provided here as a bass.二 entQS.vmdkBrowse.%centos5WLTWest OS;Cen KE-LBCTtor-E=!csrrftH.l,<

13、eflt05.¥rw:依审坳事?网$枭工熊CMTwrm«idbZiriCM QptlHii* PtJ*ver E % cTtual radchrc/ EattuJ mi±«nt it ttrs,0)鼾翻t ME ZiysH fWMt,ACE?)5加3detectAuboce:!:国修 Present Aug *沿二t如 tO E-tNotw_ _ .双击上面加深处,出现下面的画面。点击你的CentOS的文件,我的文件是 DVD镜像文件,所以选择第二个。在此导入你的镜像文件。看到下面有变化吧。这个时候点击Power on the vitual machin

14、e。这个时候就相当于你把光盘已经插进电脑,准备安装windows的情行。CentOS5限 OUKtOS! iJKStorr Yrs on:GnlWEs 七eS l'£ m 期 vmt,i'.">ic5LE-:Dfi E.5-7.K '. raid ±i reComrriBndh-+ Pgmm m th/ ft r-iKhE 勒 Ecrt wtud mAd-in-e settn;? Ei妣 ME看制酬啾司ACE?)OptiOftSNote512吒1加挈Usns *怕丈5 陋出5T湖廿加仍表粘H&CCE<iPresentAu

15、todte<»:tPtesefitquto可以直接回车跳转。这是检测光驱,可以选择skip。进入者了以后,就可以进行设置了。1 J" r .1a jjLi 14 即“ 打电, 理 I<tA iLEUiX Ktlp选择简体中文。如果你想选英文也非常好。Lil*艮占I 姓”躅 Iim 虹血0”正。 0 白国国:但E3国后回出现如下对话框,选择“是”以下这部分很重要。具体原因你在学习了linux以后会有更深刻的理解。暂时不解释得很清楚。技独卢制 二文件界域或型:允用映/图® :大小荷成I揩走京间尢小旧田:何用主留可用卫可匚除S rwo ifitf/ui而选记

16、或电后退®To dihct 士叩曲匕 1.4 Llui lili. chek Ladjd« ta Curl*G-.CentOSX禀洎心岩语主|其它四小选项回定大小的强制为主分区匚 (£)画叵uae后回回IB 挣a淖 CeirtCS阑n治区IVM榻曲下一排闻注意:选择强制为主分区Mt 工 i" 耀 !<«! liadws HnPs 口区)电守;g的口© 同回回a wa CentOS Xi殳佰谩盘顿)81p /dev/hda匚 RAID iSfi/L/dev/hdal 空闲口发行注记®】。dir«<t if

17、tpul l« thii », click iMide or >r«ti Ctrl*G.文件累统类型:允许&滦3耨:«5t<k)WM(U国指定空间大小(MBXU):使用金都可用空间/dev/hdal匚 P8SRAIDi9ifi/L口发行注记®伞后退下一步侬】。dir«<t iftpul l« thii », click iMide or >r«ti Ctrl*G.*取消© |日吃/dev/hda2空南透盘笑动物 /dcv/hda大小(MBXS): 其它大小选项 &

18、#163;圆定大小的i殳佰强制力主分区C ins(£)cenwb - vHwareRdit 工 i" 播 1<«! Jiadws HnPB叼叵D S,.心的口回©同回!】25发行注记®6后退下一步MDrive /dev/hda (20473 MB) (Model: VMware Virtual IDE Hard Drive)hdai 10001 MBhdo34996 MBMdlfree99614377 MB段育拉戴点/ RAIDA/'olume蝴格式化大小 尼过化(MB)开始结柬/devjtxia?/ext?/JLW1HEo>

19、;/dev/hda3/homeext34期囱19G5p AJev/hda4于展分区ET?3段的0/dev/hda5swapQ做囱如空用空闷2间437720®26103CHA>匚隘 RAID iSfi/LVM «ia«a©由dir«<t iftpul l« thii », click iMide or >r«ti Ctrl*G.Iw3irw(心60aRdit 工 i" 播 1<«! Jiadws HnPB叼叵D S,.心的口回©同回!】25GRUB引导磨哝程序将会

20、装安装在/dev/hda上。C无引导装载卷行将金精安要。您可以配iB旧装也程序引3其它撩作和i。它会允讦您从列袋中遇獐要引导的捌乍累统。畏或阻言及有被自动被涉网的作系 统点击”播HT "夔及受IfiA引导的操作品统在您要的操作茶统上遇婶1KW。添加数”标差 段誉 CentOS /dev/hda2m(Q)引导黄嵌程序田码可以防止用户设变传递给内核的选中。为安全起见,我书网议例殳立一个密码。 匚使用引导祭戴程序在颂。发行注记®6后退下一步M点击使用引导装载程序密码,设置密码,如图所示:Lilt l-iit 仃” 嗯 I«m iLEdwx 加。 DOU)©势脑

21、必Q00 E回画原商现在已经进入IPv6时代了,选它吧。Lil*艮 dit£i物 理 I«m 虹血脸工 Help tl El i7 0国To dihct 士叩曲匕 1.4 Llui lili. chek Ladjd« ta Curl*G-.选个中国时间吧,没有北京时间呢。设置密码,要记牢哦。因为需要java和mysql,所以选择安装了这些软件。可以根据自己需求安装。Mt 工 i" 耀 !<«! liadws HnP叼叵。较;.心口5回。同回(回为生京面环境 应用程序开发DNS名称服务器面团FTP圈务器沁3 MySQL数据库服务裔基本基统

22、虚拟化 集看集费存储 PostgreSQL 数据庠件服务器在所逐定聂安兴的:件包中初竟依赖关泰 SUI I 初 IP内 Rg6 of 11 optional packages selectedMt 工 i" 耀 !<«! liadws HnP凄行注记®To dir«<t ihpuK l« this », click iMide or >r«>> Ctrl*G.叼叵。较;.心口5回。同回(回为生点击吓一步”充开始安装 ContOS.重新引导侬后箍将会在/ roouinstall.log文件中找SJ

23、完整 的安装日志新引导柔筑后,悠相会在/ root/anaconda-ks.cfg 文件中 找到但含格用造绛的安装造他 kickstart 文件。凄行注记®To dir«<t ihpuK l« this », click iMide or >r«>> Ctrl*G.这会经历很长的一段时间,主要的设置就完了。接下来就是一些调整。Lil® 艮 dat 力打 理 L«m lindofi 肌。m 1叵匕 隐.,.胜 的门诃扇 0回卡 片%第一个是防火墙设置,下面有信任的服务,可以根据自己的需要选择。选是就好了

24、。Mk Rdit 工】“耀liad«vs K«lpB . lb RD回Q回Mk Rdit 工】“耀 I<m liad«vs K«lpB . lb RD回Q回Mk Rdit 工】“耀liad«vs K«lpsB叩Mk Rdit 工】“耀 I<m liad«vs K«lp笠;.Ui 的口自由B叩Eilt Liit 姓” 理 I«w Kiadofi 旗IpB山口号 /乌:陋 国由回画,通与Eilt Liit 姓” 理 I«w Kiadofi 加功B皿宜立 近口上 口向后回回忆 ,为马选“是”自己设定名字和密码。按播放按钮,可以测试是否能听到声音。ICeirtOS XTo dihct 曲匕 1.4 Llui lili. chek Ladjd« ta Curl*G-.w附加光盘现在请播.入附带#球件安蓑世。后遇 现成的耻光端安顿Eilt Liat 姓” 理 I«w KiELdofi Help回回回停用心口回:二斑*防重信SELInux也,用户日期制时间点击完成,就大功告成了。

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 社会民生


经营许可证编号:宁ICP备18001539号-1