前言
这里仅介绍Windows环境下使用虚拟机的方式搭建Linux环境。
笔者的电脑是Y430P
系统:Windows 8.1中文版
处理器:Intel(R) Core(TM) i7-4710MQ CPU @ 2.5GHz 2.50GHz
RAM:8GB
系统类型:64位操作系统,基于x64的处理器
安装好VM后的界面(Ubuntu是已经搭建好的环境,VM安装完是没有的,需要自行配置,往下走...)

点击新建,选择专家模式:
虚拟电脑名称和系统类型:
名称(N):自己取一个就行了
类型(T):Linux
类型(版本):Ubuntu (64-bit),这里在输入名字时如叫Ubuntu它会自动选择
内存大小(M):取电脑的内存的一半即可,这里是4G,(配置高可以更大,加快运行速度,编译会更快)

新建虚拟电脑,设置参数
点击创建:
设置VDI磁盘镜像:这里创建的是60G的虚拟硬盘,选择固定大小(编译完还有8G左右)。这需要等待一段时间,静等虚拟硬盘安装完毕。


创建结束后点击启动,选择启动盘(选择下载好的Linux镜像)启动即可:
如提示:VT-x is disabled in the BIOS for both all CPU modes (VERR_VMX_MSR_ALL_VMX_DI....
需要打开虚拟机进入系统BOIS将Intel Virtual Technology Enabled 设置为开启状态。这里有介绍https://zhidao.baidu.com/question/1895563807151462300.html

安装Ubuntu 这里选择的是中文







等待安装...



安装完毕
网友评论