VMware Workstation 8下安装Linux(CentOS 6.4)
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了VMware Workstation 8下安装Linux(CentOS 6.4),小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含3341字,纯文字阅读大概需要5分钟。
内容图文
![VMware Workstation 8下安装Linux(CentOS 6.4)](/upload/InfoBanner/zyjiaocheng/1058/ce603e045c3f460daa49e401cde60601.jpg)
1.我的虚拟机的基本信息如下图所示:
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_139226022001QY.jpg)
二、安装Linux
1.准备好Linux的光盘镜像文件,我这里使用的是CentOS 6.4,等建立好虚拟机后我们将用它来进行安装!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392261176JW95.jpg)
2.启动VMware Workstation,在Home界面点击Create a New Virtual Machine或者点击菜单栏的File然后选择New Virtual Machine...进入虚拟机的创建向导!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392261922G38Z.jpg)
3.选择Custom(advanced)进行用户自定义安装,第一个选项是典型安装,步骤相对简单,但不能自己定制。选择好后点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_13922629237Ntc.jpg)
4.选择VMware Workstation对应的版本号,点击Next,我使用的是VMware Workstation 8,所以选择了第一个!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392264028edFe.jpg)
5.选择操作系统的安装源,第一个选项表示从CD驱动器(G:)进行安装,第二个选项表示用光盘镜像文件(.iso)进行安装,第三个选项表示先创建一个空的虚拟机,稍后再安装操作系统,因为之前已经准备了Linux的光盘镜像文件,所以应该选择第二种方式,但是我习惯先建立一个空的虚拟机,等虚拟机建出来了再用镜像安装系统,所以我选择了第三个,然后点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392265930544z.jpg)
6.选择所要安装的操作系统和对应的版本,因为我准备的系统镜像是32位的,所以选择Linux里的CentOS,然后点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392266591XkJ6.jpg)
7.给虚拟机起个名字,默认名字是上一步选择的系统版本名,这里我就不换了,就叫CentOS,起名最好跟你安装的系统有联系,这样方便以后管理,点击Browse...可以更改虚拟机的存放路径,设定好以后点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_139226766921Bb.jpg)
8.选择处理器的个数和核心数,保持默认设置1,然后点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392267875r0K3.jpg)
9.设定虚拟机的内存大小,要根据自己计算机的实际情况而定,一般1G到2G左右就可以了,滑动左侧的游标或者在右侧手动输入即可,注意单位!我这里设定了3GB,1G=1024MB,所以输入3072,然后点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_13922685064E9p.jpg)
10.选择网络的连接类型,建议选择第一个桥接,具体每种类型的特点可以百度搜索一下,选定后点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_13922692574SuQ.jpg)
11.选择I/O控制器类型,保持默认设置,点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_139227051600D3.jpg)
12.选择磁盘,第一个选项是创建一个新的虚拟磁盘,第二个选项是使用一个已经存在的虚拟磁盘,第三个选项是使用一个物理磁盘,选择第一个Create a new virtual disk,然后点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392271455ka0R.jpg)
13.选择磁盘类型,保持默认设置,点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392271746BceP.jpg)
14.设定磁盘大小,默认是20GB,可根据个人情况进行调节,我这里设定了35GB,注意单位!Allocate all disk space now表示立刻分配这些磁盘空间到虚拟机,Store virtual disk as a single file表示用一个文件存储虚拟磁盘,Split virtual disk into multiple files表示用多个文件存储虚拟磁盘,由于我的磁盘空间有限,没有勾选立即分配, 选择多个文件储存有利于移植,根据个人情况选定后点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392274784nfXi.jpg)
15.保持默认,点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392275013I0Y5.jpg)
16.点击Finish完成创建!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_13922751341MJ6.jpg)
17.创建完虚拟机后,我们进行Linux操作系统的安装,在My Computer下拉列表中选择刚刚创建的虚拟机CentOS,然后点击CD/DVD(IDE) Auto detect挂载光盘镜像!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392275706mmqy.jpg)
18.选择Use ISO image file(使用ISO镜像文件),点击Browse...找到之前准备好的.iso文件,然后点击OK!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392276081gg22.jpg)
19.点击Power on this virtual machine(打开虚拟机电源)!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392276303ccYx.jpg)
20.进入帅气的启动界面
![技术分享](http://blog.itpub.net/kindeditor/plugins/emoticons/images/4.gif)
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392276530i2L2.jpg)
21.读取镜像成功!Welcome to CentOS 6.4!
![技术分享](http://blog.itpub.net/kindeditor/plugins/emoticons/images/42.gif)
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392276750eWfZ.jpg)
22.提示是否进行media test(媒介测试),选择Skip(跳过),然后按Enter键!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392277162HOdc.jpg)
23.点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392277386pT8a.jpg)
24.选择English(English),点击Next!当然,你也可以安装中文版的!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392277923Ph4h.jpg)
25.选择U.S.English,点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392278193hvHX.jpg)
26.选择Basic Storage Devices(基本存储设备),点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392278392s2a8.jpg)
27.保持默认选项,点击Yes,discard any data!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392278912PaNR.jpg)
28.设定主机名称,这里我保持默认,然后点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392279298NQqE.jpg)
29.在地图中选择Shanghai,点掉System clock uses UTC 前的对勾,然后点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_13922798838q3l.jpg)
30.设定root密码,然后点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392280039UHn6.jpg)
31.选择Create Custom Layout(创建自定义分区),点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392280316PcAF.jpg)
32.选择下拉列表中的Free,然后点击Create!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392280614hzBA.jpg)
33.在弹出的窗口中选择Standard Partition,然后点击Create!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392281018u5iO.jpg)
34.在新弹出的窗口中将Mount Point设置为/boot,Size(MB)设置为200,其它保持默认,然后点击OK!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392281327uo21.jpg)
35.再执行一遍32和33的步骤,在新弹出的窗口中不要设置Mount Point,将File System Type设置为swap,Size(MB)设置为6144(6GB)
,swap的大小一般是内存的2倍,根据个人情况来设置,因为我之前虚拟机的内存为3GB,所以swap的大小设置为6GB,然后点击OK!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_13922819343m48.jpg)
36.同样再执行一遍32和33的步骤,在新弹出的窗口中将Mount Point设置为/,在Additional Size Option中选择Fill to maximun allowable size,其它保持默认,然后点击OK!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392282381jiwm.jpg)
37.分区完毕以后,点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392282515hzCZ.jpg)
38.点击Format,进行格式化!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392282613Wkkw.jpg)
39.点击Write changes to disk写入磁盘!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_139228295511X1.jpg)
40.保持默认,点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_13922830570u75.jpg)
41.选择Customize now(现在定制),其它保持默认,然后点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392283229CjM7.jpg)
42.根据自己的需求,选择要安装的软件,然后点击Next!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392283406259p.jpg)
43.安装中,等待吧!!!
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_139228377304xl.jpg)
44.Congratulations! 安装成功啦,举杯庆祝一下!!!
![技术分享](http://blog.itpub.net/kindeditor/plugins/emoticons/images/57.gif)
![技术分享](http://blog.itpub.net/kindeditor/plugins/emoticons/images/57.gif)
![技术分享](http://blog.itpub.net/kindeditor/plugins/emoticons/images/57.gif)
![技术分享](http://blog.itpub.net/kindeditor/plugins/emoticons/images/57.gif)
![技术分享](http://blog.itpub.net/kindeditor/plugins/emoticons/images/57.gif)
![技术分享](http://blog.itpub.net/attachment/201402/13/29409386_1392285062sJYu.jpg)
45.重启后进入配置向导,Welcome!点击Forward!
![技术分享](http://blog.itpub.net/attachment/201402/14/29409386_1392342767ol6c.jpg)
46.选择Yes,I agree to the License Agreement!然后点击Forward!
![技术分享](http://blog.itpub.net/attachment/201402/14/29409386_1392343004dCCc.jpg)
47.创建一个用户,输入用户名和密码,然后点击Forward!
![技术分享](http://blog.itpub.net/attachment/201402/14/29409386_13923431168iBU.jpg)
48.由于我设置的密码不符合命名规则,所以提示我密码属于弱口令,太过简单,是否依然使用它,因为只做练习,所以我就不设置那么复杂的密码了,点击Yes,然后点击Forward!
![技术分享](http://blog.itpub.net/attachment/201402/14/29409386_13923434432X3C.jpg)
49.保持默认,点击Forward!
![技术分享](http://blog.itpub.net/attachment/201402/14/29409386_1392343534kFQZ.jpg)
50.Kdump是在系统崩溃、死锁或者死机的时候用来转储内存运行参数的一个工具,便于分析崩溃原因,如果你不想使用它,可以点掉对勾,然后点击Finish!
![技术分享](http://blog.itpub.net/attachment/201402/14/29409386_1392343888Ioi3.jpg)
51.由于我勾选了Enable kdump,系统要求重启,点击Yes,如果没有勾选,则不会有此提示!
![技术分享](http://blog.itpub.net/attachment/201402/14/29409386_1392344102V3HG.jpg)
52.再次提示现在就要重启,点击OK!
![技术分享](http://blog.itpub.net/attachment/201402/14/29409386_1392344187Ecwz.jpg)
53.重启以后进入登陆界面,我们用root用户登陆,点击Other...!
![技术分享](http://blog.itpub.net/attachment/201402/14/29409386_1392344451GUvg.jpg)
54.输入用户名,点击Log In!
![技术分享](http://blog.itpub.net/attachment/201402/14/29409386_1392344615oIWU.jpg)
55.输入密码,点击Log In!
![技术分享](http://blog.itpub.net/attachment/201402/14/29409386_1392344782bFfP.jpg)
56.提示root用户的安全性隐患,点击Close关闭即可,如果不想下次再提示就勾上Do not show me this again!
![技术分享](http://blog.itpub.net/attachment/201402/14/29409386_1392345334LL36.jpg)
57.登陆成功!点击右上角两台小电脑带一个红叉的图标,选择System eth0,然后就可以上网了!
![技术分享](http://blog.itpub.net/attachment/201402/14/29409386_1392346054EFYy.jpg)
58.右上角的红叉消失了,点击火狐浏览器的图标,输入网址,回车!页面加载成功!说明网络已连接!
![技术分享](http://blog.itpub.net/attachment/201402/14/29409386_1392346143425g.jpg)
至此,Linux就算安装完成了,鼓掌庆祝
![技术分享](http://blog.itpub.net/kindeditor/plugins/emoticons/images/42.gif)
![技术分享](http://blog.itpub.net/kindeditor/plugins/emoticons/images/42.gif)
![技术分享](http://blog.itpub.net/kindeditor/plugins/emoticons/images/42.gif)
http://blog.itpub.net/29409386/viewspace-1081287/
原文:http://www.cnblogs.com/sunscheung/p/4699200.html
内容总结
以上是互联网集市为您收集整理的VMware Workstation 8下安装Linux(CentOS 6.4)全部内容,希望文章能够帮你解决VMware Workstation 8下安装Linux(CentOS 6.4)所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。