일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- Software Engineering
- Italy
- France
- Kuala Lumpur
- MySQL
- Programming
- Spain
- Book review
- psychology
- Book
- history
- erlang
- management
- web
- QT
- hadoop
- essay
- program
- hbase
- Python
- comic agile
- programming_book
- Malaysia
- django
- RFID
- Java
- Linux
- agile
- ubuntu
- leadership
- Today
- Total
VirtualBox, vagrant on redhat6 server 본문
# wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo # yum update # yum install VirtualBox-4.2.6 # usermod -a -G vboxusers [user id]
# yum install ruby rubygems ruby-devel # dependencies for vagrant # gem install vagrant # chmod 644 /usr/lib64/ruby/gems/1.8/gems/vagrant-1.0.6/keys/vagrant # permission denied
$ VBoxManage --type headless&
* dependencies for vagrant
http://stackoverflow.com/questions/5135421/bundle-error-in-ruby-on-rails
ruby-devel이 없으면 'mkmf.rb can't find header files for ruby at /usr/lib/ruby/ruby.h' 메시지 출력
http://blog.robinwinslow.co.uk/post/27370485407/installing-vagrant-on-centos-the-more-reliable-way
* permission denied
문제 발생시 /usr/lib/ruby/1.8/fileutils.rb:1268:in `initialize': Permission denied -... 메시지≈
- NAT, host-only, bridged network
http://answers.yahoo.com/question/index?qid=20110117043642AA5N7Rn
in host only mode, the virtual machine will be directly networked to
your host pc. this is communicated via one of the additional adapters
that is created. this also typically means that the virtual machine
cannot connect (via network) to anything else except the host pc.
NAT means that any IP connection
to the outside world will look like it came from the host PC (same MAC
and IP as the host). this is useful for environments where you are mac
locked or authenticated. This also uses a network adapter that vmware
creates.
bridged means that the virtual machine will have it's own MAC address
and separate IP on the network and can be seen as a unique machine. This
does NOT use any of the additional network adapters, just the adapter
that you bridge to (a physical connection).