Server 2008 R2 Hyper-V安裝Ubuntu(linux)
阿新 • • 發佈:2017-08-14
hyper-v 安裝ubuntu 重置root密碼
實驗環境: 物理機Windows 2008 R2
Ubuntu版本: ubuntu-15.04-server-amd64.iso
廢話不多說直接上圖,有註意的地方會說明一下,默認回車為下一步。(英文畫面不過多解釋,需要的自己翻譯)
安裝好Hyper-V後新建虛擬機
創建虛擬硬盤
選擇Ubuntu 安裝包的iso文件,這裏使用的版本是:ubuntu-15.04-server-amd64.iso
選擇英文開始安裝(測試過在Hyper-V下中文安裝不上)
基本上是默認按“回車”
選擇手動連接網絡
輸入IP地址
掩碼
網關
NameServer即DNS地址
主機名
域名
昵稱
登錄帳號
密碼
確認密碼
不加密
這裏選擇手動創建磁盤
根據自己情況是否需要http代理
不更新
選擇你需要安裝的服務
經過漫長的等待安裝完成
root的密碼是隨機的,需要重置一下
重新啟動系統,選擇“Advanced options for Ubuntu”
選擇revocery mode
root Drop to root shell prompt
在下面命令行輸入如下命令:
~# mount -o rw,remount /
~# passwd root
輸入兩次密碼
然後重啟,修改完成
登錄系統,盡情暢享吧!
~# lsb_release -a 是查看系統版本命令
本文出自 “思微技術” 博客,請務必保留此出處http://2686716.blog.51cto.com/2676716/1955951
Server 2008 R2 Hyper-V安裝Ubuntu(linux)