实验环境: 物理机Windows 2008 R2
Ubuntu版本: ubuntu-15.04-server-amd64.iso

废话不多说直接上图,有注意的地方会说明一下,默认回车为下一步。(英文画面不过多解释,需要的自己翻译)


安装好Hyper-V后新建虚拟机

wKioL1mPPo-w4uteAAAeld1SWeo496.png-wh_50

wKiom1mPPo-BLbmhAAAbYZfak6Q588.png-wh_50

wKioL1mPPpCTuXUzAAAhPy8t-Nc459.png-wh_50

wKiom1mPPpCTehadAACZv1DBOvw302.png-wh_50

wKiom1mPPpHAHZ4oAAAWbN6BQiQ337.png-wh_50


创建虚拟硬盘

wKioL1mPPpHhFS32AAAfSiVp6NM518.png-wh_50


选择Ubuntu 安装包的iso文件,这里使用的版本是:ubuntu-15.04-server-amd64.iso

wKiom1mPPpHyPIOEAAAeqDzxdSM920.png-wh_50

wKioL1mPPpKBug-8AAAdtEmmkMg983.png-wh_50


选择英文开始安装(测试过在Hyper-V下中文安装不上)

wKiom1mPPpLhOVn2AAAxaTDZTEs736.png-wh_50

wKioL1mPPpOBejgpAAAhZHbx1aU709.png-wh_50

基本上是默认按“回车”

wKiom1mPPpOgdQKpAAAmKJ71BLI245.png-wh_50

wKioL1mPPpPxmyW7AAAhmn5R2tM619.png-wh_50

wKiom1mPPpSRNJTnAAAWY6D9C4I223.png-wh_50

wKioL1mPPpTBXDoXAAAg-XNtTT8704.png-wh_50

wKioL1mPPpWTuphwAAAk6_w9U6U967.png-wh_50

wKiom1mPPpXRAAMpAAAQUBjiwTY645.png-wh_50

wKioL1mPPpXwi8hHAACGoewh5n0650.png-wh_50


选择手动连接网络

wKiom1mPPpaT4FPIAAAeaX-9N2E929.png-wh_50


输入IP地址

wKioL1mPPpbQnonxAAAb48dyv5Q029.png-wh_50


掩码

wKiom1mPPpfBDcz7AAAVVrvMYO0095.png-wh_50

网关

wKioL1mPPpezhu5qAAAbKawnLAQ008.png-wh_50

NameServer即DNS地址

wKiom1mPPpfw-nNVAAAZy_ZsuYA490.png-wh_50


主机名

wKiom1mPPpiRrT-EAAAXGZoGvm4321.png-wh_50

域名

wKioL1mPPpjQ9AryAAAXMeAxLYI905.png-wh_50


昵称

wKiom1mPPpnyotKrAAAZ_qVleik836.png-wh_50


登录帐号

wKioL1mPPpnzbONDAAAWPmJV5HM083.png-wh_50

密码

wKioL1mPPpmCWSEUAAATmcxnnEo935.png-wh_50

确认密码

wKiom1mPPpqzAbkMAAAS2bGje2Y082.png-wh_50

wKiom1mPPprz2YqBAAAUOS3IENo293.png-wh_50


不加密

wKioL1mPPprBhbXaAAAYeHIlYvs032.png-wh_50

wKiom1mPPtDxnRrnAAAPZDKBQOc331.png-wh_50

wKioL1mPPtHgA6gSAAAUbfT8qCQ930.png-wh_50


这里选择手动创建磁盘

wKioL1mPPtGi0fZlAAAa36qlM70076.png-wh_50

wKioL1mPPtGDwWKyAAAah19WrA0356.png-wh_50

wKiom1mPPtLh8l7-AAAWTCbcBRM349.png-wh_50

wKiom1mPPtKzBSbSAAAdnd0eN84077.png-wh_50

wKioL1mPPtLi-rwEAAAS0CeqM7o854.png-wh_50

wKiom1mPPtOyB71wAAAUtDZ6BhI304.png-wh_50

wKioL1mPPtPABmmUAAAQy-p5504711.png-wh_50

wKiom1mPPtPxvpLrAAAZrIU09KE188.png-wh_50

wKioL1mPPtTRosKDAAAdrx0TOLQ258.png-wh_50

wKioL1mPPtTzFr-PAAAcOT8E_EY104.png-wh_50

wKiom1mPPtWQ_JtfAAAY1inNqmo228.png-wh_50

wKioL1mPPtWCvrOSAAAPTcFr3nU184.png-wh_50


根据自己情况是否需要http代理

wKiom1mPPtaBgH9DAAAXYTS-xC0706.png-wh_50

wKioL1mPPtaCWQJ8AAAOTnVIY7I855.png-wh_50


不更新

wKiom1mPPtbDvltFAAAd8djcJwU568.png-wh_50


选择你需要安装的服务

wKiom1mPPteSYjYfAAB-EIuPz7M736.png-wh_50

wKioL1mPPtfx1PEjAAAOYr-Vw3U032.png-wh_50

wKioL1mPPtiyAl1XAAAdNPmUs2o794.png-wh_50

经过漫长的等待安装完成

wKiom1mPPtiwPa2IAAAXx0TFf4U670.png-wh_50


root的密码是随机的,需要重置一下

wKioL1mPPtnzP9y4AAANiow-ouo235.png-wh_50


重新启动系统,选择“Advanced options for Ubuntu”

wKiom1mPPtmgo5lcAAAXAxDyvPY346.png-wh_50


选择revocery mode

wKioL1mPPtmz0bSWAAAXo5mAnvI627.png-wh_50


root Drop to root shell prompt

wKiom1mPPtqCCkMOAAAJPduATWU373.png-wh_50


在下面命令行输入如下命令:

~# mount -o rw,remount / 

~# passwd root

输入两次密码

然后重启,修改完成

wKioL1mPPtrDIz6vAAAENQR7VtM199.png-wh_50


登录系统,尽情畅享吧!

~# lsb_release -a 是查看系统版本命令

wKiom1mPPtrSz0ULAAATRReCYoM097.png-wh_50