The Cheeky Monkey Media Blog
A few words from the apes, monkeys, and various primates that make up the Cheeky Monkey Super Squad.
As a Drupal developer, I use mac osx to develop all my Drupal projects. I like the slick Unified UI, powerful Unix core, and all the awesome building tools on a mac. Although my Mac has everything that I ever needed to develop drupal sites, there is one thing missing that I absolutely need, the ability to install the Internet Explorer browser.
Why you ask? What on the earth makes me want to install IE on a mac?
Well, I like to think I am a decent drupal developer. I want the ability to test my work on my local machine, especially when I do front-end work. Plus, I don’t like to keep asking my co-workers to test my code on their windows machines every time I make changes.
Today, all those headaches will be history. I am here to give you a step-by-step guide to getting any version of IE running on your mac.
Please note that I am using VMware for this tutorial, but you can use whatever virtual machine software you prefer (virtual box, parallels). I also assume that your local web server is using port 80.
Download Internet Explorer
1) Go to modern.ie and download the pre-made image file from Microsoft.
1.1) The first step you have to choose is the IE and OS versions. eg IE8 on windows 7
1.2) Next, choose a platform for your virtual machine software. In my case, I choose VMware Fusion for mac.
1.3) Download and unzip the image file. (3.6GB zip file, over 10GB after un-zipped it) make sure you have enough storage space. I recommend you store those zip files somewhere since this pre-made windows image will expire after 3 months. Snapshot of course will also work.
Setup a new network adapter
Once you have a working virtual machine, make sure it’s not running, otherwise, you won’t be able to configure its hardware settings.
2.1) Go to your virtual machine settings page.
2.2) Add a Device, then choose a network adapter.
2.3) After that, make sure to choose the autodetect mode (This is under the Bridged Networking section). This is very important and Do NOT use the default share with my Mac(NAT) mode.
Edit the host file
3) After that we want to edit the host file on this virtual machine, which will route all requests from this virtual machine to our mac’s local web server.
Here are the default windows login info just in case you missed it.
3.1) after you log in to the virtual machine, Vmware will install some tools for you and ask you to restart. Vmware can wait. If you download windows 7 and above, make sure to run your notepad in administrator mode.
First, click the start button, then search for notepad in the search programs and files input section. Once notepad shows up, right-click it and then select “Run as administrator” otherwise, you won’t be able to make any changes to the host file.
3.2) Now, let’s find out the local IP address of our mac. Without this information, your windows machine will not be able to communicate with the web server running on your mac.
Next, switch back to mac and go to System Preferences, click network, then select whatever network interface that is connected. In my case, I choose Wi-Fi, and your local IP address should appear under the status section on the right side of this network window, such as 192.168.0.10. Please write this down.
3.3) Ok, it’s time to make some changes to the windows host file now.
Open the host file under this path in your notepad.
Enter a new line at the end of this file then save it.
It should look like this, your local IP address followed by your web project name. e.g.
That’s all. Restart your virtual machine, then open IE and enter the web project name, you should be able to load it in no time. Happy debugging.