GithubHelp home page GithubHelp logo

datkk06 / ghichep-vagrant-virtualbox-kvm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hocchudong/ghichep-vagrant-virtualbox-kvm

0.0 2.0 0.0 20 KB

Các ghi chú về vagrant

Ruby 95.18% Shell 4.82%

ghichep-vagrant-virtualbox-kvm's Introduction

Các ghi chép về vagrant

Vagrant

  • Mặc định khi sử dụng vagrant với virtual box sẽ có 1 NIC (thường là NIC đầu tiên) sử dụng NAT trong virtualbox Tham khảo hashicorp/vagrant#4845 (comment)

Virtualbox

  • Các kiểu mạng trong virtualbox
NAT: 
 Mặc định có sẵn trong 1 NAT sau khi cài đặt virtualbox.
 Chỉ sử dụng cho máy local truy cập vào máy ảo. 
 Không setup trên đồ họa được.
 http://prntscr.com/ab3o35
 Sử dụng cơ chế NAT và forward port để truy cập vào máy ảo và máy ảo ra ngoài internet.


NAT Network:
 Tương tự như NAT nhưng setup được bằng đồ họa. 
 Có thể thêm nhiều NAT Network
 http://prnt.sc/ab3nn3  http://prntscr.com/ab3ogw
 Sử dụng cơ chế NAT và forward port để truy cập vào máy ảo và máy ảo ra ngoài internet
 
Hostonly: 
 Tương tự VMwareworkstation
 Dùng để các máy ảo truyền thông với nhau.

Bridge
 Chế độ máy ảo sẽ có cùng IP với IP của card máy vật lý.
  • Tham khảo cách cấu hình vagrant và virtualbox sử dụng bridge, không sử dụng NAT
http://superuser.com/questions/752954/need-to-do-bridged-adapter-only-in-vagrant-no-nat

KVM (libvirt KVM)

  • Link tham khảo sử dụng vagrant với libvirt (kvm)
https://github.com/congto/Vagrant-DevStack-Ubuntu-libvirt


ghichep-vagrant-virtualbox-kvm's People

Contributors

congto avatar datkk06 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.