字幕列表 影片播放
Hi, in this video we're going to show you how to create a VM or virtual machine using Microsoft's Hyper-V virtualization platform.
嗨,在本視頻中,我們將向你展示如何使用微軟的 Hyper-V 虛擬化平臺創建 VM 或虛擬機。
Now this you could install on Windows servers and also if you have Windows 10, if you have professional or enterprise edition, so on, you could install it on that and that's what actually what we're running.
現在,你可以將其安裝在 Windows 服務器上,如果你有 Windows 10,如果你有專業版或企業版等,你也可以將其安裝在上面,這就是我們正在運行的系統。
So once you install the role, you go into your Hyper-V manager and you should have your local computer there.
安裝角色後,進入 Hyper-V 管理器,就會看到在地計算機。
If not, you can right click and connect to server and pick your server.
如果沒有,您可以右鍵單擊並連接到服務器,然後選擇您的服務器。
But for us, we have it there.
但對我們來說,我們擁有它。
So to make a new VM, we do the right click on our server and go new virtual machine or we could go new virtual machine here.
要創建新虛擬機,我們可以右鍵單擊服務器,然後新建虛擬機,或者在這裡新建虛擬機。
And then next, let's do another Windows 10.
接下來,我們再來看看 Windows 10。
So we'll call this Windows 10.
是以,我們稱之為 Windows 10。
So now, for us, since we don't want to install it on our C drive, because we don't have enough room, we're going to browse to where we have our other virtual machine files located.
現在,對我們來說,由於沒有足夠的空間,我們不想把它安裝在 C 盤上,所以我們要瀏覽其他虛擬機文件所在的位置。
And that's on the D drive under Hyper-V VMs.
這是在 Hyper-V 虛擬機下的 D 盤上。
So that's what we want and we'll select folder.
這就是我們想要的,我們將選擇文件夾。
There it is there.
就在那兒。
You could also type it in if you like.
如果您願意,也可以輸入。
Next and then for the generation, generation 1 or generation 2, since we're using newer version of Windows and it's only 64-bit, we're going to click this option to get the best features.
由於我們使用的是較新版本的 Windows,而且只有 64 位,我們將點擊該選項以獲得最佳功能。
If you're using like Windows XP, you know, or like an older version of Linux or some 32-bit operating system, you could pick that.
如果你使用的是 Windows XP 或舊版本的 Linux 或其他 32 位作業系統,你可以選擇它們。
Click next.
點擊下一步。
For memory, this is how much RAM you want to give it.
對於內存來說,這是你想要給它的內存容量。
It kind of picks something by default there, which is usually not enough.
它會默認選擇一些東西,但這通常是不夠的。
But since we're only going to do this for demonstration purposes, we'll leave it at this one gig.
不過,既然我們只是為了演示,那就只做這一場演出吧。
And if you choose this option, when you boot up the computer, it'll allocate memory as needed.
如果你選擇了這個選項,當你啟動電腦時,它會根據需要分配內存。
So if it needs some more RAM, it'll start using it on its own over what you give it here.
是以,如果它需要更多內存,它就會開始自行使用,而不是你在這裡給它的內存。
So it's up to you to decide if you want to do that.
是以,是否要這樣做取決於你自己。
If you have the physical memory in your computer to spare, you can always turn this off later.
如果你的電腦有足夠的物理內存,你可以稍後再關閉它。
So we'll just leave that on for now.
是以,我們暫時不使用它。
And then you need to connect to a network adapter by default.
默認情況下,您需要連接到網絡適配器。
There's a default switch there, but if you play with the networking and add other switches, you'll have them listed here in dropdown.
這裡有一個默認交換機,但如果你使用聯網功能並添加其他交換機,就會在下拉菜單中看到它們。
So we'll click the default switch.
是以,我們將點擊默認開關。
And so here's the name of our hard drive.
這就是我們硬盤的名字。
Here's the location of our virtual disk.
這是虛擬磁盤的位置。
And then for the size, it recommends a size for you.
然後是尺寸,它會推薦適合你的尺寸。
We'll just do 25, just to keep it small.
我們只做 25 個,保持小規模。
And if you have another existing virtual hard drive, you could connect to it by clicking this option and browsing to it.
如果你有另一個現有的虛擬硬盤驅動器,你可以點擊該選項並瀏覽到它。
Or if you don't want to add a virtual hard disk, you could skip it and then add one later on.
或者,如果不想添加虛擬硬盤,也可以跳過這個步驟,稍後再添加。
But of course, you're going to have to add one to install Windows or whatever operating system on there.
當然,你還必須添加一個安裝 Windows 或其他作業系統的程序。
So we'll go with the create the virtual hard disk option now.
是以,我們現在選擇創建虛擬硬盤。
And then for the operating system, either do it later, or in our case, we're going to browse to an ISO file for a Windows 10 installation.
然後,對於作業系統,可以稍後再做,或者在我們的情況下,我們將瀏覽到一個安裝 Windows 10 的 ISO 文件。
And there it is there.
它就在那裡。
Or if you have a network-based installation server, which has images on there, you could use that option.
或者,如果你有一個基於網絡的安裝服務器,上面有影像,你也可以使用這個選項。
Okay, so we're going to click on next.
好的,我們點擊下一步。
And here's our summary.
以下是我們的總結。
The name, the generation, how much RAM, what network switch we're connecting to, the hard disk and where it's located, and what we're doing for the operating system.
名稱、世代、內存容量、連接的網絡交換機、硬盤及其位置,以及作業系統。
So we'll just click on finish.
是以,我們只需點擊 "完成"。
It's creating the virtual machine and doing all the configuration.
它正在創建虛擬機並進行所有配置。
And now as you can see, we have it here.
現在,正如你們所見,我們在這裡找到了它。
So now we're going to connect to it.
現在我們要連接到它。
And then start it.
然後啟動它。
And then press any key to boot to CD.
然後按任意鍵啟動 CD。
And there you go.
這就對了。
We'll just go through your Windows installation like normal.
我們將像往常一樣進行 Windows 安裝。
One thing I've noticed, if you're not fast enough pressing any key to boot from Windows, it'll try and use a boot method.
我注意到一件事,如果你按任何鍵啟動 Windows 的速度不夠快,它會嘗試使用一種啟動方式。
So you just have to come up here and do Control-Alt-Delete while you have the console screen here.
是以,你只需在控制檯螢幕上點擊 Control-Alt-Delete 即可。
And then that way you can reset it and then press the key to boot from the CD.
這樣你就可以重置它,然後按鍵從 CD 啟動。
So other than that, you just go through your installation.
除此之外,你只需進行安裝。
And then when you're done, you'll have another one here.
等你吃完了,這裡還有一個。
And then you can just turn it on and off and use it just like any other one of your VMs.
然後,你就可以像使用其他虛擬機一樣打開或關閉它。
Okay, that's it.
好吧,就這樣。
Thanks for watching.
感謝觀看。