在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,如需转载请自行联系原作者

目录
相关文章
|
7天前
|
Linux 虚拟化 Docker
Windows12安装Docker
Windows12安装Docker
35 2
|
1月前
|
安全 数据安全/隐私保护 Windows
解锁安全之门,Windows Server 2019密码修改攻略大揭秘
解锁安全之门,Windows Server 2019密码修改攻略大揭秘
|
24天前
|
安全 Windows
安装MyEclipse遇到错误提示 Failed to find a Main Class in “C:Windows\Temp\“时的解决方案
安装MyEclipse遇到错误提示 Failed to find a Main Class in “C:Windows\Temp\“时的解决方案
25 1
|
2天前
|
SQL 数据管理 关系型数据库
如何在 Windows 上安装 SQL Server,保姆级教程来了!
在Windows上安装SQL Server的详细步骤包括:从官方下载安装程序(如Developer版),选择自定义安装,指定安装位置(非C盘),接受许可条款,选中Microsoft更新,忽略警告,取消“适用于SQL Server的Azure”选项,仅勾选必要功能(不包括Analysis Services)并更改实例目录至非C盘,选择默认实例和Windows身份验证模式,添加当前用户,最后点击安装并等待完成。安装成功后关闭窗口。后续文章将介绍SSMS的安装。
6 0
|
3天前
|
5G Python
Windows11搭建Python环境(Anaconda安装与使用)
Windows11搭建Python环境(Anaconda安装与使用)
18 0
|
3天前
|
关系型数据库 MySQL Windows
windows安装MySQL5.7教程
windows安装MySQL5.7教程
13 0
|
3天前
|
人工智能 安全 机器人
AI电销机器人系统源码部署:freeswitch安装Windows
在Windows上安装FreeSWITCH:访问官网下载安装程序,运行并按提示安装;选择安装路径和组件;等待安装完成;配置FreeSWITCH,修改设置;启动服务;测试其功能;如遇问题,参考官方文档或进行调试故障排除。记得定期更新维护以保证稳定安全。
|
7天前
|
网络协议 安全 测试技术
Windows安装禅道系统结合Cpolar实现公网访问内网BUG管理服务
Windows安装禅道系统结合Cpolar实现公网访问内网BUG管理服务
|
1月前
|
Linux 数据安全/隐私保护 Docker
linux和windows中安装emqx消息服务器
linux和windows中安装emqx消息服务器
41 0
|
1月前
|
物联网 Windows
安装windows 10操作系统
安装windows 10操作系统
48 1