Internet Explorer under Linux or Mac OS X
- Download and install VirtualBox
- Download Internet Explorer
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | bash- or
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | IEVMS_VERSIONS="9" bash(IE9 only) - or
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | IEVMS_VERSIONS="8" bash(IE8 only) - or
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | IEVMS_VERSIONS="7" bash(IE7 only)
- Adjust RAM settings as it’s only 256MB by default (I’ve used 1GB for each on box with 8GB RAM and 768MB for each on box with 4GB RAM).
- Run virtual machine and log in to Windows as Administrator (password: Password1).
- Execute
slmgr –rearmfrom terminal (to run terminal just typecmdinto start menu input). - Add your hosts to
C:\Windows\System32\drivers\etc\hostsfile, eg.10.0.2.2 my-super-site.local(10.0.2.2 is your host’s localhost). - Install VirtualBox guest additions.
- Shutdown and make a snapshot, so you can use it as a starting point if the trial period expires (it’s not illegal, even Microsoft themselves tell us to do it this way, which is understandable as it’s all about adjusting our websites to work on their faulty browsers).
Mac OS X: forwarding port 80
Here’s a couple of scripts that make your local port to be redirected (it’s 80 to 8888 here). It’s useful for example if you want to run nginx under a user (and not a root), but still want to access websites like http://my.local/ instead of http://my.local:8888/.
sudo mkdir /Library/StartupItems/RedirectPort80/chmod 0666 /Library/StartupItems/RedirectPort80/RedirectPort80
This was posted 1 year ago.
mac os x