사용자 도구

사이트 도구


vagrant

차이

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

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
vagrant [2019/07/25 12:26]
kwon37xi [기본 사용]
— (현재)
줄 1: 줄 1:
-====== Vagrant ====== 
-  * http://www.vagrantup.com/ 
-  * [[http://www.vagrantbox.es/|A list of base boxes for Vagrant - Vagrantbox.es]] 
-  * 개발 서버 환경 구축하기 
-  * https://github.com/box-cutter 
- 
-===== Install ===== 
-  * [[https://wiki.archlinux.org/index.php/Vagrant|Arch Linux Vagrant]]<code sh> 
-sudo pacman -S vagrant 
-</code> 
- 
-===== libvirt ===== 
-  * [[https://github.com/vagrant-libvirt/vagrant-libvirt|ᅟvagrant-libvirt]] 
-  * [[https://computingforgeeks.com/using-vagrant-with-libvirt-on-linux/|How to Use Vagrant with Libvirt on Linux - Computing for Geeks]] 
-  * [[https://blog.scottlowe.org/2017/12/06/using-vagrant-with-libvirt-on-fedora/|Using Vagrant with Libvirt on Fedora 27 - Scott's Weblog - The weblog of an IT pro focusing on cloud computing, Kubernetes, Linux, containers, and networking]] 
-  * Linux 상에서 ''libvirt'' + ''QEMU''가 실행 성능이 더 좋다고함. 
- 
-===== 기본 사용 ===== 
-  * 박스를 검색해서 찾은뒤 사용법을 따라하면 된다. 
-  * [[https://app.vagrantup.com/ubuntu/boxes/trusty64|Ubuntu trusty 64bit]], [[https://app.vagrantup.com/debian/boxes/buster64|debian buster 64bit]] 띄우기<code> 
-# vagrant 관련 설정을 넣어둘 디렉토리로 이동하여 Vagrantfile 생성 
-# for ubuntu 
-vagrant init ubuntu/trusty64 
-# for debian 
-vagrant init debian/buster64 
- 
-# 띄우기 
-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> 
- 
-===== Hyper-V ===== 
-  * [[windows:hyper_v|Hyper-V]] Provider 
-  * https://www.vagrantup.com/docs/hyperv/ 
-  * Default 설정을 해두면 ''--provider'' 옵션 불필요<code> 
-VAGRANT_DEFAULT_PROVIDER=hyperv 
-</code> 
-<code sh> 
-# 관리자 권한으로 
-vagrant up --provider=hyperv 
- 
- 
-</code> 
- 
-===== vagrant-aws ===== 
-  * [[https://github.com/mitchellh/vagrant-aws|vagrant-aws]] 
-  * vagrant 로 AWS EC2 인스턴스 제어 
- 
-===== 참조 ===== 
-  * [[http://wiki.opencloudengine.org/pages/viewpage.action?pageId=2852295|Vagrant를 이용한 가상 환경 구축 - Realtime Stream - Open Cloud Engine WIKI]] 
-  * [[http://ppiazi.tistory.com/230|Vagrant - VirtualBox 가상머신 관리 도구 소개]] 
-  * [[http://www.slideshare.net/arawnkr/vagrant-chef|Vagrant와 chef로 개발서버 구축하기]] 
-  * [[http://bcho.tistory.com/806|Vagrant를 이용한 개발환경 관리(간단한 VM관리)]] 
  
vagrant.1564025204.txt.gz · 마지막으로 수정됨: 2019/07/25 12:26 저자 kwon37xi