阿伟教学--VMWare装Mac

                                                                       简单易懂——虚拟机装Mac

     这是我第一次写关于这种新鲜的好玩的东西,后续也会介绍到linux的各种版本,以及一些网络的小应用会在后续慢慢供给大家参考(其实这种教程在网上是有很多了,我在这归纳一下),本人刚入坑不久,如有对这些感兴趣的技术大牛欢迎交流本人QQ送上1991636188 当然也非常欢迎小白提出问题,话不多说我们进入正题。

一,所需软件

1.一台电脑(这就不用多说了哈哈)

2.VMware-workstation(虚拟机)任何版本的都是可以的哈

需要这个文件的加我q哈,我发给你们,也有秘钥的,这里我就不传百度云了,经常失效

3.mac的镜像

    1.你可以在正规的网站上下载然后转成 iso or cdr当然本人就不这样建议了,首先麻烦其次这个这个没有什么技术含量

需要镜像的同上,有10.9  10.11 10.12的 其他版本的就自己找网站下载哈 

4.Unlocker(虚拟机苹果补丁)

需要的同上

注意:虚拟机的版本要和Unlock要一致哦,比如你用的虚拟机版本是10以下的你的Unlock得版本就是1开头的,这个版本就适合10以下的版本,10以上的版本就要用2开头的比如

 

二.实验环境的选择

本人的环境 1.win10 2.VMware-workstation12 3.   Unlock 208   mac 10.12

本人一开始用的VMware-workstation10  Unlock 132  mac 10.9 (VMware-workstation10最高支持的mac 是10.9)看个人喜好吧

三.开始安装

本人选择的是

VMware-workstation12 3          Unlock 208           mac 10.12

虚拟机的安装这就不用说了吧 不会的的就百度吧 这个很简单的

好 我们开始安装 Unlock 208 

把这个软件解压出来点进去以后

找到这个文件右键-以管理员身份运行,就会写入你的虚拟机里面

注意:在写入这个文件之前要把所有的虚拟机的进程给关了,或者可以重启一下电脑

现在我们就可以打开虚拟机了

自定义或者典型都是可以的,看个人喜欢小白的话建议 典型吧

Unlock 208 成功的话就能开到apple mac os

你如果用的是10.9的版本就要选10.9哦,版本要一致

剩下的就是下一步 一直点了 然后根据自己电脑来配置 

这是给mac的内存和处理器的值 你们可以根据自己电脑来配置内存不能少于2G,磁盘建议60g,处理器的话2个差不多

现在可以开启虚拟机了 在这里有小伙伴开启虚拟机会出现这个问题这个地方找到你安装mac的目录,找到这个文件右键用记事本打开找到并在下面添加建议复制 smc.version = 0 保存 

好久可以开启虚拟机了 

点击磁盘工具 把Vmware 这个磁盘给抹掉,点X就可以安装了 大概需要20分钟 可以看看小电影哈哈,这个地方材料取于https://jingyan.baidu.com/article/bea41d4388a8c4b4c51be6ab.html 

然后剩下的就很简单啦 一直下一步,剩下的就可以欢乐的使用mac

剩余预祝各位使用愉快

最后感兴趣的可以安装一下Tool 使用方便,教程送上

进入桌面有个圆盘或者你改过图标的话 直接点右键将ox10.12 推出

点右键 安装Tools

最后就安装成功啦

最后预祝各位使用愉快 谢谢

unlocker208 是使用 VMware MacOS的必备补丁,亲测可用,详情参阅压缩包内有readme。 VMware MacOS的流程: =============================================== 1. 安VMware Station Pro 12.0 2. 将Unlocker解压,右击win-install.cmd,选择“以管理员身份运行” 3. 为MacOS新建虚拟机,注意一定要下载懒人版安包,格式为ISO或CDR 4. 新建完虚拟机之后,“开启此虚拟机”,VMWare会报错。这是因为虚拟机的隐藏参数设置错误,你要手动修改: 打开虚拟机所在文件夹,找到.vmx文件,右键使用其他程序打开,并选择记事本,在文件最后添加: smc.version = "0" 并保存。 ================================================= Mac OS X Unlocker for VMware V2.0 ================================= 1. Introduction --------------- Unlocker 2 is designed for Workstation 11, Player 7, ESXi 6 and Fusion 7. If you are using an earlier product please continue using Unlocker 1 Version 2 has been tested against: * Workstation 11/12 on Windows and Linux * Player 7 & Workstation Player 12 on Windows and Linux * Fusion 7/8 on Mavericks and Yosemite * ESXi 6.0 The patch code carries out the following modifications dependent on the product being patched: * Fix vmware-vmx and derivatives to allow Mac OS X to boot * Fix vmwarebase .dll or .so to allow Apple to be selected during VM creation * Fix libvmkctl.so on ESXi 6 to allow use with vCenter * Download a copy of the latest VMware Tools for OS X Note that not all products recognise the darwin.iso via install tools menu item. You will have to manually mount the darwin.iso for example on Workstation 11 and Player 7. The vmwarebase code does not need to be patched on OS X or ESXi so you will see a message on those systems telling you that it will not be patched. In all cases make sure VMware is not running, and any background guests have been shutdown. The code is now Python as it makes the Unlocker easier to run and maintain on ESXi. There are some challenges to write the code as ESXi has a subset of Python 2.7 which constrains some modules that can be used. 2. Prerequisites ---------------- The code requires Python 2.7 to work. Most Linux distros, ESXi and OS X ship with a compatible Python interpreter and should work without requiring any additional software. Windows has a packaged version of the Python script using PyInstaller, and so does not require Python to be installed. 3. Limitations -------------- If you are using VMware Player or Workstation on Windows you may get a core dump. Latest Linux and ESXi products are OK and do not show this problem. +-----------------------------------------------------------------------------+ | IMPORTANT: | | ========== | | | | If you create a new VM using version 11 or 12 hardware VMware may stop and | | create a core dump. There are two options to work around this issue: | | | | 1. Change the VM to be HW 10 - this does not affect performance. | | 2. Edit the VMX file and add: | | smc.version = "0" | | | +-----------------------------------------------------------------------------+ 4. Windows ---------- On Windows you will need to either run cmd.exe as Administrator or using Explorer right click on the command file and select "Run as administrator". win-install.cmd - patches VMware win-uninstall.cmd - restores VMware win-update-tools.cmd - retrieves latest OS X guest tools 5. Linux --------- On Linux you will need to be either root or use sudo to run the scripts. You may need to ensure the Linux scripts have execute permissions by running chmod +x against the 2 files. lnx-install.sh - patches VMware lnx-uninstall.sh - restores VMware lnx-update-tools.cmd - retrieves latest OS X guest tools 6. Mac OS X ----------- On Mac OS X you will need to be either root or use sudo to run the scripts. This is really only needed if you want to use client versions of Mac OS X. You may need to ensure the OS X scripts have execute permissions by running chmod +x against the 2 files. osx-install.sh - patches VMware osx-uninstall.sh - restores VMware 7. ESXi ------- You will need to transfer the zip file to the ESXi host either using vSphere client or SCP. Once uploaded you will need to either use the ESXi support console or use SSH to run the commands. Use the unzip command to extract the files. <<>> Please note that you will need to reboot the host for the patches to become active. The patcher is embbedded in a shell script local.sh which is run at boot from /etc/rc.local.d. You may need to ensure the ESXi scripts have execute permissions by running chmod +x against the 2 files. esxi-install.sh - patches VMware esxi-uninstall.sh - restores VMware Note: 1. Any changes you have made to local.sh will be lost. If you have made changes to that file, you will need to merge them into the supplied local.sh file. 2. The unlocker runs at boot time to patch the relevant files and it now survives an upgrade or patch to ESXi as local.sh is part of the persisted local state. 8. Thanks --------- Thanks to Zenith432 for originally building the C++ unlocker and Mac Son of Knife (MSoK) for all the testing and support. Thanks also to Sam B for finding the solution for ESXi 6 and helping me with debugging expertise. Sam also wrote the code for patching ESXi ELF files.
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值