LoginSignup
1
0

More than 5 years have passed since last update.

VirtualBoxでIE8のテスト環境構築

Posted at

1.下記Microsoft公式サイトからVMをダウンロードして解凍する

https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
Virtual Machine : IE8 on Win7 (x86)
Select Platform : VirtualBox

*注意:ページ内も書いてありますが、ライセンスが切れでも利用できるよう、
スナップショットを取って置いてください。
These virtual machines expire after 90 days. We recommend setting a snapshot when you first install the virtual machine which you can roll back to later.

2.最新版VirtualBoxをダウンロードする
http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html?ssSourceSiteId=otnjp

3.解凍したVMイメージファイルをVirtualBoxにimportする
参照手順:https://docs.oracle.com/cd/E26217_01/E35194/html/qs-import-vm.html
ファイル形式に関するエラーが出る場合、こちらに参照:
http://cosol.jp/techdb/2012/11/import_ovf_format_vm_template.html

4.ネットワーク設定:Host-only Adapterを選択する
参照資料:https://blogs.oracle.com/scoter/networking-in-virtualbox-v2

5.index.htmlファイルをVMにコピーする
VirtualBox共有フォルダーの機能で実現する。(*WinSCPでもOK)
参照手順:http://inforati.jp/apple/mac-tips-techniques/windows-hints/how-to-set-up-shared-folder-of-virtualbox-in-mac.html

6.VM上に画面確認ができるための設定
-ローカルPC
アプリ内ホスト名を指定する場所に、host="*"へ変更する

-IE8-Win7 VM
index.htmlファイルをエディターで開き、
"localhost"を書いてある場所→"ローカルPCのIPアドレス"へ変更する。

7.ローカルPCからサーバーを起動して、VM上に画面の動作確認をしてみる

以上

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0