如何安装Windows操作系统并为其配置IPv6地址
本文档涵盖了在虚拟机上安装Windows操作系统和配置IPv6地址以获得对虚拟机的远程访问的步骤。请注意,在开始安装之前,您应该确认拥有 Rapid Space 虚拟机,并且虚拟机的状态栏显示为绿色(正常运行)。此外,如果您想安装其他操作系统,请按照文档进行操作:如何安装操作系统
目录
- 在虚拟机上安装Windows操作系统
- 安装网络驱动程序
- 配置IPv6地址
- 获得对虚拟机的远程访问
在虚拟机上安装Windows操作系统
如果要安装 Windows,请将您要安装的Windows 操作系统安装映像发送给我们,我们将为您准备它。只要准备好了,您就可以从Rapid.Space控制台点击kvm0-url的内容连接到您的noVNC界面。
重新启动虚拟机
你应该重新启动你的虚拟机来安装新的操作系统。
- 点击底部按钮发送Ctrl-Alt-Del,虚拟机便会重启
- 当你看到屏幕上显示:按ESC为启动菜单,请立即发送Esc键
![](rapidspace-noVNC.buttons.to.restart.the.VM?format=)
- 选择启动设备:如下图所示,输入数字3进入Windows操作系统的安装指南
![](rapidspace-Select.Windows.in.Boot.Devices?format=)
你的Windows操作系统安装指南正在启动:
![](rapidspace-Screenshot.Installation.of.Windows.Loading.in.VM?format=)
![](rapidspace-Screenshot.Installation.of.Windows.Loading.in.VM.01?format=)
选择语言和其他偏好![](rapidspace-Windows.Installation.Set.Language?format=)
输入您的偏好后,您可以点击 "立即安装 (Install Now)"按钮开始安装。![](rapidspace-Windows.Installation.Install.Now?format=)
![](rapidspace-Windows.Installation.Setup.Is.Starting?format=)
收集信息
这里我们以Windows Server 2019标准评估版(桌面)为例。在Windows图形环境下,我们只需简单的点击几下就能配置IPv6地址。![](rapidspace-Windows.Installation.Select.OS.to.Install?format=)
要继续执行程序,你应该接受许可条款,然后进入 "下一步(Next)"。![](rapidspace-Windows.Installation.Accept.License.Terms?format=)
因为这是一个全新的操作系统,所以选择 "自定义:仅安装Windows(高级) [Custom: Install Windows Only (advanced)]"
![](rapidspace-Windows.Installation.Custom.Install.Windows.Only?format=)
点击“加载驱动程序(Load driver)”,加载安装网络的驱动程序:![](rapidspace-Windows.Installation.Load.Driver.Before.Installation?format=)
按 "OK "以继续:
![](rapidspace-Windows.Installation.Load.Driver.Notification.01?format=)
现在你可以选择驱动列表了。在这里,我们选择第一个作为默认值,然后进入下一步(Next)。
![](rapidspace-Windows.Installation.Select.Driver.to.Install?format=)
![](rapidspace-Windows.Installation.Select.Driver.Go.Next?format=)
驱动程序安装后,你可以选择你想在虚拟机上安装Windows的位置。这里我们只剩下一个驱动器,所以我们只需选择这个驱动器,然后进入下一步 (Next)。
![](rapidspace-Windows.Installation.Select.Drive.to.Install.Windows?format=)
安装Windows
![](rapidspace-Windows.Installation.Installing.status?format=)
等到这一过程完成后,按 "重启(Restart) "键即可获得新的Windows操作系统:
![](rapidspace-Windows.Installation.Restarting.in.10.Seconds?format=)
![](rapidspace-Windows.Installation.Windows.Getting.Ready?format=)
设置你的管理员密码来登录你的Windows:
![](rapidspace-Windows.Installation.Customize.Settings.of.Password?format=)
![](rapidspace-Windows.Installation.Applying.User.Settings?format=)
安装网络驱动程序
登录Windows时,会自动启动服务器管理器(Server Manager)。暂时不用理会它。![](rapidspace-Windows.Installation.After.Login.to.Windows?format=)
点击菜单中的开始Start(左下角的窗口)和设置(Settings),进入Windows设置页面(Windows Settings)。在搜索栏中输入关键字 "设备管理器(Device Manager)",然后点击如图红色矩形中的内容。![](rapidspace-Windows.Installation.Search.Device.Manager?format=)
在 "设备管理器 (Device Manager)"中,你会发现在 "其他设备(Other devices) "里有两个以太网控制器(Ethernet Controller),这意味着它们还没有正确配置。因此,我们将更新驱动程序。
![](rapidspace-Windows.Installation.Ethernet.Controllers.in.Device.Manager?format=)
我们将按以下步骤逐一更新这两个控制器。
双击或右击设备,打开属性对话框,按照红色的矩形的演示进行操作。
![](rapidspace-Windows.Installation.Ethernet.Update.Driver?format=)
通过浏览搜索驱动程序:
![](rapidspace-Windows.Installation.Browse.Computer.for.Driver.Software.01?format=)
![](rapidspace-Windows.Installation.Browse.Computer.for.Driver.Software.02?format=)
![](rapidspace-Windows.Installation.Browse.for.Folder?format=)
![](rapidspace-Windows.Installation.Searching.Folder.for.Drivers?format=)
安装设备软件:
![](rapidspace-Windows.Installation.Install.Device.Software.Notification.01?format=)
是(Yes),然后关闭(Close)对话框![](rapidspace-Windows.Installation.Install.Device.Software.Notification.02?format=)
对其他以太网控制器(Ethernet Controller)进行同样的操作,直到设备正常工作(the devices are working properly)。现在您已经成功地为您的Windows配置了网络驱动程序。![](rapidspace-Windows.Installation.Ethernet.Adapter.Working.Properly?format=)
配置IPv6地址
首先,我们应该再次进入Windows设置(Windows Settings),进入到网络和互联网(Network & Internet):![](rapidspace-Windows.Installation.Windows.Settings.Panel?format=)
以太网(Ethernet )-> 更改适配器选项(Change adapter options)
![](rapidspace-Windows.Installation.Windows.Settings.Ethernet?format=)
它将引导你进入网络连接(Network Connection )对话框。我们已经安装了两个以太网适配器(Ethernet Adapters )。为了配置IPv6地址,我们应该配置不明身份的网络以太网2(Unidentified network Ethernet 2)(双击进入对话框)。
![](rapidspace-Windows.Installation.Network.Connections.Ethernet.2?format=)
如你所见,没有收到数据包。要启用它,我们应该设置属性。![](rapidspace-Windows.Installation.Network.Connections.Ethernet.2.Status?format=)
![](rapidspace-Windows.Installation.Network.Connections.Ethernet.2.Properties?format=)
在Internet协议版本6(TCP/IPv6)【Internet Protocol Version 6 (TCP/IPv6) 】属性对话框中,需要从Rapid.Space控制台的连接参数(Connection Parameters)中输入IPv6地址。
![](rapidspace-Windows.Installation.Network.Connections.IPv6.Properties?format=)
是(Yes)并关闭(Close)对话框:
![](rapidspace-Windows.Installation.Network.Connections.Notification?format=)
现在发送和接收字节的活动正常了:
![](rapidspace-Windows.Installation.Network.Connections.Status.Normal?format=)
要验证IPv6是否可以使用,可以打开命令行(Command)并输入:
ping -6 baidu.com
如果你有类似的输出,说明你的Windows已经配备了IPv6地址。![](rapidspace-Windows.Installation.Test.IPv6.Address?format=)
获得对虚拟机的远程访问
虽然你现在可以从你的Windows服务器ping到其他IPv6地址,但你还不能从其他电脑通过IPv6地址ping到你的Windows。因此,我们需要配置一下防火墙(Firewall)。
像往常一样,让我们进入设置(Setting)->网络与互联网(Network & Internet )->以太网(Ethernet)->Windows防火墙(Windows Firewall):
![](rapidspace-Windows.Installation.Network.Settings.Firewall?format=)
点击 "高级设置(Advanced settings)":
![](rapidspace-Windows.Installation.Network.Settings.Firewall.Advanced.Setting?format=)
入站规则(Inbound Rules ) -> 文件和打印机共享(Echo Request - ICMPv6-In)【File and Printer Sharing(Echo Request - ICMPv6-In)】
![](rapidspace-Windows.Installation.Network.Settings.Firewall.Rules?format=)
点击“文件和打印机共享(Echo Request - ICMPv6-In)【File and Printer Sharing(Echo Request - ICMPv6-In)】”,右边栏有一个“启用规则(Enable Rule)”的操作按钮,点击它可以快速启用规则,也可以打开它的属性,像截图那样勾选启用(Enable):
![](rapidspace-Windows.Installation.Network.Settings.Firewall.Enable.Rules?format=)
![](rapidspace-Windows.Installation.Network.Settings.Firewall.Disable.Rules?format=)
现在我们可以回到服务器管理器(Server Manager)
本地服务器(Local Server) -> 远程桌面(Remote Desktop)。有可能远程桌面(Remote Desktop)仍然是禁用(Disabled)。
![](rapidspace-Windows.Installation.Remote.Desktop.Status?format=)
点击 "禁用(Disable)"进入属性对话框,按以下方式手动启用:
![](rapidspace-Windows.Installation.Remote.Desktop.Enabled?format=)
现在你可以在任何地方ping到你的Windows。如果你想使用远程图形化的Windows,像远程桌面8这样的应用程序可以帮助你。下面是一个例子:
- 点击右上角的 "+",然后选择桌面(Desktop)
![](rapidspace-Windows.Installation.Remote.Desktop.App?format=)
- 将Rapid.Space 控制台的IPv6地址复制到PC name
![](rapidspace-Windows.Installation.Remote.Desktop.App.Add.Desktop?format=)
- 在 "用户名(User Name)"中选择 "添加用户账户(Add User Account )"选项,输入你为Windows配置的用户名和密码:
![](rapidspace-Windows.Installation.Remote.Desktop.App.Add.User.Account?format=)
- 保存你所添加的桌面:
![](rapidspace-Windows.Installation.Remote.Desktop.App.Save?format=)
- 现在,你可以远程进入你的Windows,并顺利使用它:
![](rapidspace-Windows.Installation.Remote.Desktop.App.Desktop.Added?format=)
![](rapidspace-Windows.Installation.Remote.Desktop.App. Windows.Desktop?format=)