본문 바로가기

개발 관련

vagrant 활용 - Windows / IE


vagrant




vagrant라는걸 처음 알았다.


[2]에 따르면, '개발 환경을 OS에 의존적이지 않게 만드는 것이 목적'이다.

자세한건 검색하길 바란다. 나도 모른다.

여기에 쓸 내용은 vagrant로 각 버전별 Windows/IE 환경을 쉽게 구축? (다운로드) 하는 방법이다.

vagrant는 여러가지 가상머신을 지원하며, 보통 virtual box를 많이 사용한다.


1. virtual box 다운로드

    https://www.virtualbox.org/


2. vagrant 다운로드

    https://www.vagrantup.com/downloads.html 에서 다운로드


3. 버전별 vagrant box가 들어 있는 Vagrantfile 다운로드 (git 혹은 zip 파일)

   - git > git clone https://github.com/markhuber/modern-ie-vagrant.git

   - zip > https://github.com/markhuber/modern-ie-vagrant/archive/master.zip

 

4. 다운로드한 폴더에서 아래처럼 실행 (cmd창 열고)


 - list 확인

   > vagrant status

 - virtual machine 실행 (IE10-Win7이 설치되어 있는 가상머신을 다운로드 하여 실행)

   > vagrant up IE10-Win7


   IE10-Win7 외에도 WinXp부터 Win10까지 있으니 버전별로 다운로드 가능


   이렇게만 하면 Win7에서 IE10이 설치되어 있는 가상머신을 볼 수 있다!!

  - 자세한 명령어는 아래에서 확인

     http://tech.dealer.com/want-a-new-way-to-test-ie-browsers-try-modern-ie-vagrant/



***

내가 작업한건 이까지.

가상환경 배포 및 관리는 더 검색해서 사용할 것





<참조>

1. vagrant, https://www.vagrantup.com/

2. http://osxtip.tistory.com/675

3. http://tech.dealer.com/want-a-new-way-to-test-ie-browsers-try-modern-ie-vagrant/