- Hadoop大数据分析技术
- 迟殿委 陈鹏程主编
- 410字
- 2023-07-17 19:53:51
1.4 虚拟机安装
本书将选择使用VirtualBox作为虚拟环境安装Linux和Hadoop。VirtualBox最早由SUN公司开发。由于SUN公司目前已经被Oracle收购,所以可以在Oracle公司的官方网站上下载到VirtualBox虚拟机软件的安装程序,下载地址为https://www.virtualbox.org。到笔者写作本书时,VirtualBox的最新版本为6.1.8。请访问VritualBox的官方网站,下载Windows Host版本的VirtualBox,其官方地址为https://www.virtualbox.org/wiki/Downloads,如图1-6所示。
同时,由于VitualBox需要虚拟化CPU的支持,如果在安装操作系统时,不支持虚拟化安装x64位的CentOS,可以在宿主机开机时按F12进入宿主机的BIOS设置,并打开CPU的虚拟化设置。
打开CPU的虚拟化设备,如图1-7所示。

图1-6 VirtualBox下载地址

图1-7 CPU虚拟化设备
读者下载完成VirtualBox虚拟机后,自行安装即可。虚拟机的安装相对比较简单,以下是重要环节截图。
网络组件安装,直接单击“是”按钮,如图1-8所示。
网络组件安装,直接单击“安装”按钮,如图1-9所示。

图1-8 网络组件安装

图1-9 网络组件安装
网络组件安装成功后,会在操作系统的“我的网络”中多出一个Virtual Box Host Only的本地网卡,此网卡用于宿主机与虚拟机通信,如图1-10所示。

图1-10 本地网卡