Skip to content

Latest commit

 

History

History
71 lines (64 loc) · 1.75 KB

README.org

File metadata and controls

71 lines (64 loc) · 1.75 KB

What is this?

Vagrant config files.It includes setting to create my account.

How to use?

require virtualbox and vagrant

with git

$ git clone git://github.com/niku/vagrant_config_files.git
$ cd vagrant_config_files
$ git submodule init
$ git submodule update
$ vagrant box add base http://files.vagrantup.com/lucid32.box
$ vagrant up
$ chmod 600 id_rsa
$ ssh [email protected] -p 2222 -i id_rsa
$ rbenv install 1.9.3-p286
$ rbenv global  1.9.3-p286
$ rbenv rehash

without git

  1. Download vagrant_config_files, chef-solo-search and users
  2. extract file like ‘directory structure’
  3. exec command
$ cd vagrant_config_files
$ vagrant box add base http://files.vagrantup.com/lucid32.box
$ vagrant up
$ chmod 600 id_rsa
$ ssh [email protected] -p 2222 -i id_rsa
$ rbenv install 1.9.3-p286
$ rbenv global  1.9.3-p286
$ rbenv rehash

directory structure

vagrant_config_files
|-- cookbooks
|   |-- build-essential
|   |   `-- ...
|   |-- chef-solo-search
|   |   `-- ...
|   |-- java
|   |   `-- ...
|   |-- rbenv
|   |   `-- ...
|   |-- readline
|   |   `-- ...
|   |-- ruby_build
|   |   `-- ...
|   |-- sudo
|   |   `-- ...
|   |-- users
|   |   `-- ...
|   |-- xml
|   |   `-- ...
|   `-- zlib
|       `-- ...
|-- data_bags
|   `-- users
|       `-- niku.json
|-- id_rsa
|-- id_rsa.pub
|-- README.org
`-- Vagrantfile