一、下载并安装vmware workstation pro 12
二、下载CentOS6.5镜像文件
三、创建虚拟机并命名为hadoop001
1、 在VM12中选择创建新虚拟机

2、自定义高级

3、默认下一步

4、选择稍后安装操作系统

5、选择Linux,CentOS 64位操作系统

6、设置虚拟机名称,这里设置为 “hadoop001”,设置虚拟机文件存放位置,这里设置为“F:\VM\hadoop001”

7、设置虚拟机CPU数量

8、设置虚拟机内存,这里设置为1024M

9、设置网络连接方式,这里设置为NAT方式

10、默认下一步

11、默认下一步

12、创建新的虚拟磁盘

13、设置虚拟磁盘大小为30G,并设置将虚拟磁盘拆分成多个文件

14、默认下一步

15、完成创建

四、设置虚拟机镜像文件
1、编辑虚拟机设置,设置ISO镜像文件位置

五、启动虚拟机安装CentOS6.5
1、开启虚拟机
2、选择“Install or upgrade an existing system",安装或升级已存在的系统。

3、是否对CD媒体进行测试,选择“skip” 跳过

4、下一步

5、选择语言,这里选择“English(English)”,英语。

6、选择键盘,默认,下一步

7、选择安装设备,选择“Basic Storage Devices”,基本存储设备

8、选择“Yes,Discard any data”,“是,忽略所有数据”,下一步

9、设置主机名,这里默认,下一步。

10、选择时区,选择Asia/ShangHai

11、设置管理员root密码

12、这里提示密码过于简单,选择“Use Anyway”,忽略

13、选择安装类型,选择“Create Custom Layout”,创建自定义布局。

14、这里显示目前空闲控件为30718MB,点击”Create“创建分区

15、选择“Standard Partition”,标准分区

16、创建第一个挂载点:/boot,大小:200MB,文件系统类型:ext4

17、继续创建分区,点击“Create”
18、同样选择“Standard Partition”,标准分区
19、创建swap分区,大小:2048MB

20、继续创建/分区,点击“Create”
21、同样选择“Standard Partition”,标准分区
22、创建根目录“/”、大小:选中全部可用空间、文件类型:ext4

23、分区后空间分布情况下图所示,下一步

24、选择"Format",格式化

25、选择“Write changes to disk”,将更改写入到磁盘中

26、下一步

27、选择“Desktop”桌面,选中“Customize Now”,现在自定义

28、选择需要的安装程序,下一步

29、正在安装
30、点击“Reboot”,重启系统

31、启动后输入用户名和密码登陆系统
网友评论