Vagrant in Ubuntu(12.04) Desktop
Jan 23, 2013Set up ruby first
Before install Vagrant needs set up ruby. I use rbenv for setting Ruby environment
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
$ sudo apt-get update $ sudo apt-get install build-essential zlib1g-dev curl git-core sqlite3 libsqlite3-dev $ git clone git://github.com/sstephenson/rbenv.git ~/.rbenv $ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile $ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile $ source .bash_profile $ git clone git://github.com/sstephenson/ruby-build.git $ cd ~/ruby-build/gr $ sudo ./install.sh $ rbenv install 1.9.3-p374 $ rbenv global 1.9.3-p374 $ gem install bundler $ rbenv rehash $ ruby -v ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-linux] |
Install Vagrant
1 2 3 4 5 |
$ apt-get install virtualbox-ose $ apt-get install rubygems $ gem install vagrant $ vagrant box add ubuntu12.10.64 https://s3-sa-east-1.amazonaws.com/willian-boxes/Ubuntu-Server-12.10-amd64-Minimal.box $ vagrant up ubuntu12.10.64 |
Twitter:
Warning: Undefined array key "Twitter" in /home/sazaeau/mizoshiri.com/public_html/blog.mizoshiri.com/wp-content/plugins/sns-count-cache/sns-count-cache.php on line 2897
0 | Facebook: 0 | Google Plus:
Warning: Undefined array key "Google+" in /home/sazaeau/mizoshiri.com/public_html/blog.mizoshiri.com/wp-content/plugins/sns-count-cache/sns-count-cache.php on line 2897
0 | Hatena: 1 | Pocket: 0 | Total: 1 | Feedly: 0