文章目录
linux中安装Windows虚拟机(使用VMware player)
参考网址:
【1】 VMware player官方下载网址1
一、下载和安装VMware
选择官方网址进行下载,VMware提供个人免费版本,足够个人使用了。
中文官方下载网址:
【1】 https://www.vmware.com/cn/products/workstation-player/workstation-player-evaluation.html
二、启动和配置VMware player
2.1 在Linux主机上安装VMware player
参考VMware的说明文档【中文】
【3】https://docs.vmware.com/cn/VMware-Workstation-Player-for-Linux/16.0/com.vmware.player.linux.using.doc/GUID-EF47210D-79E3-4635-AEDE-E5709FEE25B7.html
-
使用你打算使用Workstation Player的用户名登陆
-
获取root权限
su root
-
将目录切换到包含Workstation Player安装程序文件的目录
-
运行Workstation Player安装程序
sh VMware-Player-e.x.p-xxxx-xxxx.architecture.bundle --[option]
xxxx-xxxx 为版本号和内部版本号, 体系结构为 i386 或 x86_64, 选项为命令行选项
【4】命令选项
-
接受许可证
-
按照提示安装
2.2 启动VMplayer
Commond命令键入:
vmplayer
2.3 从官方下载Windows镜像(.iso)文件
【5】https://www.microsoft.com/zh-cn/software-download/windows10ISO
2.4 在VMplayer中新建一个虚拟机,使用上面下载的镜像作为CD
三、安装VMware tools
如果不安装VMware tools会导致虚拟机显示不全(不能全屏显示)等问题。
我找了很多解决方法,但是都faild了,最后自己尝试以下方法成功了:
- 点击File->Player Preferences ->Download All components now。(我认为此时VMware tools是已经下载好了的)
- 然后重启虚拟机(我更狠,我重建了一个虚拟机尝试的),然后发现成功了!