vagrant-macos-10.12's Introduction
关闭Hyper-V及WSL(只能一个软件使用) bcdedit /set hypervisorlaunchtype off 打开hyper-V bcdedit /set hypervisorlaunchtype auto 重启电脑 Virtualbox is not using hardware-supported virtualization features. Check that software such as Hyper-V, Windows Sandbox, WSL2, memory integrity protection, and other Windows features that lock virtualization are turned off. Exiting. ------------------------------------------------------------------------------- 下载 Vagrant box cd D:\vagrant\image https://app.vagrantup.com/jhcook/boxes/macos-sierra 10.12 2016 Sierra 10.13 2017 High Sierra 10.14 2018 Mojave 10.15 2019 Catalina 11.7 2020 Big Sur https://app.vagrantup.com/amarcireau/boxes/macos 12.5 2021 Monterey 13.3 2022 Ventura Vagrant 添加Box cd D:\vagrant\image curl https://app.vagrantup.com/jhcook/boxes/macos-sierra vagrant box add ./macos-sierra-10.12_vb.box --name macos/10.12 vagrant box add ./macos-mojave-10.14_vb.box --name macos/10.14 vagrant box add ./macos-monterey-12.5_vb.box --name macos/12.5 vagrant box list Vagrant 创建vm并配置 vagrant init macos/10.12 编辑修改生成的 Vagrantfile : Vagrant.configure("2") do |config| config.vm.box = "macOS" config.vm.provider "virtualbox" do |vb| vb.gui = true vb.memory = "4096" end end Vagrant停止、重启 vagrant halt vagrant up vagrant up --parallel 并行启动 #vagrant destroy -f 打包box vagrant package --base my-virtual-machine 工作目录会产生package.box ----------------------------------------------------------------------- 1. Intel VT-x 和 AMD-V 2. VirtualBox 和扩展包 3. macOS Ventura ISO、CDR 或 VMDK 4. 创建一个新的虚拟机 2C/8G/150G 5. 配置虚拟机设置 “系统”选项卡,在“主板”配置界面取消选中软盘 在“处理器”选项卡并将处理器增加到 2 或更多 “显示”选项卡>并将视频内存增加到128 MB 从USB类别中启用 USB3.0 cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage list vms cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage modifyvm "macos13" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff VBoxManage setextradata "macos13" VBoxInternal/Devices/efi/0/Config/DmiSystemProduct "MacBookPro15,1" VBoxManage setextradata "macos13" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-551B86E5744E2388" VBoxManage setextradata "macos13" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "macos13" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 0 VBoxManage setextradata "macos13" "VBoxInternal2/EfiGraphicsResolution" "1920x1080" ---------------------------------------------------------------------- 配置分辨率 sudo /Library/Application\ Support/VMware\ Tools/vmware-resolutionSet 1920 1080
vagrant-macos-10.12's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.