사용자 도구

사이트 도구


vagrant

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
다음 판 양쪽 다음 판
vagrant [2018/01/12 12:55]
kwon37xi [Vagrant]
vagrant [2018/02/28 10:14]
kwon37xi [Box를 미리 받아두기]
줄 4: 줄 4:
   * 개발 서버 환경 구축하기   * 개발 서버 환경 구축하기
   * https://github.com/box-cutter   * https://github.com/box-cutter
 +
 +===== 기본 사용 =====
 +  * 박스를 검색해서 찾은뒤 사용법을 따라하면 된다.
 +  * [[https://app.vagrantup.com/ubuntu/boxes/trusty64|Ubuntu trusty 64bit]] 띄우기<code>
 +# vagrant 관련 설정을 넣어둘 디렉토리로 이동
 +vagrant init ubuntu/trusty64 # 자동으로 기본 Vagrantfile 생성
 +vagrant up
 +</code>
 +  * SSH 접속<code sh>
 +vagrant ssh
 +</code>
 +
 +===== Box를 미리 받아두기 =====
 +  * [[https://gist.github.com/idecardo/deec25b8fa54976edb496d7ce7d320a7|Laravel Homestead Manual Installation]]
 +
 +<code sh>
 +# 원하는 box를 다운로드
 +wget https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.5.0/providers/virtualbox.box
 +
 +# vagrant에 등록
 +vagrant box add laravel/homestead file:///c:/users/idecardo/downloads/virtualbox.box
 +</code>
  
 ===== 참조 ===== ===== 참조 =====