Coder Social home page Coder Social logo

ievms's Introduction

Overview

Microsoft provides virtual machine disk images to facilitate website testing in multiple versions of IE, regardless of the host operating system. Unfortunately, setting these virtual machines up without Microsoft's VirtualPC can be extremely difficult. The ievms scripts aim to facilitate that process using VirtualBox on Linux or OS X. With a single command, you can have IE6, IE7, IE8 and IE9 running in separate virtual machines.

Click here to lend your support to ievms and make a donation at pledgie.com!

Requirements

  • VirtualBox (http://virtualbox.org)
  • Curl (Ubuntu: sudo apt-get install curl)
  • Linux Only: unrar (Ubuntu: sudo apt-get install unrar)
  • Patience

Installation

  1. Install VirtualBox.
  2. Download and unpack ievms:
  3. Launch Virtual Box.
  4. Choose ievms image from Virtual Box.
  5. Install VirtualBox Guest Additions (pre-mounted as CD image in the VM).
  6. IE6 only - Install network adapter drivers by opening the drivers CD image in the VM.

Note

The IE6 network drivers must be installed upon first boot, or an activation loop will prevent subsequent logins forever. If this happens, restoring to the clean snapshot will reset the activation lock.

The VHD archives are massive and can take hours or tens of minutes to download, depending on the speed of your internet connection. You might want to start the install and then go catch a movie, or maybe dinner, or both.

Once available and started in VirtualBox, the password for ALL VMs is "Password1".

Recovering from a failed installation

Each version is installed into a subdirectory of ~/.ievms/vhd/. If the installation fails for any reason (corrupted download, for instance), delete the version-specific subdirectory and rerun the install.

If nothing else, you can delete ~/.ievms and rerun the install.

Specifying the install path

To specify where the VMs are installed, use the INSTALL_PATH variable:

curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | INSTALL_PATH="/Path/to/.ievms" bash

Passing additional options to curl

The curl command is passed any options present in the CURL_OPTS environment variable. For example, you can set a download speed limit:

curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | CURL_OPTS="--limit-rate 50k" bash

Features

Clean Snapshot

A snapshot is automatically taken upon install, allowing rollback to the pristine virtual environment configuration. Anything can go wrong in Windows and rather than having to worry about maintaining a stable VM, you can simply revert to the clean snapshot to reset your VM to the initial state.

The VMs provided by Microsoft will not pass the Windows Genuine Advantage and cannot be activated. Unfortunately for us, that means our VMs will lock us out after 30 days of unactivated use. By reverting to the clean snapshot the countdown to the activation apocalypse is reset, effectively allowing your VM to work indefinitely.

Resuming Downloads

If one of the comically large files fails to download, the curl command used will automatically attempt to resume where it left off. Thanks, rcmachado (https://github.com/rcmachado).

License

None. (To quote Morrissey, "take it, it's yours")

ievms's People

Contributors

jaytaph avatar jubianchi avatar krisalyssa avatar marcandreappel avatar rcmachado avatar terryp avatar xdissent avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.