vagrant의 개발 환경 구축 정보
vagrant의 개발 환경 구축
본문
http://sir.co.kr/so_app/528 이전 글에도 있지만, 여러가지 좋은 점이 있을 것 같아서..
이것을 사용해서..
http://mobicon.tistory.com/322
Windows 7에서 설치하는 것으로..
1. 먼저 Virtualbox를 설치합니다.
https://www.virtualbox.org/wiki/Downloads
2. Vagrant를 설치합니다.
https://www.vagrantup.com/downloads.html
virtualbox를 보면 32bit버전만 보이네요.. (제 컴퓨터에서는..)
https://blogs.technet.microsoft.com/schadinio/2010/07/09/installing-hyper-v-manager-on-windows-7/
위의 같이 해 봐도 64비트 버전이 나오질 않네요..
할 수없이 32비트 버전을 설치해야죠..
https://atlas.hashicorp.com/boxes/search 필요한 박스를 보시고..
(저는 32비트 버전 https://atlas.hashicorp.com/ubuntu/boxes/trusty32)
3. command에서..
원하는 디렉토리를 만드시고..
vagrant init ubuntu/trusty32
vagrant up --provider virtualbox
4. 접속은
vagrant ssh 로 접속하시면 리눅스에 shell에 접속이 됩니다.
* vagrant up시 connection timeout이 나오네요.. virtualbox에서 바로 실행시켜서 화면을 통해서 보면 네트워크가 안 잡힐때가 있어서.. 그러니 virtualbox에서 바로 실행시켜서 네트워크가 잡히는지 보고 vagrant ssh로 접속하면 됩니다.
0
댓글 3개

위와 같이 세팅하면 64비트도 나옵니다. ubuntu 15.04 x64로 설치 해 봤는데 잘되네요..
15.10이 나왔다고 업그레이드 하라고 해서 해보니 그것은 에러가 나네요..

vagrant box add ubuntu/[네임][32|64]로 하면 될 것 같네요..
15.10 64비트를 원하시면, vagrant box add ubuntu/wily64 로...

https://github.com/chef/bento 참조..