Skip to content

Instantly share code, notes, and snippets.

@skwaugh
Created August 28, 2015 17:10
Show Gist options
  • Save skwaugh/774fba0a1721ee4daa56 to your computer and use it in GitHub Desktop.
Save skwaugh/774fba0a1721ee4daa56 to your computer and use it in GitHub Desktop.
Running Windows w/ Internet Explorer on a Mac
http://justinmarsan.com/accessing-localhost-in-mac-osx-from-windows-vm-in-virtualbox/
some variation from the link below
Install VirtualBox
brew tap caskroom/cask
brew install Caskroom/cask/virtualbox
Download & install Windows
curl -s https://raw.githubusercontent.com/xdissent/ievms/master/ievms.sh | env IEVMS_VERSIONS="11” bash
get IP address
ifconfig en0 —> inet XXX.XXX.X.XX netmask 0xffffff00 broadcast YYY.YYY.Y.YYY
Open VirtualBox and start Windows 7
Open Notepadd app in Windows
Browse to C:\WINDOWS\system32\drivers\etc
Right click the hosts file and change permissions
Click Properties->Security
Click “Edit"
Select “Users” under "Group or user names”
Click the checkbox under “Allow” for “Full Control”
Click “Apply” and “OK"
Drag the hosts file into Notepad
Add the following line to the hosts file in NotePad
XXX.XXX.X.XX localhost
This should be the only uncommented/active line in the file. XXX.XXX.X.XX should match step 3.a
Save and point your browser localhost.
try restarting the Virtual Machine if it cannot be located
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment