Vagrant&VirtualBox&Git Installation
Environment
MacOS High Sierra 10.13.6-version 64-bit
Install Vagrant
- goto https://www.vagrantup.com/ to download Vagrant of an appropriate version
- go through the installation wizard
- open terminal and type vagrant to verify the correctness of installation
Install VirtualBox & Git
- goto https://www.docker.com/docker-toolbox to download Docker Toolbox of an appropriate version, which contains both VirtualBox and Git
- go through the installation wizard
- open VirtualBox and New a virtual machine to check if the options contain 64-bit images, then click Cancel
Setup the System
open terminal and execute
git clone https://github.com/scalingexcellence/scrapybook.gitcd scrapybookvagrant up --no-parallel
problem & solution
- VirtualBox installation failed
The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
- when starting VirtualBox it occurs that
kernel drivers not installed (rc = -1908)
- explanation on StackExchange
High Sierra comes with a new security feature: Secure Kernel Extension Loading, which blocks kernel extension loading.
- solution
to ban that security feature, open terminal and execute
sudo spctl --master-disable
goto topbar-->System Preferences-->Security & Privacy-->General-->System software from developer "Oracle American, Inc." was blocked from loading.
click Allow
re-install VirtualBox & Git
推薦閱讀:
TAG:Vagrant | VirtualBox | Docker | Mac |