在Windows 2008 Server Core模式下安装和管理Hyper-V

简介:
+关注继续查看
Windows 2008 Server Core模式下安装和管理Hyper-V
 
 
如何在Server Core模式下安装Hyper-V,安装分两步: 

1.
 首先需要在Server Core使用bcdedit更改启动的配置,运行以下的命令:
 
bcdedit /set hypervisorlaunchtype auto 
注意:如果以前没有配置过这个设置,当运行以上的命令后,Server Core需要重新启动。
 

2. 
然后请您使用以下的命令来安装
Hyper-V 
start /w OCSetup Microsoft-Hyper-V 
等命令结束的时候,重新启动这台Server Core来完成安装, Hyper-V需要重新启动才能完成安装。然后使用oclist命令来查看是不是Hyper-V这个角色已经被安装好了。
 

因为Hyper-V无法在命令行下面进行虚拟机的创建和管理。所以在Server Core服务器中安装完Hyper-V后,需要用另外的一台装有Hyper-V管理界面的Windows 2008服务器或者是有装好Hyper-V ManagerVista SP1的机器来创建和管理虚拟机。
 
如何能够让外面服务器管理Hyper-V,需要在Server Core上做一些额外的操作。 

a. 
使用以下的命令在Server Core上启用远程管理,:
 
netsh advfirewall firewall set rule group="Remote Administration" new enable=yes 

b.
用以下的命令启用远程桌面 
cscript \windows\system32\scregedit.wsf /ar 0 
cscript \windows\system32\scregedit.wsf /
cs 0 

c. 
用以下的命令来重新启动Server Core机器让这些配置生效 
shutdown /t 0 /r 

以下是一些在Server Core模式下安装Hyper-V的资料供参考: 
Hyper-V on Server Core 
[url]http://blogs.technet.com/tonyso/archive/2008/07/16/hyper-v-on-server-core.aspx[/url]
  

How to add the Hyper-V role to a Windows Server 2008 Server Core machine 
[url]http://blogs.technet.com/jhoward/archive/2008/03/30/how-to-add-the-hyper-v-role-to-a-windows-server-2008-server-core-machine.aspx[/url]
 









本文转自 kingkui 51CTO博客,原文链接:http://blog.51cto.com/yinkui/104103,如需转载请自行联系原作者

目录
相关文章
|
19天前
|
消息中间件 数据安全/隐私保护 Windows
windows下RabbitMQ安装后,无法进入web管理页面问题
windows下RabbitMQ安装后,无法进入web管理页面问题
15 0
|
20天前
|
消息中间件 数据安全/隐私保护 Windows
windows下RabbitMQ安装后,无法进入web管理页面问题
windows下RabbitMQ安装后,无法进入web管理页面问题
14 1
|
1月前
|
运维 安全 Linux
企业实战(18)超简单实现轻量级开源堡垒机Teleport管理Linux/Windows主机(2)
企业实战(18)超简单实现轻量级开源堡垒机Teleport管理Linux/Windows主机(2)
|
2月前
|
网络安全 Windows
国内外常见Windows管理组(附案例)
国内外常见Windows管理组(附案例)
22 0
|
2月前
|
Windows
Windows用户、组的管理
Windows用户、组的管理
20 0
|
6月前
|
Linux Windows
为了做好 Windows「窗口管理」,我改造了一个软件……(二)
这些年来,「大屏就是生产力」的观念深入人心,越来越多的用户开始使用大尺寸屏幕以及多显示器,但有效利用屏幕面积、快捷操作应用窗口还需要软件辅助。
111 0
|
6月前
|
Linux UED iOS开发
为了做好 Windows「窗口管理」,我改造了一个软件……(一)
这些年来,「大屏就是生产力」的观念深入人心,越来越多的用户开始使用大尺寸屏幕以及多显示器,但有效利用屏幕面积、快捷操作应用窗口还需要软件辅助。
106 0
|
6月前
|
Ubuntu 网络安全 Windows
Ansible 管理windows
Ansible 管理windows
|
安全 程序员 Windows
你真的会管理你的Windows 10吗?
你真的会管理你的Windows 10吗?
67 0
你真的会管理你的Windows 10吗?
|
安全 程序员 Windows
win11 即将来临 —— 你真的会管理你的Windows 10吗?
win11 即将来临 —— 你真的会管理你的Windows 10吗?
win11 即将来临 —— 你真的会管理你的Windows 10吗?
推荐文章
更多